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

Disassembly:
sub esp, 0x188
push ebp
push esi
push edi
push 0
push 0x3f800000
push 0
mov ebp, ecx
push 2
push 0
push 0
mov ecx, 0x620cd0
call fcn.0040d7e0
mov al, byte [0x620cf4]
test al, al
mov eax, dword [0x620cd4]
jne 0x52e481
mov ecx, dword [eax]
push 0
push 7
push eax
call dword [ecx + 0xc8]
jmp 0x52e48e
mov edx, dword [eax]
push 1
push 7
push eax
call dword [edx + 0xc8]
mov al, byte [0x620cf4]
test al, al
mov eax, dword [0x620cd4]
jne 0x52e4ab
mov ecx, dword [eax]
push 0
push 0xe
push eax
call dword [ecx + 0xc8]
jmp 0x52e4b8
mov edx, dword [eax]
push 1
push 0xe
push eax
call dword [edx + 0xc8]
mov eax, dword [0x620cd4]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x620cd4]
push 1
push 0x1b
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x620cd4]
push 2
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x620cd4]
push 2
push 0x14
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov al, byte [0x620ce8]
mov byte [0x620f08], 0
test al, al
mov eax, dword [0x620cd4]
jne 0x52e527
mov ecx, dword [eax]
push 0
push 0x89
push eax
call dword [ecx + 0xc8]
jmp 0x52e537
mov edx, dword [eax]
push 0
push 0x89
push eax
call dword [edx + 0xc8]
mov dword [0x620cf8], 8
mov dword [0x620cfc], 0x142
mov dword [0x620d00], 0
mov eax, dword [ebp + 0x4ad0]
push ebx
push 0x18
push eax
push 0
mov ecx, 0x620cd0
call fcn.0040d450
mov eax, dword [0x620cd4]
push 0x142
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov ecx, 0x620cd0
call fcn.0040dae0
mov ecx, 0x620cd0
call fcn.0040cf90
xor eax, eax
mov ebx, 0x661580
mov dword [esp + 0x2c], eax
cmp byte [eax + ebp + 0xd5], 0x1e
je 0x52e5b2
mov dword [ebx], 0
jmp 0x52ea58
fild dword [ebx]
mov al, byte [eax + ebp + 0xcd]
test al, al
fmul dword [0x588610]
fsubr dword [0x588318]
fstp dword [esp + 0x28]
jne 0x52e5dc
mov byte [esp + 0x24], 0xff
mov byte [esp + 0x20], al
mov byte [esp + 0x1c], al
cmp al, 1
jne 0x52e5ef
mov byte [esp + 0x24], 0
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x1c], 0
cmp al, 2
jne 0x52e602
mov byte [esp + 0x24], 0
mov byte [esp + 0x20], 0
mov byte [esp + 0x1c], 0xff
cmp al, 3
jne 0x52e615
mov byte [esp + 0x24], 0xff
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x1c], 0
cmp al, 4
jne 0x52e628
mov byte [esp + 0x24], 0
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x1c], 0xff
cmp al, 5
jne 0x52e63b
mov byte [esp + 0x24], 0xff
mov byte [esp + 0x20], 0
mov byte [esp + 0x1c], 0xff
mov cl, byte [ebp + 0x18]
test cl, cl
jne 0x52e692
test al, al
jne 0x52e656
mov dword [esp + 0x14], 0xc0b00000
mov dword [esp + 0x10], 0x402ccccd
cmp al, 1
jne 0x52e66a
mov dword [esp + 0x14], 0xc0600000
mov dword [esp + 0x10], 0x402ccccd
cmp al, 2
jne 0x52e67e
mov dword [esp + 0x14], 0x40600000
mov dword [esp + 0x10], 0xc0000000
cmp al, 3
jne 0x52e692
mov dword [esp + 0x14], 0x40b00000
mov dword [esp + 0x10], 0xc0000000
cmp cl, 1
jne 0x52e70f
test al, al
jne 0x52e6ab
mov dword [esp + 0x14], 0xc0d00000
mov dword [esp + 0x10], 0x402ccccd
cmp al, 1
jne 0x52e6bf
mov dword [esp + 0x14], 0xc0900000
mov dword [esp + 0x10], 0x402ccccd
cmp al, 2
jne 0x52e6d3
mov dword [esp + 0x14], 0xc0200000
mov dword [esp + 0x10], 0x402ccccd
cmp al, 3
jne 0x52e6e7
mov dword [esp + 0x14], 0x40200000
mov dword [esp + 0x10], 0xc0000000
cmp al, 4
jne 0x52e6fb
mov dword [esp + 0x14], 0x40900000
mov dword [esp + 0x10], 0xc0000000
cmp al, 5
jne 0x52e70f
mov dword [esp + 0x14], 0x40d00000
mov dword [esp + 0x10], 0xc0000000
cmp cl, 2
jne 0x52e750
test al, al
jne 0x52e728
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x40400000
cmp al, 1
jne 0x52e73c
mov dword [esp + 0x14], 0xc0d33333
mov dword [esp + 0x10], 0xbf800000
cmp al, 2
jne 0x52e750
mov dword [esp + 0x14], 0x40d33333
mov dword [esp + 0x10], 0xbf800000
cmp cl, 3
jne 0x52e7a5
test al, al
jne 0x52e769
mov dword [esp + 0x14], 0xc0bccccd
mov dword [esp + 0x10], 0x40400000
cmp al, 1
jne 0x52e77d
mov dword [esp + 0x14], 0x40bccccd
mov dword [esp + 0x10], 0x40400000
cmp al, 2
jne 0x52e791
mov dword [esp + 0x14], 0xc0bccccd
mov dword [esp + 0x10], 0xbf800000
cmp al, 3
jne 0x52e7a5
mov dword [esp + 0x14], 0x40bccccd
mov dword [esp + 0x10], 0xbf800000
lea edx, [ebp + 0x49ec]
mov ecx, 0x620cd0
push edx
call fcn.0040cfd0
mov edx, dword [ebp + 0x4ae0]
mov eax, dword [0x620cd4]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0xf4]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], 0xbf800000
and eax, 0xff
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], 0
fild dword [esp + 0x18]
fmul dword [esp + 0x28]
call fcn.005755f0
fld dword [esp + 0x28]
fmul dword [0x58860c]
mov esi, eax
and esi, 0xff
call fcn.005755f0
mov ecx, dword [esp + 0x20]
and ecx, 0xff
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
shl eax, 8
or esi, eax
fmul dword [esp + 0x28]
shl esi, 8
call fcn.005755f0
mov edx, dword [esp + 0x1c]
and eax, 0xff
and edx, 0xff
or esi, eax
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
shl esi, 8
fmul dword [esp + 0x28]
call fcn.005755f0
and eax, 0xff
push 0
or esi, eax
lea eax, [esp + 0x94]
mov dword [0x620cf8], 8
mov dword [0x620cfc], 0x142
mov dword [0x620d00], 0
mov ecx, dword [ebp + 0x4ad0]
push eax
push 0
push 0
push ecx
mov ecx, 0x620cd0
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], 0x3e4ccccd
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0x3ecccccd
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xbf800000
mov dword [esp + 0x78], 0xbf800000
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], 0x3e4ccccd
mov dword [esp + 0x88], 0x3e4ccccd
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x90], 0xbf800000
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], 0x3ecccccd
mov dword [esp + 0xa0], 0x3e4ccccd
call fcn.0040d2b0
mov ecx, 0x18
lea esi, [esp + 0x30]
mov edi, dword [esp + 0x90]
push 1
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x4ad0]
mov ecx, 0x620cd0
push edx
call fcn.0040d2f0
mov eax, dword [ebp + 0x4ad0]
push 0x18
push eax
push 0
mov ecx, 0x620cd0
call fcn.0040d450
fld dword [esp + 0x10]
push 0xc2a0999a
push ecx
fstp dword [esp]
fild dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x124]
fsub dword [0x588620]
fmul dword [0x5885d0]
fadd dword [esp + 0x20]
fstp dword [esp]
push ecx
mov ecx, 0x65cb50
call fcn.004937c0
fild dword [ebx]
mov esi, eax
push 0x3f400000
lea edx, [esp + 0x15c]
mov ecx, 0x65cb50
fmul dword [0x588950]
fadd dword [0x5885d4]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
push eax
push edx
call fcn.00493790
push esi
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.0055734a
mov eax, dword [0x620cd4]
mov ecx, 0x10
lea esi, [esp + 0xd8]
lea edi, [esp + 0x98]
lea edx, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push edx
push 0x100
push eax
call dword [ecx + 0x94]
cmp dword [ebx], 0xa
jge 0x52ea4e
push 2
push 0
push 5
mov ecx, 0x620cd0
call fcn.0040d710
mov eax, dword [ebx]
cmp eax, 0xa
jge 0x52ea58
inc eax
mov dword [ebx], eax
mov eax, dword [esp + 0x2c]
add ebx, 4
inc eax
cmp ebx, 0x661590
mov dword [esp + 0x2c], eax
jl 0x52e59d
mov al, byte [0x620ce8]
pop ebx
test al, al
jne 0x52ea98
mov eax, dword [0x620cd4]
mov byte [0x620f08], 0
push 0
push 0x89
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
jmp 0x52eab4
mov eax, dword [0x620cd4]
mov byte [0x620f08], 1
push 1
push 0x89
mov edx, dword [eax]
push eax
call dword [edx + 0xc8]
or eax, 0xffffffff
push 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x84], eax
lea eax, [esp + 0x94]
mov dword [0x620cf8], 8
mov dword [0x620cfc], 0x142
mov dword [0x620d00], 0
mov ecx, dword [ebp + 0x4ad0]
push eax
push 0
push 0
push ecx
mov ecx, 0x620cd0
mov dword [esp + 0x40], 0xbf800000
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x3f800000
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0xbf800000
mov dword [esp + 0x74], 0xbf800000
mov dword [esp + 0x78], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x8c], 0xbf800000
mov dword [esp + 0x90], 0
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x9c], 0x3f800000
call fcn.0040d2b0
mov edi, dword [esp + 0x90]
mov ecx, 0x18
lea esi, [esp + 0x2c]
push 1
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x4ad0]
mov ecx, 0x620cd0
push edx
call fcn.0040d2f0
mov eax, dword [0x620cd4]
push 5
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x620cd4]
push 6
push 0x14
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
pop edi
pop esi
pop ebp
add esp, 0x188
ret