Function at 0x452e9c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff7c
mov ebx, eax
cmp dword [ebx + 0x1d8], 0
je 0x4533be
mov eax, ebx
call fcn.00453f3c
test eax, eax
jne 0x452eca
mov dword [esp + 0x24], 0xffffff
jmp 0x452ee1
mov eax, ebx
call fcn.00453f3c
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
xor edx, edx
mov eax, ebx
call fcn.00453f44
mov eax, dword [ebx + 0x1d8]
call fcn.00406798
push 0
push 0
push 0
push 0
lea eax, [esp + 0x70]
push eax
call fcn.00406554
lea esi, [esp + 0x60]
lea edi, [ebx + 0x1c8]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, esp
mov eax, dword [ebx + 0x1b4]
add eax, eax
imul dword [ebx + 0x1b0]
sar eax, 1
jns 0x452f26
adc eax, 0
add eax, 2
mov edx, 6
call fcn.00406598
lea ecx, [esp + 0x70]
xor edx, edx
xor eax, eax
call fcn.00406598
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x1b8], eax
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x1bc], eax
mov byte [esp + 0x1a], 1
mov eax, dword [ebx + 0x1b0]
mov dword [esp + 0x20], eax
mov edx, eax
add edx, edx
dec edx
mov dword [esp + 0x1c], edx
dec eax
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
fdivr dword [0x4533cc]
fstp xword [esp + 0x10]
wait
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x453208
mov dword [esp + 0x28], eax
mov ebp, 1
mov eax, dword [esp + 0x20]
dec eax
test eax, eax
jl 0x4531bd
inc eax
mov dword [esp + 0x2c], eax
xor edi, edi
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x1b4]
add eax, eax
imul edi
add eax, dword [esp]
mov edx, dword [esp + 4]
call fcn.00406598
lea ecx, [esp + 0x30]
lea edx, [esp + 8]
mov eax, ebx
call fcn.00452c78
mov edx, dword [0x45298c]
mov eax, 0x44
call fcn.0040428c
mov esi, eax
mov byte [esi], 0
mov eax, dword [esp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x10], eax
cmp ebp, dword [ebx + 0x1b0]
jg 0x4530ce
mov eax, dword [esp + 0x20]
sub eax, dword [ebx + 0x1b0]
cmp edi, eax
jg 0x453077
mov dword [esp + 0x78], edi
fild dword [esp + 0x78]
fld xword [esp + 0x10]
fmulp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0x4006
push 0xff000000
push 0
mov eax, ebp
dec eax
mov dword [esp + 0x94], eax
fild dword [esp + 0x94]
fld xword [esp + 0x28]
fmulp st(1)
fsubr dword [0x4533cc]
mov dword [esp + 0x98], edi
fild dword [esp + 0x98]
fld xword [esp + 0x28]
fmulp st(1)
faddp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00452e74
mov dword [esi + 4], eax
jmp 0x453193
mov eax, ebp
dec eax
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
fld xword [esp + 0x10]
fmulp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, edi
sub eax, ebp
inc eax
mov dword [esp + 0x88], eax
fild dword [esp + 0x88]
fld xword [esp + 0x1c]
fmulp st(1)
fsubr dword [0x4533cc]
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0x4006
push 0xff000000
push 0
call fcn.00452e74
mov dword [esi + 4], eax
jmp 0x453193
mov eax, dword [esp + 0x20]
sub eax, dword [ebx + 0x1b0]
cmp edi, eax
jg 0x453133
lea eax, [ebp + edi]
sub eax, dword [ebx + 0x1b0]
dec eax
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
fld xword [esp + 0x10]
fmulp st(1)
fld xword [esp + 0x10]
faddp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0x4006
push 0xff000000
push 0
mov dword [esp + 0x94], edi
fild dword [esp + 0x94]
fld xword [esp + 0x28]
fmulp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00452e74
mov dword [esi + 4], eax
jmp 0x453193
push 0x4006
push 0xff000000
push 0
mov eax, dword [esp + 0x28]
sub eax, ebp
mov edx, edi
sub edx, eax
mov dword [esp + 0x84], edx
fild dword [esp + 0x84]
fld xword [esp + 0x1c]
fmulp st(1)
fsubr dword [0x4533cc]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [esp + 0x34]
sub eax, ebp
mov dword [esp + 0x94], eax
fild dword [esp + 0x94]
fld xword [esp + 0x28]
fmulp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00452e74
mov dword [esi + 4], eax
push esi
push edi
lea edi, [esi + 0x14]
lea esi, [esp + 0x38]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebx + 0x1d8]
mov edx, esi
call fcn.004067b0
inc edi
dec dword [esp + 0x2c]
jne 0x452fa9
mov eax, dword [ebx + 0x1b4]
mov edx, eax
sar edx, 1
jns 0x4531cc
adc edx, 0
add edx, dword [ebx + 0x1ac]
inc edx
add dword [esp + 4], edx
cmp byte [esp + 0x1a], 0
je 0x4531e7
inc dword [esp + 0x20]
sub dword [esp], eax
jmp 0x4531ee
dec dword [esp + 0x20]
add dword [esp], eax
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0x4531fd
mov byte [esp + 0x1a], 0
inc ebp
dec dword [esp + 0x28]
jne 0x452f95
mov eax, dword [ebx + 0x7c]
call fcn.0040c6f8
mov edx, dword [ebx + 0x1b4]
add edx, edx
mov ecx, dword [ebx + 0x1b0]
dec ecx
imul edx, ecx
add eax, edx
sar eax, 1
jns 0x45322b
adc eax, 0
lea ecx, [esp + 0x70]
mov esi, dword [esp + 4]
mov edx, esi
call fcn.00406598
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x1c0], eax
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x1c4], eax
lea ecx, [esp + 0x70]
mov edx, esi
inc edx
mov eax, 2
call fcn.00406598
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x7c]
call fcn.0040c6f8
mov edi, eax
sub edi, 2
mov dword [esp + 0x20], 3
mov eax, edi
sub eax, dword [esp]
cdq
idiv dword [esp + 0x20]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fdivr dword [0x4533cc]
fstp xword [esp + 0x10]
wait
mov eax, dword [esp + 0x1c]
inc eax
test eax, eax
jle 0x4533b3
mov dword [esp + 0x28], eax
mov edi, 1
mov edx, dword [0x45298c]
mov eax, 0x44
call fcn.0040428c
mov esi, eax
mov byte [esi], 1
mov ebp, edi
dec ebp
mov dword [esp + 0x78], ebp
fild dword [esp + 0x78]
fld xword [esp + 0x10]
fmulp st(1)
fsubr dword [0x4533cc]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, edi
dec eax
mov dword [esp + 0x88], eax
fild dword [esp + 0x88]
fld xword [esp + 0x1c]
fmulp st(1)
fsubr dword [0x4533cc]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, edi
dec eax
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
fld xword [esp + 0x28]
fmulp st(1)
fsubr dword [0x4533cc]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00452e74
mov dword [esi + 4], eax
lea ecx, [esp + 0x70]
mov eax, ebp
imul dword [esp + 0x20]
add eax, dword [esp]
mov edx, dword [esp + 4]
call fcn.00406598
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x70]
mov edx, dword [esp + 4]
add edx, 0xf
mov eax, edi
imul eax, dword [esp + 0x20]
add eax, dword [esp]
call fcn.00406598
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
push esi
push edi
lea edi, [esi + 0x14]
lea esi, [esp + 0x38]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebx + 0x1d8]
mov edx, esi
call fcn.004067b0
inc edi
dec dword [esp + 0x28]
jne 0x4532b6
mov edx, dword [esp + 0x24]
mov eax, ebx
call fcn.00453eb4
add esp, 0x84
pop ebp
pop edi
pop esi
pop ebx
ret