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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x70a034]
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.005136fd
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.0051aee6
mov ecx, eax
call fcn.0051f26c
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 0x5434d9
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x5434d9
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 0x543500
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x543500
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 0x543527
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 0x543c90
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 0x543561
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x543561
mov eax, dword [ebx + 0x588]
add edi, dword [eax + 0x554]
mov dword [esp + 0x20], edi
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x543587
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x543587
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 0x5437ac
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 0x54378b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
jne 0x54378b
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 0x54363e
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 0x54364e
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 0x543686
inc dword [esp + 0x24]
jmp 0x5436ce
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x5436aa
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 0x5436ce
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 0x543735
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 0x54375d
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 0x54378f
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x1c], edx
cmp edx, dword [ebx + 0x558]
jl 0x5435b0
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 0x5437e2
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 0x54380f
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x54380f
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 0x543c66
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 0x543c51
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
je 0x54386b
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x40]
call dword [eax + 0x1f8]
jmp 0x543c51
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 0x5438d5
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 0x5438e3
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 0x543928
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 0x5439c7
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 0x54397d
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 0x5439a1
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 0x543a17
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov dword [esp + 0x88], eax
jmp 0x543a17
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x5439eb
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 0x543a13
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 0x543a37
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 0x543a72
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 0x543b23
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 0x543ad1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xf4]
test al, al
je 0x543acd
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 0x543ad1
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 0x543c00
mov ecx, dword [ebx + 0x588]
cmp eax, 2
jne 0x543b9b
mov esi, dword [ebp + 0x10]
test ecx, ecx
je 0x543b55
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x543b55
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 0x543c00
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x543bba
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x543bba
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 0x54382b
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.006255fe
mov esp, ebp
pop ebp
ret 0x14