Function at 0x41b040
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 0x41b059
xor eax, eax
jmp 0x41b2a6
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x4d
jne 0x41b081
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x5a
je 0x41b088
xor eax, eax
jmp 0x41b2a6
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 0x41b0c8
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x74], 1
jb 0x41b0c8
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + eax + 0x78], 0
jne 0x41b0cf
xor eax, eax
jmp 0x41b2a6
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 0x41b1fd
mov dword [ebp - 8], 0
jmp 0x41b103
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 0x41b1b6
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 0x41b135
jmp 0x41b0fa
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 0x41b176
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 9
jae 0x41b1a9
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
test ecx, ecx
je 0x41b1a9
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 0x41b1a7
mov dword [ebp - 0x28], 0
jmp 0x41b1a9
jmp 0x41b16d
cmp dword [ebp - 0x28], 0
je 0x41b1b1
jmp 0x41b1b6
jmp 0x41b0fa
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x18]
jb 0x41b1c8
xor eax, eax
jmp 0x41b2a6
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 0x41b20d
xor eax, eax
jmp 0x41b2a6
mov dword [ebp - 8], 0
jmp 0x41b21f
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 0x41b266
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 0x41b246
jmp 0x41b216
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 0x41b264
jmp 0x41b266
jmp 0x41b216
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x18]
jb 0x41b275
xor eax, eax
jmp 0x41b2a6
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