Function at 0x436f65
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
push 0x2c
call fcn.0047957d
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 0x436fcd
cmp dword [ebp + 8], 0
je 0x436fcd
xor eax, eax
jmp 0x436fd2
mov eax, 1
test eax, eax
je 0x436fe4
mov eax, 0
jmp 0x43758b
push dword [ebp + 0xc]
call fcn.0043759f
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
je 0x437005
mov eax, 0
jmp 0x43758b
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x513c5f]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00402762
push eax
call fcn.0043759f
cwde
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437081
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.00402762
push eax
mov eax, 0xd6
call fcn.0047958f
cmp dword [ebp - 0x3c], esp
je 0x437075
push 6
call fcn.00479583
add esp, 4
test eax, eax
jne 0x437081
xor eax, eax
jmp 0x437086
mov eax, 1
test eax, eax
je 0x437098
mov eax, 0
jmp 0x43758b
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.00402762
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.0043759f
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x4550
je 0x4370d9
mov eax, 0
jmp 0x43758b
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x513c67]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00402762
push eax
call fcn.004375bb
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437154
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.00402762
push eax
mov eax, 0xd6
call fcn.0047958f
cmp dword [ebp - 0x3c], esp
je 0x437148
push 6
call fcn.00479583
add esp, 4
test eax, eax
jne 0x437154
xor eax, eax
jmp 0x437159
mov eax, 1
test eax, eax
je 0x43716b
mov eax, 0
jmp 0x43758b
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.00402762
push eax
mov eax, dword [ebp - 8]
push eax
push 0x28
call fcn.0047957d
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, 0xd7
call fcn.0047958f
cmp dword [ebp - 0x38], esp
je 0x437238
push 6
call fcn.00479583
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.00479577
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 0x4372fa
mov ebx, dword [ebp - 8]
add ebx, 0x20
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
je 0x4372fa
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 0
je 0x4372fa
xor eax, eax
jmp 0x4372ff
mov eax, 1
test eax, eax
je 0x437311
mov eax, 0
jmp 0x43758b
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 [0x513b10]
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 [0x513b10]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00402762
push eax
fld qword [ebp - 0x30]
call fcn.00402762
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 0x4374b2
mov ebx, dword [ebp - 8]
add ebx, 0x28
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp dword [ebx], 0
je 0x4373c6
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.00402762
push eax
call fcn.0043759f
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 [0x513c6f]
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.00402762
push eax
call fcn.004375bb
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.00402762
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp + 8], eax
jl 0x43748b
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], eax
jle 0x43748b
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.00402762
push eax
call fcn.004375bb
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43748b
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 0x437372
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x4374d0
cmp dword [ebp - 0x10], 0
je 0x4374d0
mov eax, 1
jmp 0x4374d2
xor eax, eax
test eax, eax
je 0x437581
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 [0x513c77]
fcomp qword [0x513c7f]
fnstsw ax
test ah, 1
je 0x437581
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.00402762
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x47c4d0
call fcn.00479589
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 0x437559
push ebx
call fcn.00479577
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.00402762
jmp 0x43758b
mov eax, 0
jmp 0x43758b
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00479577
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc