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

Disassembly:
push 0xffffffffffffffff
push 0x5b4ff3
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov edx, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x74]
mov edi, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x80]
mov esi, edx
sub esi, eax
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x24], esi
jg 0x54cd4a
mov eax, dword [esp + 0xbc]
mov dword [eax], ebp
mov dword [eax + 4], ebp
jmp 0x54d16e
cmp dword [ebx + 0x144], ebp
jne 0x54cd65
mov eax, dword [esp + 0xbc]
sub ecx, edi
mov dword [eax], esi
mov dword [eax + 4], ecx
jmp 0x54d16e
cmp dword [ebx + 0x170], ebp
jne 0x54cd8a
mov eax, dword [esp + 0xbc]
mov ecx, dword [ebx + 0x174]
mov edx, dword [ebx + 0x178]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x54d16e
push 0x5e2744
push 0x5e2204
xor eax, eax
xor ecx, ecx
lea edi, [ebx + 0x14c]
push edi
mov dword [ebx + 0x174], eax
mov dword [ebx + 0x178], ecx
call fcn.0048e8b0
lea eax, [esp + 0x30]
push eax
call fcn.00428c80
lea ecx, [esp + 0x30]
push ecx
push edi
mov dword [esp + 0xbc], ebp
call fcn.0054bd20
add esp, 8
lea eax, [ebx + 0x150]
call fcn.0054e540
mov edi, dword [esp + 0x40]
mov ecx, edi
sub ecx, dword [esp + 0x3c]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x13], 0
test eax, eax
jle 0x54d097
mov edi, edi
test ebp, ebp
jl 0x54d097
cmp dword [esp + 0x2c], 0x3e8
jge 0x54d097
sub edi, dword [esp + 0x3c]
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x54ce54
call fcn.00588c45
mov edx, dword [esp + 0x3c]
lea ecx, [ebp + ebp*4]
movzx eax, word [edx + ecx*4]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x13c]
mov eax, dword [eax + 0x64]
push 1
lea ecx, [esp + 0x2c]
push ecx
mov esi, eax
call fcn.00565fd0
lea edx, [esp + 0x50]
push edx
call fcn.0053b450
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x24]
add esp, 0xc
cmp eax, esi
jle 0x54ce9a
mov dword [esp + 0x18], eax
mov esi, eax
mov eax, dword [esp + 0x28]
cmp ax, 0xa
jne 0x54cec5
mov eax, dword [ebx + 0x16c]
add eax, esi
add dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0xc
jmp 0x54d080
cmp ax, 0x20
jne 0x54cef4
cmp byte [esp + 0x13], 0
je 0x54cef0
mov edi, ebp
lea esi, [esp + 0x30]
mov byte [esp + 0x13], 0
call fcn.0054e2f0
mov ecx, 0xa
mov word [eax], cx
dec ebp
jmp 0x54d080
mov dword [esp + 0x20], ebp
mov edx, dword [ebx + 0x168]
add edx, dword [esp + 0x48]
add edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x24]
jle 0x54cfb5
call fcn.0053e870
test eax, eax
je 0x54cf93
cmp dword [esp + 0x20], 0
je 0x54cf93
lea esi, [esp + 0xa0]
lea edi, [ebx + 0x150]
mov byte [esp + 0x13], 1
call fcn.00429230
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x90]
push eax
lea esi, [esp + 0x8c]
lea edi, [ebx + 0x150]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
call fcn.0054b1b0
mov ebp, dword [esp + 0x24]
mov ecx, ebp
call fcn.0054e580
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xa8]
push eax
mov esi, edi
call fcn.0054e4b0
dec ebp
mov dword [esp + 0x20], 0
jmp 0x54d080
mov ecx, dword [ebx + 0x16c]
add ecx, esi
add dword [esp + 0x1c], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0xc
dec ebp
jmp 0x54d080
lea esi, [esp + 0x5c]
call fcn.0054bf60
mov byte [esp + 0xb4], 1
mov dx, word [esp + 0x28]
mov edi, ebp
lea esi, [esp + 0x30]
mov word [esp + 0x60], dx
call fcn.0054e2f0
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
call fcn.0054e2f0
movzx ecx, byte [eax + 8]
mov dword [esp + 0x78], ecx
call fcn.0054e2f0
movzx edx, byte [eax + 9]
mov dword [esp + 0x7c], edx
call fcn.0054e2f0
add eax, 0xc
lea edi, [esp + 0x80]
call fcn.00406500
mov edi, ebp
call fcn.0054e2f0
mov eax, dword [eax + 0x10]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x84], eax
add ecx, edi
cmp esi, 0xa
lea eax, [esi + edx]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
jge 0x54d051
mov dword [esp + 0x14], eax
jmp 0x54d05f
mov eax, dword [ebx + 0x168]
add eax, esi
add edx, eax
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x5c]
push ecx
lea edi, [ebx + 0x150]
call fcn.0054e410
lea esi, [esp + 0x5c]
mov byte [esp + 0xb4], 0
call fcn.0054f3b0
inc dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
inc ebp
cmp ebp, dword [esp + 0x50]
jl 0x54ce20
mov ecx, dword [ebx + 0x160]
sub ecx, dword [ebx + 0x15c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x54d118
mov ecx, dword [ebx + 0x160]
sub ecx, dword [ebx + 0x15c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
lea ebp, [edx + ecx - 1]
mov ecx, dword [ebx + 0x160]
sub ecx, dword [ebx + 0x15c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x54d0ff
call fcn.00588c45
mov edi, dword [esp + 0x40]
mov ecx, dword [ebx + 0x15c]
imul ebp, ebp, 0x2c
mov ebp, dword [ecx + ebp + 0x14]
mov dword [ebx + 0x174], esi
mov dword [ebx + 0x178], ebp
mov ebp, dword [esp + 0xbc]
mov eax, dword [ebx + 0x178]
mov edx, dword [ebx + 0x174]
xor esi, esi
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x170], esi
mov dword [ebp], edx
cmp eax, esi
je 0x54d153
call fcn.0054ef20
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.005851f0
add esp, 4
mov edx, dword [esp + 0x30]
push edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.005851f0
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xa8
ret 4