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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c4
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x256]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x34], eax
jne 0x5d227d
mov dword [esp + 0x34], 0x6bc0cc
mov eax, dword [ecx + 0x25a]
fldz
cmp dword [ebx + 0x355], edi
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
fstp dword [ecx]
setne al
test al, al
mov byte [esp + 0xf], al
je 0x5d22ba
mov eax, dword [ebx + 0x37d]
cmp eax, edi
je 0x5d22ba
mov edx, dword [eax]
push eax
mov dword [ebx + 0x37d], edx
call fcn.0069d0cc
add esp, 4
xor eax, eax
cmp dword [ebx + 0x32d], 0x1f4
jle 0x5d22cd
mov eax, 1
cmp byte [ebx + 0x336], 0
je 0x5d22d9
or eax, 2
cmp byte [ebx + 0x335], 0
je 0x5d22e5
or eax, 4
cmp byte [ebx + 0x337], 0
je 0x5d22f1
or eax, 8
fld dword [ebx + 0x331]
lea edx, [ebx + 0x125]
fstp dword [esp + 0x3b8]
lea esi, [esp + 0x1b0]
fld1
mov dword [esp + 0x3bc], 4
fstp dword [esp + 0x3c0]
mov dword [esp + 0x3c4], eax
call fcn.004011d0
push 0x70c
call fcn.0069e704
add esp, 4
cmp eax, edi
jne 0x5d23fc
call fcn.004b05b0
xor esi, esi
mov dword [esp + 0x20], esi
mov edx, dword [ebp + 8]
push edx
mov dword [esp + 0x40], esi
call fcn.005cff30
fldz
mov eax, 1
fstp dword [esp + 0x99]
mov ecx, 0x1f4
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov byte [esp + 0x98], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
call fcn.004d4360
mov eax, dword [esp + 0x44]
cmp eax, 8
jl 0x5d23f0
cmp eax, 0xa
jle 0x5d242e
cmp eax, 0xc
ja 0x5d2418
call fcn.004981b0
jmp 0x5d241a
lea ecx, [esp + 0x1b0]
push ecx
mov edi, eax
call fcn.004a0260
mov dword [esp + 0x20], eax
xor edi, edi
mov esi, eax
jmp 0x5d234b
xor eax, eax
mov ecx, dword [esp + 0x48]
imul ecx, eax
shr ecx, 3
add ecx, 3
and ecx, 0xfffffffc
mov dword [esp + 0x60], ecx
mov eax, 1
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
xor eax, eax
push eax
push eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
push eax
lea eax, [esp + 0x50]
lea edi, [esp + 0xbc]
mov dword [esp + 0xbc], 0xffffffff
call fcn.004d0d70
lea esi, [esp + 0x10c]
mov dword [esp + 0x100], 0x70e2d0
call fcn.004062c0
mov edx, edi
xor esi, esi
lea eax, [esp + 0x100]
mov dword [esp + 0x1a6], esi
mov dword [esp + 0x1aa], edx
call fcn.004d80b0
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x1b4]
call fcn.00407030
cmp dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
jbe 0x5d283b
fldz
fst dword [esp + 0xa0]
fstp dword [esp + 0xa4]
fld dword [0x723ab8]
fst dword [esp + 0xa8]
fstp dword [esp + 0xac]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sub esi, eax
cmp esi, 0x104
lea edx, [ecx + eax*2]
mov dword [esp + 0x28], edx
jb 0x5d25ab
cmp esi, 0x103
jbe 0x5d257d
mov esi, 0x103
mov eax, dword [esp + 0x28]
lea edi, [esi + esi]
push edi
push eax
lea ecx, [esp + 0x3d0]
push ecx
call fcn.006a4bd0
lea edx, [esp + 0x3d4]
add esp, 0xc
mov word [esp + edi + 0x3c8], 0
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
fldz
push eax
fst dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
fstp dword [esp + 0x44]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x118]
push eax
lea edi, [esp + 0x94]
lea eax, [esp + 0xb0]
call fcn.005103c0
mov eax, dword [ebx + 0x345]
test eax, eax
je 0x5d2603
mov ecx, dword [eax]
mov dword [ebx + 0x345], ecx
fld dword [eax + 4]
push eax
fstp dword [esp + 0x20]
call fcn.0069d0cc
add esp, 4
jmp 0x5d2631
mov eax, dword [ebx + 0x36d]
test eax, eax
je 0x5d2627
mov edx, dword [eax]
mov dword [ebx + 0x36d], edx
fld dword [eax + 4]
push eax
fstp dword [esp + 0x20]
call fcn.0069d0cc
add esp, 4
jmp 0x5d2631
fld dword [ebx + 0xc1]
fstp dword [esp + 0x1c]
mov eax, dword [ebx + 0x349]
test eax, eax
je 0x5d2655
mov ecx, dword [eax]
mov dword [ebx + 0x349], ecx
fld dword [eax + 4]
push eax
fstp dword [esp + 0x18]
call fcn.0069d0cc
add esp, 4
jmp 0x5d2683
mov eax, dword [ebx + 0x371]
test eax, eax
je 0x5d2679
mov edx, dword [eax]
mov dword [ebx + 0x371], edx
fld dword [eax + 4]
push eax
fstp dword [esp + 0x18]
call fcn.0069d0cc
add esp, 4
jmp 0x5d2683
fld dword [ebx + 0xc6]
fstp dword [esp + 0x14]
mov eax, dword [ebx + 0x34d]
test eax, eax
je 0x5d26a7
mov ecx, dword [eax]
mov dword [ebx + 0x34d], ecx
fld dword [eax + 4]
push eax
fstp dword [esp + 0x28]
call fcn.0069d0cc
add esp, 4
jmp 0x5d26d1
mov eax, dword [ebx + 0x375]
test eax, eax
je 0x5d26cb
mov edx, dword [eax]
mov dword [ebx + 0x375], edx
fld dword [eax + 4]
push eax
fstp dword [esp + 0x28]
call fcn.0069d0cc
add esp, 4
jmp 0x5d26d1
fldz
fstp dword [esp + 0x24]
mov eax, dword [ebx + 0x351]
test eax, eax
je 0x5d26f5
mov ecx, dword [eax]
mov dword [ebx + 0x351], ecx
fld dword [eax + 4]
push eax
fstp dword [esp + 0x14]
call fcn.0069d0cc
add esp, 4
jmp 0x5d271f
mov eax, dword [ebx + 0x379]
test eax, eax
je 0x5d2719
mov edx, dword [eax]
mov dword [ebx + 0x379], edx
fld dword [eax + 4]
push eax
fstp dword [esp + 0x14]
call fcn.0069d0cc
add esp, 4
jmp 0x5d271f
fldz
fstp dword [esp + 0x10]
mov eax, dword [ebx + 0x355]
test eax, eax
je 0x5d2743
mov ecx, dword [eax]
mov dword [ebx + 0x355], ecx
fld dword [eax + 4]
push eax
fstp dword [esp + 0x1c]
call fcn.0069d0cc
add esp, 4
jmp 0x5d2778
cmp byte [esp + 0xf], 0
jne 0x5d276e
mov eax, dword [ebx + 0x37d]
test eax, eax
je 0x5d276e
mov edx, dword [eax]
mov dword [ebx + 0x37d], edx
fld dword [eax + 4]
push eax
fstp dword [esp + 0x1c]
call fcn.0069d0cc
add esp, 4
jmp 0x5d2778
fld dword [ebx + 0xcb]
fstp dword [esp + 0x18]
cmp dword [ebp + 0x14], 0
je 0x5d27e3
push 0x6fc
call fcn.0069e704
add esp, 4
test eax, eax
jne 0x5d2796
call fcn.004b05b0
jmp 0x5d27e3
fld dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
sub esp, 0xc
fstp dword [esp + 8]
mov edi, eax
fld dword [esp + 0x1c]
fadd dword [esp + 0x20]
fstp dword [esp + 4]
fld dword [esp + 0x30]
fadd dword [esp + 0x28]
fstp dword [esp]
push ecx
call fcn.004a0130
test eax, eax
je 0x5d27e3
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x707]
mov dword [edx], eax
add eax, 4
mov dword [eax], 0
mov dword [ecx + 0x707], eax
fld dword [esp + 0x40]
mov ecx, dword [ebp + 0x10]
fadd dword [esp + 0x24]
fadd dword [esp + 0x1c]
fstp dword [ebx + 0xc1]
fld dword [esp + 0x10]
fadd dword [esp + 0x14]
fstp dword [ebx + 0xc6]
fld dword [esp + 0x18]
fstp dword [ebx + 0xcb]
fld dword [ecx]
fld dword [esp + 0x38]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x5d2823
fstp st(0)
jmp 0x5d2825
fstp st(1)
mov eax, dword [esp + 0x2c]
fstp dword [ecx]
add eax, esi
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
jb 0x5d2553
mov eax, dword [ebp + 0x14]
xor edx, edx
cmp eax, edx
je 0x5d284e
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov dword [eax], ecx
mov ecx, dword [ebx + 0x345]
cmp ecx, edx
je 0x5d287e
mov eax, dword [ebx + 0x359]
cmp eax, edx
jne 0x5d286a
mov dword [ebx + 0x359], ecx
jmp 0x5d2878
cmp dword [eax], edx
je 0x5d2876
mov edi, edi
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x5d2870
mov dword [eax], ecx
mov dword [ebx + 0x345], edx
mov ecx, dword [ebx + 0x36d]
cmp ecx, edx
je 0x5d28ae
mov eax, dword [ebx + 0x359]
cmp eax, edx
jne 0x5d289a
mov dword [ebx + 0x359], ecx
jmp 0x5d28a8
cmp dword [eax], edx
je 0x5d28a6
mov edi, edi
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x5d28a0
mov dword [eax], ecx
mov dword [ebx + 0x36d], edx
mov ecx, dword [ebx + 0x349]
cmp ecx, edx
je 0x5d28de
mov eax, dword [ebx + 0x35d]
cmp eax, edx
jne 0x5d28ca
mov dword [ebx + 0x35d], ecx
jmp 0x5d28d8
cmp dword [eax], edx
je 0x5d28d6
mov edi, edi
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x5d28d0
mov dword [eax], ecx
mov dword [ebx + 0x349], edx
mov ecx, dword [ebx + 0x371]
cmp ecx, edx
je 0x5d290e
mov eax, dword [ebx + 0x35d]
cmp eax, edx
jne 0x5d28fa
mov dword [ebx + 0x35d], ecx
jmp 0x5d2908
cmp dword [eax], edx
je 0x5d2906
mov edi, edi
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x5d2900
mov dword [eax], ecx
mov dword [ebx + 0x371], edx
mov ecx, dword [ebx + 0x34d]
cmp ecx, edx
je 0x5d293e
mov eax, dword [ebx + 0x361]
cmp eax, edx
jne 0x5d292a
mov dword [ebx + 0x361], ecx
jmp 0x5d2938
cmp dword [eax], edx
je 0x5d2936
mov edi, edi
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x5d2930
mov dword [eax], ecx
mov dword [ebx + 0x34d], edx
mov ecx, dword [ebx + 0x375]
cmp ecx, edx
je 0x5d296e
mov eax, dword [ebx + 0x361]
cmp eax, edx
jne 0x5d295a
mov dword [ebx + 0x361], ecx
jmp 0x5d2968
cmp dword [eax], edx
je 0x5d2966
mov edi, edi
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x5d2960
mov dword [eax], ecx
mov dword [ebx + 0x375], edx
mov ecx, dword [ebx + 0x351]
cmp ecx, edx
je 0x5d299e
mov eax, dword [ebx + 0x365]
cmp eax, edx
jne 0x5d298a
mov dword [ebx + 0x365], ecx
jmp 0x5d2998
cmp dword [eax], edx
je 0x5d2996
mov edi, edi
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x5d2990
mov dword [eax], ecx
mov dword [ebx + 0x351], edx
mov ecx, dword [ebx + 0x379]
cmp ecx, edx
je 0x5d29ce
mov eax, dword [ebx + 0x365]
cmp eax, edx
jne 0x5d29ba
mov dword [ebx + 0x365], ecx
jmp 0x5d29c8
cmp dword [eax], edx
je 0x5d29c6
mov edi, edi
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x5d29c0
mov dword [eax], ecx
mov dword [ebx + 0x379], edx
mov ecx, dword [ebx + 0x355]
cmp ecx, edx
je 0x5d29fe
mov eax, dword [ebx + 0x369]
cmp eax, edx
jne 0x5d29ea
mov dword [ebx + 0x369], ecx
jmp 0x5d29f8
cmp dword [eax], edx
je 0x5d29f6
mov edi, edi
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x5d29f0
mov dword [eax], ecx
mov dword [ebx + 0x355], edx
cmp byte [esp + 0xf], 0
jne 0x5d2a33
mov ecx, dword [ebx + 0x37d]
cmp ecx, edx
je 0x5d2a33
mov eax, dword [ebx + 0x369]
cmp eax, edx
jne 0x5d2a21
mov dword [ebx + 0x369], ecx
jmp 0x5d2a2d
cmp dword [eax], edx
je 0x5d2a2b
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x5d2a25
mov dword [eax], ecx
mov dword [ebx + 0x37d], edx
lea esi, [esp + 0x10c]
mov dword [esp + 0x100], 0x70e2d0
call fcn.0050f0d0
mov ecx, dword [esp + 0x1a6]
test ecx, ecx
je 0x5d2a5d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea eax, [esp + 0x10c]
call fcn.00406370
lea ecx, [esp + 0xb0]
call fcn.004d0c50
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5d2a85
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10