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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54cb0e
sub esp, 0x48
mov edx, dword [esp + 0x68]
test edx, edx
je 0x54caba
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x54cab8
test edx, edx
je 0x54cab1
mov edx, dword [edx]
mov dword [esp + 0x3c], ebx
cmp edx, 0xffffffff
jne 0x54ca02
nop
lea edx, [ebx - 1]
cmp edx, 0x13
jae 0x54caca
mov ecx, dword [0x815e14]
mov edx, dword [0x815e10]
cmp ecx, ebx
jbe 0x54cac3
movzx eax, byte [ebx + edx]
mov dword [esp + 0x40], eax
lea ecx, [0x633cc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00442930
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00489c50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x54c986
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x48
ret
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.0054c540
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
add esp, 0x48
ret
test edx, edx
jne 0x54caaa
mov edx, dword [esp + 0x54]
mov ebp, dword [edx]
mov esi, dword [ebp + 8]
mov ebp, dword [ebp + 4]
lea edi, [esi - 1]
test edi, edi
jl 0x54caa4
mov ebp, dword [ebp + esi*4 - 4]
nop
cmp ebp, 0x10000
jb 0x54caa0
shr ebp, 0x10
mov eax, 0x10
cmp ebp, 0x100
jb 0x54ca9c
shr ebp, 8
lea esi, [eax + 8]
cmp ebp, 0x100
jae 0x54cb01
shl edi, 5
mov eax, edx
lea edx, [0x7e6380]
movzx edx, byte [ebp + edx]
add edx, esi
add edx, edi
lea ebp, [edx + 7]
sar ebp, 0x1f
shr ebp, 0x1d
lea edx, [ebp + edx + 7]
lea ebp, [ebx - 1]
cmp ebp, 0x13
jae 0x54cae9
mov ecx, dword [0x815e14]
mov ebp, dword [0x815e10]
cmp ecx, ebx
jbe 0x54cae2
sar edx, 3
lea ecx, [edx - 2]
movzx edx, byte [ebx + ebp]
sub ecx, edx
mov eax, ecx
jmp 0x54c90c
mov esi, eax
jmp 0x54ca44
xor eax, eax
jmp 0x54ca36
mov eax, edx
xor edx, edx
jmp 0x54ca64
mov eax, edx
jmp 0x54c90c
xor edx, edx
jmp 0x54c8da
test edx, edx
mov ebx, dword [esp + 0x58]
jmp 0x54c8d2
mov eax, ebx
call fcn.0045ad70
lea eax, [0x633ac0]
mov dword [esp], eax
lea eax, [0x6c4870]
mov dword [esp + 4], eax
call fcn.00430630
mov eax, ebx
call fcn.0045ad70
lea eax, [0x633ac0]
mov dword [esp], eax
lea eax, [0x6c4868]
mov dword [esp + 4], eax
call fcn.00430630
mov eax, ebp
mov ecx, 0x100
call fcn.0045ad70
nop
call fcn.00459790
jmp fcn.0054c8a0