Function at 0x4511c1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
push 0x2c
call fcn.0047a35e
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
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
cmp dword [ebp + 0xc], 0
je 0x451229
cmp dword [ebp + 8], 0
je 0x451229
xor eax, eax
jmp 0x45122e
mov eax, 1
test eax, eax
je 0x451240
mov eax, 0
jmp 0x4517e7
push dword [ebp + 0xc]
call fcn.004517fb
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
je 0x451261
mov eax, 0
jmp 0x4517e7
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x52fc9a]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040164c
push eax
call fcn.004517fb
cwde
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4512dd
fild dword [ebp + 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x3c], esp
push 2
fld qword [ebp - 0x38]
call fcn.0040164c
push eax
mov eax, 0x100
call fcn.0047a370
cmp dword [ebp - 0x3c], esp
je 0x4512d1
push 6
call fcn.0047a364
add esp, 4
test eax, eax
jne 0x4512dd
xor eax, eax
jmp 0x4512e2
mov eax, 1
test eax, eax
je 0x4512f4
mov eax, 0
jmp 0x4517e7
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 4]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040164c
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.004517fb
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x4550
je 0x451335
mov eax, 0
jmp 0x4517e7
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x52fca2]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040164c
push eax
call fcn.00451817
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4513b0
fild dword [ebp + 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x3c], esp
push 0x28
fld qword [ebp - 0x38]
call fcn.0040164c
push eax
mov eax, 0x100
call fcn.0047a370
cmp dword [ebp - 0x3c], esp
je 0x4513a4
push 6
call fcn.0047a364
add esp, 4
test eax, eax
jne 0x4513b0
xor eax, eax
jmp 0x4513b5
mov eax, 1
test eax, eax
je 0x4513c7
mov eax, 0
jmp 0x4517e7
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 4]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
mov dword [ebp - 0x38], esp
push 0x28
fld qword [ebp - 0x34]
call fcn.0040164c
push eax
mov eax, dword [ebp - 8]
push eax
push 0x28
call fcn.0047a35e
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, 0x101
call fcn.0047a370
cmp dword [ebp - 0x38], esp
je 0x451494
push 6
call fcn.0047a364
add esp, 4
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0047a358
add esp, 4
mov ebx, dword [ebp - 8]
add ebx, 0x1c
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp dword [ebx], 0
je 0x451556
mov ebx, dword [ebp - 8]
add ebx, 0x20
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
je 0x451556
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 0
je 0x451556
xor eax, eax
jmp 0x45155b
mov eax, 1
test eax, eax
je 0x45156d
mov eax, 0
jmp 0x4517e7
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp - 8]
add ebx, 0x14
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
fild dword [ebx]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x52f04f]
fstp qword [ebp - 0x30]
mov ebx, dword [ebp - 8]
add ebx, 0x1c
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x52f04f]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040164c
push eax
fld qword [ebp - 0x30]
call fcn.0040164c
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x45170e
mov ebx, dword [ebp - 8]
add ebx, 0x28
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp dword [ebx], 0
je 0x451622
mov ebx, dword [ebp - 8]
add ebx, 0x28
mov dword [ebp - 0x20], ebx
fild dword [ebp + 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
fild dword [ebx]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.0040164c
push eax
call fcn.004517fb
cwde
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 8]
add ebx, 0x20
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x52f03f]
fstp qword [ebp - 0x30]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
mov ebx, dword [ebp - 0x20]
fild dword [ebx]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.0040164c
push eax
call fcn.00451817
mov dword [ebp - 0x4c], eax
fild dword [ebp + 0xc]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
call fcn.0040164c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp + 8], eax
jl 0x4516e7
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], eax
jle 0x4516e7
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x20], ebx
fild dword [ebp + 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
fild dword [ebx]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.0040164c
push eax
call fcn.00451817
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4516e7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
add dword [ebx], 4
mov ebx, dword [ebp - 8]
add ebx, 0x28
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
add dword [ebx], 2
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x4515ce
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x45172c
cmp dword [ebp - 0x10], 0
je 0x45172c
mov eax, 1
jmp 0x45172e
xor eax, eax
test eax, eax
je 0x4517dd
fild dword [ebp + 8]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x52fcaa]
fcomp qword [0x52f4a6]
fnstsw ax
test ah, 1
je 0x4517dd
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040164c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x47d390
call fcn.0047a36a
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4517b5
push ebx
call fcn.0047a358
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040164c
jmp 0x4517e7
mov eax, 0
jmp 0x4517e7
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.0047a358
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc