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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
or eax, 0xffffffff
push esi
push edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov edi, ecx
mov ecx, dword [edi + 0x118]
lea eax, [esp + 0x78]
xor ebx, ebx
push eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.00701230
mov ecx, dword [edi + 0x20304]
mov esi, dword [ecx + 0x5c]
mov ecx, dword [esp + 0x78]
mov eax, ecx
cdq
idiv esi
sub ecx, edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x7c]
mov eax, ecx
cdq
idiv esi
mov eax, dword [esp + 0x80]
sub ecx, edx
cdq
idiv esi
mov dword [esp + 0x7c], ecx
cmp edx, ebx
je 0x54abfc
mov eax, esi
sub eax, edx
add dword [esp + 0x80], eax
mov eax, dword [esp + 0x84]
cdq
idiv esi
cmp edx, ebx
je 0x54ac13
sub esi, edx
add dword [esp + 0x84], esi
mov edx, dword [esp + 0x84]
add edx, 0xfffffff8
cmp ecx, edx
mov dword [esp + 0x10], ecx
jg 0x54b22b
mov esi, dword [ebp + 8]
lea esp, [esp]
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
add ecx, 0xfffffff8
cmp eax, ecx
mov dword [esp + 0xc], eax
jg 0x54b20e
lea ebx, [ebx]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [edi + 0x20304]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
call fcn.00607d50
test eax, eax
je 0x54b1f1
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], edx
push ecx
mov ecx, dword [edi + 0x118]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x60], eax
call fcn.00701440
mov eax, dword [esp + 0xc]
add eax, 8
push 0xffffffffffffffff
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [edi + 0x118]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x60], eax
call fcn.00701440
mov eax, dword [esp + 0xc]
add eax, 8
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
add eax, 8
mov dword [esp + 0x54], eax
push 0xffffffffffffffff
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [edi + 0x118]
call fcn.00701440
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add eax, 8
mov dword [esp + 0x54], eax
push 0xffffffffffffffff
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [edi + 0x118]
mov dword [esp + 0x5c], edx
call fcn.00701440
mov eax, dword [esp + 0x10]
cdq
and edx, 7
add eax, edx
sar eax, 3
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ecx + 4], eax
mov edx, dword [edi + 0x20304]
mov ecx, dword [edx + 0xb0]
mov dword [esp + 0x20], eax
call fcn.006394d0
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x54af45
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jge 0x54adc1
mov eax, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x74]
jmp 0x54adc5
mov eax, dword [esp + 0x5c]
add edx, edx
add ecx, ecx
add edx, edx
add ecx, ecx
add edx, edx
add ecx, ecx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x6c], ecx
lea ecx, [edx*8]
lea edx, [eax*8]
push 0xffffffffffffffff
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [edi + 0x118]
mov dword [esp + 0x68], edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.00701440
mov ecx, dword [edi + 0x118]
push 0xffffffffffffffff
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00701440
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push 0xf800
sub esp, 8
mov eax, esp
add ecx, 8
mov dword [eax + 4], ecx
add edx, 8
mov dword [eax], edx
mov ecx, dword [esp + 0x54]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
push 0xf800
sub esp, 8
mov eax, esp
mov dword [eax + 4], ecx
add edx, 8
mov dword [eax], edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
sub esp, 8
mov eax, esp
add ecx, 8
mov dword [eax + 4], ecx
mov dword [eax], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 0xf800
sub esp, 8
mov eax, esp
add ecx, 8
add edx, 8
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0xf800
sub esp, 8
mov eax, esp
mov dword [eax + 4], ecx
add edx, 8
mov dword [eax], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
sub esp, 8
mov eax, esp
add ecx, 8
mov dword [eax + 4], ecx
mov dword [eax], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 0xf800
sub esp, 8
mov eax, esp
add ecx, 4
mov dword [eax + 4], ecx
add edx, 4
mov dword [eax], edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
sub esp, 8
mov eax, esp
add ecx, 4
add edx, 4
mov dword [eax + 4], ecx
mov dword [eax], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov cx, word [0x860af8]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [edi + 0x20304]
mov ecx, dword [ecx + 0xb0]
push edx
push eax
call fcn.0063a580
cmp dword [0x860af8], ebx
jle 0x54af79
xor edx, edx
cmp eax, ebx
sete dl
mov eax, edx
cmp eax, ebx
jne 0x54b1f1
push 0xffff
sub esp, 8
mov eax, esp
sub esp, 8
cmp dword [0x9079f0], ebx
jne 0x54afe4
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x4c]
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x30]
push 0xffff
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x2c]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
jmp 0x54b08d
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x4c]
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x28]
push 0xffff
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x2c]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x30]
push 0xffff
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x34]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x30]
push 0xffff
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x44]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov eax, dword [0x860af8]
cmp eax, ebx
jle 0x54b1f1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x20304]
mov ecx, dword [eax + 0xb0]
call fcn.0063aad0
movsx eax, ax
sub dword [esp + 0x3c], eax
sub dword [esp + 0x24], eax
sub dword [esp + 0x2c], eax
sub dword [esp + 0x34], eax
push 0xff
sub esp, 8
mov eax, esp
sub esp, 8
cmp dword [0x9079f0], ebx
jne 0x54b13e
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x4c]
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x30]
push 0xff
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x2c]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
jmp 0x54b1e7
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x4c]
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x28]
push 0xff
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x2c]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x30]
push 0xff
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x34]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x30]
push 0xff
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x44]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x80]
add eax, 8
add ecx, 0xfffffff8
cmp eax, ecx
mov dword [esp + 0xc], eax
jle 0x54ac50
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
add eax, 8
add edx, 0xfffffff8
cmp eax, edx
mov dword [esp + 0x10], eax
jle 0x54ac30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4