Function at 0x545aff
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.0051348d
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.0051ac73
mov ecx, eax
call fcn.0051eff8
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 0x545bb9
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x545bb9
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 0x545be0
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x545be0
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [ebp + 0x14], eax
cmp dword [ebx + 0x558], 0
jne 0x545c08
mov eax, dword [ebx]
lea esi, [ebp + 8]
push 0
push 0
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 0x546338
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x584]
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], esi
test ecx, ecx
je 0x545c42
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x545c42
mov eax, dword [ebx + 0x584]
add esi, dword [eax + 0x554]
mov dword [esp + 0x2c], esi
and dword [esp + 0x48], 0
xor eax, eax
and dword [esp + 0x28], 0
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
cmp dword [ebx + 0x558], eax
jle 0x545e57
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x545e3a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
jne 0x545e3a
mov eax, dword [edi]
lea ecx, [esp + 0x8c]
mov esi, dword [esp + 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov eax, dword [edi]
mov ecx, edi
sub esi, dword [esp + 0x98]
sub esi, dword [esp + 0x90]
call dword [eax + 0x7c]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x10], eax
call dword [edx + 0x84]
cmp dword [esp + 0x10], 0
mov edx, eax
mov dword [esp + 0x30], edx
jg 0x545cec
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
test edx, edx
jg 0x545cfc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov edx, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
cmp eax, dword [esp + 0x10]
mov eax, dword [edi]
cmovg ecx, dword [esp + 0x10]
cmp esi, edx
cmovg esi, edx
push esi
push ecx
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edi
call dword [eax + 0x140]
cmp dword [esp + 0x84], 0
jne 0x545d34
inc dword [esp + 0x28]
jmp 0x545d7c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
cmp dword [esp + 0x84], eax
jge 0x545d58
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]
cmp dword [esp + 0x84], eax
jle 0x545d7c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov dword [esp + 0x84], 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 + 8]
mov eax, dword [edi]
call dword [eax + 0x6c]
mov ecx, dword [esi]
add ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x1c]
add ecx, dword [eax]
xor eax, eax
add esi, ecx
cmp dword [esp + 0x88], eax
mov ecx, edi
mov dword [esp + 0x1c], esi
cmovg eax, dword [esp + 0x88]
mov dword [esp + 0x88], eax
mov eax, dword [edi]
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x545de8
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 edx, dword [esp + 0x88]
cmp edx, eax
jle 0x545e10
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov edx, eax
mov dword [esp + 0x88], edx
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x90]
add ecx, edx
add eax, ecx
cmp dword [esp + 0x48], eax
cmovg eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x545e3e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x545c6a
mov edi, dword [esp + 0x14]
and dword [esp + 0x20], 0
lea ecx, [eax - 1]
mov eax, dword [ebx + 0x570]
and dword [esp + 0x30], 0
imul eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x28]
add esi, eax
test ecx, ecx
jle 0x545e8d
mov eax, edi
sub eax, esi
cdq
idiv ecx
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [ebx + 0x588]
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], edi
test ecx, ecx
je 0x545eba
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x545eba
mov eax, dword [ebx + 0x588]
sub edi, dword [eax + 0x558]
mov dword [esp + 0x10], edi
xor eax, eax
xor ecx, ecx
and dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
cmp dword [ebx + 0x558], eax
jle 0x54630e
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x40], edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x5462f9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
je 0x545f16
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x44]
call dword [eax + 0x1f8]
jmp 0x5462f9
mov eax, dword [edi]
lea ecx, [esp + 0x8c]
inc dword [esp + 0x3c]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov eax, dword [esp + 0x14]
mov ecx, edi
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x98]
sub eax, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov eax, dword [edi]
call dword [eax + 0x7c]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x18], eax
call dword [edx + 0x84]
cmp dword [esp + 0x18], 0
mov ecx, eax
mov dword [esp + 0x24], ecx
jg 0x545f82
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
test ecx, ecx
jg 0x545f92
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
mov ecx, eax
mov eax, dword [esp + 0x14]
mov edx, eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x24], edx
cmovg eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
cmp edx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x94]
cmovg edx, ecx
add eax, dword [esp + 0x8c]
sub esi, eax
mov dword [esp + 0x34], edx
cmp dword [esp + 0x3c], 1
mov dword [esp + 0x1c], esi
jle 0x545fdb
sub esi, dword [ebx + 0x570]
mov dword [esp + 0x1c], esi
mov eax, dword [edi]
lea ecx, [esp + 0x84]
push edx
mov edx, dword [esp + 0x28]
push edx
push ecx
mov ecx, edi
call dword [eax + 0x140]
cmp dword [esp + 0x84], 0
jne 0x54607b
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x84], eax
cmp ecx, dword [esp + 0x28]
jne 0x546031
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x94]
push 0
sub eax, esi
pop ecx
cmovs eax, ecx
mov dword [esp + 0x84], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
cmp dword [esp + 0x84], eax
jge 0x546055
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]
cmp dword [esp + 0x84], eax
jle 0x5460cd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov dword [esp + 0x84], eax
jmp 0x5460cd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
cmp dword [esp + 0x84], eax
jge 0x54609f
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 ecx, dword [esp + 0x84]
cmp ecx, eax
jle 0x5460c7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov ecx, eax
mov dword [esp + 0x84], ecx
sub esi, ecx
mov dword [esp + 0x1c], esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
test eax, eax
jne 0x5460ed
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x98]
sub eax, dword [esp + 0x90]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, edi
cmp eax, dword [esp + 0x34]
cmovg eax, dword [esp + 0x34]
mov dword [esp + 0x88], eax
mov eax, dword [edi]
call dword [eax + 0x9c]
cmp dword [esp + 0x88], eax
jge 0x546128
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x88], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x184]
mov ecx, dword [ebx + 0x584]
cmp eax, 4
jne 0x5461cf
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0xc]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [esp + 0x34], esi
test ecx, ecx
je 0x54617f
mov edx, dword [ecx]
call dword [edx + 0xf4]
test al, al
je 0x54617f
mov ecx, dword [ebx + 0x584]
mov eax, dword [ecx + 0x554]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ecx + 0x558]
add esi, eax
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x74], eax
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
sub edx, eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x8c]
add eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
lea eax, [esi + edx]
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], eax
lea esi, [esp + 0x74]
jmp 0x5462a6
cmp eax, 8
jne 0x546241
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x5461fb
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x5461fb
mov eax, dword [ebx + 0x584]
mov ecx, dword [eax + 0x554]
sub ecx, dword [eax + 0x558]
add esi, ecx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edx]
mov dword [esp + 0x54], eax
mov eax, esi
sub eax, dword [esp + 0x88]
sub eax, dword [esp + 0x98]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x84]
add eax, ecx
add eax, edx
sub esi, dword [esp + 0x98]
mov dword [esp + 0x60], esi
lea esi, [esp + 0x54]
mov dword [esp + 0x5c], eax
jmp 0x5462a6
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x546260
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x546260
mov eax, dword [ebx + 0x584]
sub esi, dword [eax + 0x558]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x8c]
mov dword [esp + 0x64], eax
lea eax, [esi + edx]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x8c]
add eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x88]
add eax, esi
lea esi, [esp + 0x64]
add eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x40]
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 + 0x84]
mov ecx, dword [esp + 0x94]
mov esi, dword [ebx + 0x570]
lea eax, [edx + ecx]
add eax, dword [esp + 0x8c]
add eax, esi
add dword [esp + 0x10], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x8c]
add dword [esp + 0x20], eax
lea eax, [edx + ecx]
add eax, esi
mov esi, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x44], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x545ed6
mov eax, dword [ebx + 0x570]
lea esi, [ebp + 8]
imul eax, dword [esp + 0x50]
mov ecx, ebx
push dword [esp + 0x48]
mov edx, dword [ebx]
add eax, dword [esp + 0x24]
push eax
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.00625325
mov esp, ebp
pop ebp
ret 0x14