Function at 0x41a880
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41a899
xor eax, eax
jmp 0x41aae6
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x4d
jne 0x41a8c1
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x5a
je 0x41a8c8
xor eax, eax
jmp 0x41aae6
mov edx, 1
imul eax, edx, 0x3c
add eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx]
add edx, dword [ebp - 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x4550
jne 0x41a908
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x74], 1
jb 0x41a908
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + eax + 0x78], 0
jne 0x41a90f
xor eax, eax
jmp 0x41aae6
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0
jne 0x41aa3d
mov dword [ebp - 8], 0
jmp 0x41a943
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x18]
jae 0x41a9f6
mov dword [ebp - 0x28], 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x20]
mov eax, dword [ebp - 8]
lea ecx, [edx + eax*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
jne 0x41a975
jmp 0x41a93a
mov byte [ebp - 0x38], 0x5f
mov byte [ebp - 0x37], 0x73
mov byte [ebp - 0x36], 0x74
mov byte [ebp - 0x35], 0x72
mov byte [ebp - 0x34], 0x69
mov byte [ebp - 0x33], 0x63
mov byte [ebp - 0x32], 0x6d
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
add ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0
jmp 0x41a9b6
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 9
jae 0x41a9e9
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
test ecx, ecx
je 0x41a9e9
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x10]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ebp + ecx - 0x38]
cmp eax, edx
je 0x41a9e7
mov dword [ebp - 0x28], 0
jmp 0x41a9e9
jmp 0x41a9ad
cmp dword [ebp - 0x28], 0
je 0x41a9f1
jmp 0x41a9f6
jmp 0x41a93a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x18]
jb 0x41aa08
xor eax, eax
jmp 0x41aae6
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x24]
mov ecx, dword [ebp - 8]
lea edx, [eax + ecx*2]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, dword [edx]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2c], 0
jne 0x41aa4d
xor eax, eax
jmp 0x41aae6
mov dword [ebp - 8], 0
jmp 0x41aa5f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x18]
jae 0x41aaa6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x20]
mov edx, dword [ebp - 8]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0
jne 0x41aa86
jmp 0x41aa56
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
call eax
add esp, 8
test eax, eax
jne 0x41aaa4
jmp 0x41aaa6
jmp 0x41aa56
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x18]
jb 0x41aab5
xor eax, eax
jmp 0x41aae6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x24]
mov edx, dword [ebp - 8]
lea eax, [ecx + edx*2]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax]
lea edx, [edx + ecx*4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
add ecx, dword [eax]
mov eax, ecx
mov esp, ebp
pop ebp
ret