Function at 0x411064
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.0040cedd
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x4110ed
push 1
push 0x3c
push dword [ebp + 8]
call fcn.00404dbf
mov dword [ebp - 0x2c], eax
push 1
push dword [ebp - 0x2c]
push dword [ebp + 8]
call fcn.00404dbf
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x4550
jne 0x4110ed
xor eax, eax
jmp 0x4110f2
mov eax, 1
test eax, eax
je 0x411104
mov eax, 0
jmp 0x411501
push 1
push 0x3c
push dword [ebp + 8]
call fcn.00404dbf
mov dword [ebp - 0x1c], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401cad
mov dword [ebp - 4], eax
push 1
push 0x7c
push dword [ebp - 4]
call fcn.00404dbf
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4114f9
push 1
push 0x78
push dword [ebp - 4]
call fcn.00404dbf
mov dword [ebp - 0x1c], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401cad
mov dword [ebp - 8], eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x411199
mov eax, 0x42d3b4
push eax
push 1
mov ebx, 0x9dc
call fcn.00415c00
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00415dc0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x20]
call fcn.00401d80
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4111f8
push ebx
call fcn.00415231
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x411322
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x411217
mov eax, 0x42d3b4
push eax
push 1
mov ebx, 0x9dc
call fcn.00415c00
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 1
push 0x10
push dword [ebp - 8]
call fcn.00404dbf
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.00401cad
mov dword [ebp - 0xc], eax
push 1
push 0x14
push dword [ebp - 8]
call fcn.00404dbf
cmp dword [ebp - 0xc], eax
jg 0x411288
cmp dword [ebp - 0xc], 0
jl 0x411288
mov eax, 1
jmp 0x41128d
mov eax, 0
test eax, eax
je 0x41131d
push 1
push 0x1c
push dword [ebp - 8]
call fcn.00404dbf
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x42d501]
fstp qword [ebp - 0x2c]
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00401cad
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
call fcn.00404dbf
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41131d
fild dword [ebp + 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00401cad
mov dword [ebp - 0x10], eax
jmp 0x4114f9
push 1
push 0x20
push dword [ebp - 8]
call fcn.00404dbf
mov dword [ebp - 0x1c], eax
push 1
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.00404dbf
mov dword [ebp - 0x20], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.00401cad
mov dword [ebp - 0x14], eax
push 1
push 0x24
push dword [ebp - 8]
call fcn.00404dbf
mov dword [ebp - 0x1c], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401cad
mov dword [ebp - 0x18], eax
push 1
push 0x18
push dword [ebp - 8]
call fcn.00404dbf
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x4114f6
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.0040cedd
cwde
mov dword [ebp - 0xc], eax
push 1
push 0x14
push dword [ebp - 8]
call fcn.00404dbf
cmp dword [ebp - 0xc], eax
jg 0x4113f3
cmp dword [ebp - 0xc], 0
jl 0x4113f3
mov eax, 1
jmp 0x4113f8
mov eax, 0
test eax, eax
je 0x4114b5
push dword [ebp + 0xc]
call fcn.004052e2
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
nop
nop
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4114b5
push 1
push 0x1c
push dword [ebp - 8]
call fcn.00404dbf
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x42d501]
fstp qword [ebp - 0x2c]
fild dword [ebp + 8]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00401cad
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
call fcn.00404dbf
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4114b5
fild dword [ebp + 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00401cad
mov dword [ebp - 0x10], eax
jmp 0x4114f6
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
nop
nop
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fadd qword [0x42d3d3]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401cad
mov dword [ebp - 0x14], eax
add dword [ebp - 0x18], 2
pop eax
pop ecx
jmp 0x4113a7
add esp, 8
mov eax, dword [ebp - 0x10]
jmp 0x411501
mov esp, ebp
pop ebp
ret 8