Function at 0x41cc90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x427ca8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41ccb7
mov eax, 0x200
jmp 0x41cecd
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x41ccd5
mov ecx, dword [ebp - 8]
or ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
and edx, 2
je 0x41cce6
mov eax, dword [ebp - 8]
or eax, 2
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
and ecx, 4
je 0x41ccf7
mov edx, dword [ebp - 8]
or edx, 4
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
and eax, 0x10
je 0x41cd08
mov ecx, dword [ebp - 8]
or ecx, 0x10
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
and edx, 0x20
je 0x41cd19
mov eax, dword [ebp - 8]
or eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x10
je 0x41cd2f
mov edx, dword [ebp - 8]
or edx, 0x40000000
mov dword [ebp - 8], edx
jmp 0x41cd3a
mov eax, dword [ebp - 8]
or eax, 0x80000000
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
or ecx, 0x1000000
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x41cd50
jmp 0x41cd5b
mov eax, dword [ebp - 8]
or eax, 0x800000
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [0x427da4]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x28
jbe 0x41ce2f
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [0x427bcc]
push 0
lea eax, [ebp - 0x10]
push eax
push 2
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x427ce0]
push 0
push 0
push 0x24
mov eax, dword [ebp + 8]
push eax
call dword [0x427bcc]
push 0
lea ecx, [ebp - 0x10]
push ecx
push 4
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x427ce0]
movzx ecx, word [ebp - 0x4c]
cmp ecx, 0x54ad
jne 0x41ce2f
mov edx, dword [ebp - 0x50]
add edx, 0x34
cmp dword [ebp - 0x48], edx
jbe 0x41ce2f
push 0
push 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x427bcc]
push 0
lea edx, [ebp - 0x10]
push edx
push 4
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x427ce0]
cmp dword [ebp - 0x54], 0x5a4d
je 0x41ce23
cmp dword [ebp - 0x54], 0x454e
je 0x41ce23
cmp dword [ebp - 0x54], 0x454c
je 0x41ce23
cmp dword [ebp - 0x54], 0x4550
jne 0x41ce2f
mov edx, dword [ebp - 8]
or edx, 0x400000
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], 0
je 0x41ce3d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x41ce4b
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
cmp dword [ebp + 0x14], 0
je 0x41ce9b
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.0041cba0
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0041cba0
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.0041cba0
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
cmp dword [ebp + 0x18], 0
je 0x41cecb
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041cbe0
add esp, 0x10
movzx eax, word [ebp - 0x58]
movzx ecx, word [ebp - 0x5c]
shl ecx, 0x10
or eax, ecx
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret