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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x706034]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0050ca5d
lea esi, [ebx + 0x158]
mov ecx, ebx
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x8c]
push eax
mov eax, dword [ebx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x560]
lea edi, [esp + 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005141a6
mov ecx, eax
call fcn.00518528
mov eax, dword [esp + 0x8c]
add dword [ebp + 8], eax
mov eax, dword [esp + 0x90]
add dword [ebp + 0xc], eax
mov eax, dword [esp + 0x94]
sub dword [ebp + 0x10], eax
mov eax, dword [esp + 0x98]
sub dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x53f28a
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x53f28a
mov ecx, dword [ebx + 0x584]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x588]
test ecx, ecx
je 0x53f2b1
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x53f2b1
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [ebp + 0x14], eax
xor ecx, ecx
cmp dword [ebx + 0x558], ecx
jne 0x53f2d8
mov eax, dword [ebx]
lea esi, [ebp + 8]
push ecx
push ecx
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1fc]
jmp 0x53fa41
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x588]
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], esi
test ecx, ecx
je 0x53f312
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x53f312
mov eax, dword [ebx + 0x588]
add edi, dword [eax + 0x554]
mov dword [esp + 0x20], edi
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x53f338
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x53f338
mov eax, dword [ebx + 0x584]
add esi, dword [eax + 0x554]
mov dword [esp + 0x28], esi
and dword [esp + 0x44], 0
xor eax, eax
xor edi, edi
mov dword [esp + 0x10], eax
xor ecx, ecx
mov dword [esp + 0x24], edi
xor edx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
cmp dword [ebx + 0x558], eax
jle 0x53f55d
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + edx*4]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x53f53c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
jne 0x53f53c
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x48], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov eax, dword [esp + 0x20]
mov ecx, edi
sub eax, dword [esp + 0x94]
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
call dword [eax + 0x7c]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x14], eax
call dword [edx + 0x84]
cmp dword [esp + 0x14], 0
mov edx, eax
mov dword [esp + 0x30], edx
jg 0x53f3ef
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
test edx, edx
jg 0x53f3ff
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov edx, eax
mov ecx, dword [esp + 0x2c]
mov eax, esi
cmp ecx, dword [esp + 0x14]
cmovg ecx, dword [esp + 0x14]
cmp esi, edx
cmovg eax, edx
mov edx, dword [edi]
push eax
push ecx
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
call dword [edx + 0x140]
cmp dword [esp + 0x88], 0
jne 0x53f437
inc dword [esp + 0x24]
jmp 0x53f47f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x53f45b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x88], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
cmp dword [esp + 0x88], eax
jle 0x53f47f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov dword [esp + 0x88], eax
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
lea esi, [eax + 0xc]
mov eax, dword [edi]
call dword [eax + 0x6c]
mov ecx, edi
mov eax, dword [eax + 4]
add eax, dword [esp + 0x88]
add eax, dword [esi]
add dword [esp + 0x18], eax
xor eax, eax
cmp dword [esp + 0x84], eax
cmovg eax, dword [esp + 0x84]
mov dword [esp + 0x84], eax
mov eax, dword [edi]
call dword [eax + 0x8c]
cmp dword [esp + 0x84], eax
jge 0x53f4e6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov edx, dword [esp + 0x84]
cmp edx, eax
jle 0x53f50e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov edx, eax
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x8c]
add ecx, edx
mov esi, dword [esp + 0x28]
add eax, ecx
cmp dword [esp + 0x44], eax
cmovg eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
jmp 0x53f540
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x1c], edx
cmp edx, dword [ebx + 0x558]
jl 0x53f361
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
and dword [esp + 0x1c], 0
lea edx, [eax - 1]
mov eax, dword [ebx + 0x570]
and dword [esp + 0x30], 0
imul eax, edx
mov dword [esp + 0x50], edx
add ecx, eax
mov dword [esp + 0x18], ecx
test edi, edi
jle 0x53f593
mov eax, esi
sub eax, ecx
xor ecx, ecx
cdq
idiv edi
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [ebx + 0x584]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], edi
test ecx, ecx
je 0x53f5c0
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x53f5c0
mov eax, dword [ebx + 0x584]
sub edi, dword [eax + 0x558]
mov dword [esp + 0x10], edi
xor eax, eax
xor ecx, ecx
and dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ecx
cmp dword [ebx + 0x558], eax
jle 0x53fa17
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x3c], edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x53fa02
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
je 0x53f61c
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x40]
call dword [eax + 0x1f8]
jmp 0x53fa02
mov eax, dword [edi]
lea ecx, [esp + 0x8c]
inc dword [esp + 0x34]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov eax, dword [esp + 0x20]
mov ecx, edi
sub esi, dword [esp + 0x90]
mov dword [esp + 0x48], eax
sub eax, dword [esp + 0x94]
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov dword [esp + 0x28], esi
call dword [eax + 0x7c]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x14], eax
call dword [edx + 0x84]
cmp dword [esp + 0x14], 0
mov dword [esp + 0x48], eax
jg 0x53f686
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x53f694
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov edx, dword [esp + 0x38]
mov ecx, esi
cmp edx, dword [esp + 0x14]
cmovg edx, dword [esp + 0x14]
cmp esi, eax
mov dword [esp + 0x38], edx
cmovg ecx, eax
mov eax, dword [esp + 0x98]
add eax, dword [esp + 0x90]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x18]
sub ecx, eax
cmp dword [esp + 0x34], 1
mov dword [esp + 0x18], ecx
jle 0x53f6d9
sub ecx, dword [ebx + 0x570]
mov dword [esp + 0x18], ecx
push dword [esp + 0x48]
mov eax, dword [edi]
lea ecx, [esp + 0x88]
push edx
push ecx
mov ecx, edi
call dword [eax + 0x140]
cmp dword [esp + 0x88], 0
jne 0x53f778
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x88], eax
cmp ecx, dword [esp + 0x24]
jne 0x53f72e
mov eax, esi
sub eax, dword [esp + 0x98]
sub eax, dword [esp + 0x18]
push 0
pop ecx
cmovs eax, ecx
mov dword [esp + 0x88], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x53f752
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x88], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
cmp dword [esp + 0x88], eax
jle 0x53f7c8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov dword [esp + 0x88], eax
jmp 0x53f7c8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x53f79c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x88], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov ecx, dword [esp + 0x88]
cmp ecx, eax
jle 0x53f7c4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov ecx, eax
mov dword [esp + 0x88], ecx
sub dword [esp + 0x18], ecx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
test eax, eax
jne 0x53f7e8
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x94]
sub eax, dword [esp + 0x8c]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, edi
cmp eax, dword [esp + 0x38]
cmovg eax, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov eax, dword [edi]
call dword [eax + 0x8c]
cmp dword [esp + 0x84], eax
jge 0x53f823
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x17c]
cmp eax, 1
jne 0x53f8d4
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebx + 0x588]
sar ecx, 1
mov dword [esp + 0x14], ecx
test eax, eax
je 0x53f882
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xf4]
test al, al
je 0x53f87e
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx + 0x554]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ecx + 0x558]
mov ecx, dword [esp + 0x14]
add ecx, eax
jmp 0x53f882
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x84]
lea esi, [esp + 0x74]
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x90]
lea eax, [ecx + edx]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x88]
add eax, ecx
add eax, edx
mov dword [esp + 0x80], eax
jmp 0x53f9b1
mov ecx, dword [ebx + 0x588]
cmp eax, 2
jne 0x53f94c
mov esi, dword [ebp + 0x10]
test ecx, ecx
je 0x53f906
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x53f906
mov eax, dword [ebx + 0x588]
mov ecx, dword [eax + 0x554]
sub ecx, dword [eax + 0x558]
add esi, ecx
mov ecx, dword [esp + 0x90]
mov eax, esi
sub eax, dword [esp + 0x84]
sub eax, dword [esp + 0x94]
mov edx, dword [esp + 0x10]
sub esi, dword [esp + 0x94]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], esi
lea esi, [esp + 0x54]
lea eax, [ecx + edx]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x88]
add eax, ecx
add eax, edx
mov dword [esp + 0x60], eax
jmp 0x53f9b1
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x53f96b
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x53f96b
mov eax, dword [ebx + 0x588]
sub esi, dword [eax + 0x558]
mov ecx, dword [esp + 0x8c]
lea eax, [esi + ecx]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x90]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x84]
add eax, esi
lea esi, [esp + 0x64]
add eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x90]
add eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x3c]
push 0
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x98]
mov esi, dword [ebx + 0x570]
lea eax, [edx + ecx]
add eax, dword [esp + 0x90]
add eax, esi
add dword [esp + 0x10], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x90]
add dword [esp + 0x1c], eax
lea eax, [edx + ecx]
add eax, esi
mov esi, dword [esp + 0x28]
sub esi, eax
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x53f5dc
mov eax, dword [ebx + 0x570]
lea esi, [ebp + 8]
imul eax, dword [esp + 0x50]
mov ecx, ebx
mov edx, dword [ebx]
add eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x48]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x1fc]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret 0x14