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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x705034]
xor eax, esp
mov dword [esp + 0x78], 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.0050c75d
mov eax, dword [ebx + 0x560]
lea esi, [ebx + 0x158]
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp + 8], eax
xor esi, esi
mov eax, dword [ebx + 0x564]
add dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x568]
sub dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x56c]
sub dword [ebp + 0x14], eax
cmp dword [ebx + 0x558], esi
jne 0x54d6e6
push esi
push esi
jmp 0x54dc15
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x54d70a
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x54d70a
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 0x54d731
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x54d731
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x698]
test ecx, ecx
jle 0x54d74a
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cdq
idiv ecx
mov dword [ebx + 0x6a0], eax
cmp dword [ebx + 0x6a0], esi
jne 0x54d75c
mov dword [ebx + 0x6a0], 1
mov eax, dword [ebp + 0x10]
mov edi, esi
sub eax, dword [ebp + 8]
cdq
idiv dword [ebx + 0x6a0]
mov ecx, dword [ebx + 0x588]
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x54d7a2
mov edx, dword [ecx]
call dword [edx + 0xf4]
test al, al
je 0x54d7a2
mov eax, dword [ebx + 0x588]
mov eax, dword [eax + 0x554]
sub eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
cdq
idiv dword [ebx + 0x6a0]
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0x584]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
test ecx, ecx
je 0x54d7de
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x54d7de
mov eax, dword [ebx + 0x584]
sub esi, dword [eax + 0x558]
mov dword [esp + 0x28], esi
mov ecx, dword [ebx + 0x588]
mov esi, dword [ebp + 8]
mov dword [esp + 0x3c], esi
test ecx, ecx
je 0x54d80f
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x54d80f
mov eax, dword [ebx + 0x588]
sub esi, dword [eax + 0x558]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], esi
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [ebx + 0x558], ecx
jle 0x54dc12
mov eax, dword [ebx + 0x554]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [esp + 0x30], esi
mov eax, dword [esi]
call dword [eax + 0xf4]
test al, al
je 0x54dbfd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x120]
test al, al
je 0x54d862
mov eax, dword [ebx]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x1f8]
jmp 0x54dbfd
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], eax
mov eax, ecx
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x54da22
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov edx, ecx
mov dword [esp + 0x24], ecx
cmp ecx, dword [ebx + 0x558]
jge 0x54da22
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + edx*4]
mov ecx, edi
mov dword [esp + 0x34], edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x54da0d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
jne 0x54da0d
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov edi, dword [esp + 0x10]
sub edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
sub edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
je 0x54d90c
inc eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x54d90c
sub edi, dword [ebx + 0x570]
jmp 0x54d91b
mov eax, dword [ebx + 0x570]
cdq
sub eax, edx
sar eax, 1
neg eax
add edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp edi, eax
jge 0x54d935
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov edi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x94]
cmp edi, eax
jle 0x54d94f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov edi, eax
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x5c]
push 0x270f
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp dword [esp + 0x5c], eax
jge 0x54d984
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
cmp dword [esp + 0x5c], eax
jle 0x54d9a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
cmp dword [esp + 0x60], eax
jge 0x54d9c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edi, dword [esp + 0x60]
cmp edi, eax
jle 0x54d9e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edi, eax
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x68]
add eax, edi
cmp dword [esp + 0x20], eax
cmovg eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x54da22
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [ebx + 0x558]
jl 0x54d8a1
mov eax, dword [esi]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call dword [eax + 0x6c]
mov ecx, dword [ebx + 0x570]
test ecx, ecx
jns 0x54da3b
add ecx, 1
sar ecx, 1
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
add eax, ecx
sub dword [esp + 0x10], eax
mov eax, esi
cdq
idiv dword [ebx + 0x6a0]
mov edi, dword [esp + 0x74]
add edi, ecx
add edi, dword [esp + 0x14]
mov dword [esp + 0x24], edi
test edx, edx
jne 0x54da6c
sub edi, ecx
mov dword [esp + 0x24], edi
inc esi
mov eax, esi
mov dword [esp + 0x1c], esi
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x54da82
add dword [esp + 0x10], ecx
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
add edx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
sub esi, edi
mov edi, eax
mov dword [esp + 0x18], eax
sub edi, edx
mov dword [esp + 0x34], edx
push edi
mov eax, dword [ecx]
lea edx, [esp + 0x58]
push esi
push edx
call dword [eax + 0x140]
mov eax, dword [esp + 0x54]
test eax, eax
cmove eax, esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
test eax, eax
cmove eax, edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x8c]
cmp dword [esp + 0x54], eax
jge 0x54daf3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
cmp dword [esp + 0x54], eax
jle 0x54db11
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x58], eax
jge 0x54db2f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x58], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
cmp dword [esp + 0x58], eax
jle 0x54db4d
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xa4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x44]
sub eax, dword [esp + 0x54]
add eax, dword [esp + 0x24]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x58]
add eax, dword [esp + 0x34]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
mov dword [esp + 0x48], eax
add eax, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [edi]
mov dword [esp + 0x44], ecx
add ecx, dword [esp + 0x54]
push 1
sub esp, 0x10
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x44]
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 eax, dword [esp + 0x1c]
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x54dbcc
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x570]
add eax, dword [esp + 0x20]
add dword [esp + 0x28], eax
and dword [esp + 0x20], edx
jmp 0x54dbd4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x18]
sub edi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x584]
test ecx, ecx
je 0x54dbfd
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x54dbfd
mov eax, dword [ebx + 0x584]
add edi, dword [eax + 0x558]
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x54d821
push edi
push 0
mov eax, dword [ebx]
lea esi, [ebp + 8]
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]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00621f5c
mov esp, ebp
pop ebp
ret 0x14