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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, ecx
mov al, byte [esi + 0x159c]
test al, al
push edi
je 0x533a01
lea ebx, [esi + 0x158c]
xor edx, edx
mov dword [esp + 0x18], ebx
mov ecx, dword [ebx + 4]
test ecx, ecx
mov dword [esp + 0x1c], edx
je 0x533a01
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x533a01
mov eax, dword [esi + 0x1590]
lea edi, [edx*4]
mov ecx, dword [eax + edi]
add eax, edi
test ecx, ecx
je 0x533918
mov dl, byte [ecx + 0x70]
test dl, dl
jne 0x5334c0
mov edx, ecx
mov eax, dword [edx]
push eax
mov ecx, 0xb1c140
call fcn.0058b8f0
test al, al
jne 0x533918
mov ebp, dword [esi + 0xc]
xor ecx, ecx
cmp ebp, ecx
mov dword [esp + 0x10], 0
je 0x533902
mov edx, dword [esi + 0x1590]
mov eax, dword [edx + edi]
add edx, edi
cmp dword [eax + 8], 0xffffffff
je 0x53350b
cmp ebp, dword [ebp + 0x44]
je 0x5334f1
mov dword [esp + 0x10], ecx
jmp 0x533544
cmp dword [ebp + 0xc0], ecx
jne 0x5334ff
mov dword [esp + 0x10], ecx
jmp 0x533544
mov ecx, dword [ebp + 0xcc]
mov dword [esp + 0x10], ecx
jmp 0x533544
mov eax, dword [edx]
add eax, 0xc
lea ecx, [eax + 1]
mov dword [esp + 0x24], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x533517
sub eax, dword [esp + 0x24]
cmp eax, 1
jbe 0x533814
mov edx, dword [edx]
add edx, 0xc
push edx
mov ecx, ebp
call fcn.0058fbc0
test eax, eax
je 0x5339bc
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
cmp eax, dword [eax + 0x44]
je 0x533556
mov dword [esp + 0x14], 0x3f800000
jmp 0x533560
mov eax, dword [eax + 0x9c]
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x1590]
mov edx, dword [ecx + edi]
lea eax, [ecx + edi]
cmp dword [edx + 8], 0xffffffff
je 0x5335ba
mov ecx, edx
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x10]
imul ecx, ecx, 0xb0
add ecx, edx
add ecx, 8
mov ebx, dword [ecx]
mov dword [esp + 0x3c], ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
imul ecx, ecx, 0xb0
add ecx, edx
add ecx, 0x14
mov ebp, ecx
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [esp + 0x40], ebx
mov ebx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
jmp 0x5335f9
mov edx, dword [esp + 0x20]
add edx, 0x14
mov ebx, edx
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x20]
add ebx, 8
mov dword [esp + 0x68], ebp
mov ebp, dword [ebx]
mov dword [esp + 0x3c], ebp
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x68]
fld dword [esp + 0x3c]
mov dword [esp + 0x7c], ebp
fmul dword [esp + 0x14]
mov ebp, dword [eax]
cmp byte [ebp + 0x70], 0
fstp dword [esp + 0x30]
fld dword [esp + 0x40]
fmul dword [esp + 0x14]
fstp dword [esp + 0x34]
fld dword [esp + 0x44]
fmul dword [esp + 0x14]
fstp dword [esp + 0x38]
je 0x5336d4
fld dword [esp + 0x38]
mov ecx, ebp
fadd dword [esi + 0x1280]
add ecx, 0x3e
push ecx
push 0x41f00000
sub esp, 0xc
fstp dword [esp + 8]
mov edx, ebp
fld dword [esp + 0x48]
mov ecx, dword [edx + 0x80]
fadd dword [esi + 0x127c]
mov eax, dword [edx + 0x78]
fstp dword [esp + 4]
fld dword [esp + 0x44]
fadd dword [esi + 0x1278]
fstp dword [esp]
push ecx
mov ecx, dword [edx + 0x7c]
push ecx
push eax
mov ecx, esi
call fcn.0052ff00
fld dword [esp + 0x30]
fadd dword [esi + 0x1278]
mov eax, dword [esi + 0x1590]
mov ecx, dword [eax + edi]
add eax, edi
fstp dword [ecx + 0x78]
mov eax, dword [esi + 0x1590]
fld dword [esp + 0x34]
mov edx, dword [eax + edi]
fadd dword [esi + 0x127c]
add eax, edi
fstp dword [edx + 0x7c]
mov eax, dword [esi + 0x1590]
fld dword [esp + 0x38]
add eax, edi
fadd dword [esi + 0x1280]
mov eax, dword [eax]
fstp dword [eax + 0x80]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc edx
jmp 0x533469
mov ebp, dword [eax]
cmp byte [ebp + 4], 0
je 0x5336fd
sub esp, 0x10
mov ebp, esp
mov dword [ebp], ecx
mov ecx, dword [esp + 0x8c]
mov dword [ebp + 4], edx
mov edx, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
mov ecx, dword [edx]
call fcn.0057f330
fld dword [esp + 0x38]
mov eax, dword [esi + 0x1590]
fadd dword [esi + 0x1280]
sub esp, 0xc
add eax, edi
mov eax, dword [eax]
mov ecx, dword [eax]
fstp dword [esp + 8]
fld dword [esp + 0x40]
fadd dword [esi + 0x127c]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fadd dword [esi + 0x1278]
fstp dword [esp]
call fcn.00583a00
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x28], eax
fld dword [esp + 0x28]
sub esp, 8
fchs
mov dword [esi + 0x1284], eax
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fsub dword [0x64ff20]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp qword [esp]
call fcn.00616f24
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x50]
fld dword [esp + 0x18]
fstp qword [esp]
call fcn.00616fd4
fstp dword [esp + 0x2c]
add esp, 8
fld dword [esp + 0x24]
lea ecx, [esp + 0x48]
fstp dword [esp + 0x50]
mov dword [esp + 0x4c], 0
call fcn.004181c0
fld dword [esp + 0x50]
mov eax, dword [esi + 0x1590]
fchs
mov edx, dword [eax + edi]
mov ecx, dword [edx]
sub esp, 0xc
fstp dword [esp + 8]
add eax, edi
fld dword [esp + 0x58]
fchs
fstp dword [esp + 4]
fld dword [esp + 0x54]
fchs
fstp dword [esp]
call fcn.0057f1e0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x5336c6
call fcn.00590540
fstp dword [esp + 0x24]
mov eax, dword [esi + 0x1590]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + edi]
add eax, edi
push ecx
mov ecx, dword [edx]
call fcn.0057f3b0
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
inc edx
jmp 0x533469
add ebp, 0x1c
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov ebp, dword [ebp + 8]
push ebp
push ecx
push eax
mov eax, dword [edx]
mov ecx, dword [eax]
call fcn.00583a00
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x2c], eax
fld dword [esp + 0x2c]
fchs
sub esp, 8
fstp dword [esp + 0x18]
mov dword [esi + 0x1284], eax
fld dword [esp + 0x18]
fsub dword [0x64ff20]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp qword [esp]
call fcn.00616f24
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x18]
fstp qword [esp]
call fcn.00616fd4
fstp dword [esp + 0x2c]
add esp, 8
fld dword [esp + 0x24]
lea ecx, [esp + 0x54]
fstp dword [esp + 0x5c]
mov dword [esp + 0x58], 0
call fcn.004181c0
fld dword [esp + 0x5c]
mov eax, dword [esi + 0x1590]
fchs
mov edx, dword [eax + edi]
mov ecx, dword [edx]
sub esp, 0xc
fstp dword [esp + 8]
add eax, edi
fld dword [esp + 0x64]
fchs
fstp dword [esp + 4]
fld dword [esp + 0x60]
fchs
fstp dword [esp]
call fcn.0057f1e0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x5336ca
call fcn.00590540
fstp dword [esp + 0x24]
mov eax, dword [esi + 0x1590]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + edi]
add eax, edi
push ecx
mov ecx, dword [edx]
call fcn.0057f3b0
mov edx, dword [esp + 0x1c]
inc edx
jmp 0x533469
mov eax, dword [esi + 0x1590]
mov ebp, dword [eax + edi]
add eax, edi
cmp ebp, ecx
je 0x53397a
mov eax, dword [ebp]
cmp eax, ecx
jmp 0x533947
mov eax, dword [esi + 0x1590]
add eax, edi
mov eax, dword [eax]
mov ecx, dword [eax]
push ecx
mov ecx, 0xb1c140
call fcn.0058b8f0
test al, al
jne 0x53397a
mov eax, dword [esi + 0x1590]
mov ebp, dword [eax + edi]
add eax, edi
test ebp, ebp
je 0x53397a
mov eax, dword [ebp]
test eax, eax
je 0x533971
mov ecx, 0xb1c140
push eax
call fcn.0058b8f0
test al, al
jne 0x533971
mov ecx, dword [ebp]
call fcn.005824b0
mov ecx, dword [ebp]
push 0
call fcn.0057dce0
mov dword [ebp], 0
push ebp
call fcn.00615a1d
add esp, 4
mov eax, dword [esi + 0x1590]
add eax, edi
mov dword [eax], 0
mov eax, dword [esi + 0x1590]
mov edx, dword [ebx + 8]
add eax, edi
lea ecx, [eax + 4]
sub edx, ecx
sar edx, 2
shl edx, 2
push edx
push ecx
push eax
call fcn.006162d0
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x28]
add eax, 0xfffffffc
add esp, 0xc
mov dword [ebx + 8], eax
inc edx
jmp 0x533469
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x1590]
shl edi, 2
add eax, edi
mov eax, dword [eax]
test eax, eax
je 0x5339da
push 1
mov ecx, eax
call fcn.0052eaa0
mov eax, dword [esi + 0x1590]
push ecx
add eax, edi
mov dword [eax], 0
mov ecx, dword [esi + 0x1590]
mov eax, esp
add ecx, edi
lea edx, [esp + 0x30]
mov dword [eax], ecx
push edx
mov ecx, ebx
call fcn.00532330
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret