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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54c6ae
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x14]
cmp ecx, 0xe
jae 0x54c04f
mov dword [esp], eax
call fcn.0054d820
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x54c69c
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x14]
cmp ecx, 0xe
jb 0x54c028
mov ecx, dword [eax + 0x10]
mov edx, ecx
and ecx, 0x1f
mov dword [esp + 0x3c], ecx
lea ebx, [ecx + 0x101]
mov dword [esp + 0x18], ebx
cmp ebx, 0x11e
jg 0x54c65e
mov ebp, edx
shr edx, 5
mov dword [eax + 0x10], edx
and edx, 0x1f
mov dword [esp + 0x38], edx
lea esi, [edx + 1]
mov dword [esp + 0x1c], esi
cmp esi, 0x1e
jg 0x54c620
mov edi, ebp
shr ebp, 0xe
mov dword [eax + 0x10], ebp
mov ebp, dword [eax + 0x14]
add ebp, 0xfffffff2
mov dword [eax + 0x14], ebp
shr edi, 0xa
and edi, 0xf
lea ebp, [edi + 4]
mov dword [esp + 0x2c], ebp
xor edi, edi
mov dword [esp + 0x28], edi
cmp edi, ebp
jge 0x54c15e
mov esi, dword [eax + 0x14]
cmp esi, 3
jae 0x54c103
mov dword [esp], eax
call fcn.0054d820
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x54c60e
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov esi, dword [eax + 0x14]
cmp esi, 3
jb 0x54c0c4
mov esi, dword [eax + 0x1044]
test byte [esi], al
mov ebx, dword [eax + 0x10]
cmp edi, 0x13
jae 0x54c607
lea ecx, [0x745ce0]
mov edx, dword [ecx + edi*4]
cmp edx, 0x13
jae 0x54c607
and ebx, 7
mov dword [esi + edx*4], ebx
mov edx, dword [eax + 0x10]
shr edx, 3
mov dword [eax + 0x10], edx
mov edx, dword [eax + 0x14]
add edx, 0xfffffffd
mov dword [eax + 0x14], edx
inc edi
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
cmp edi, ebp
jl 0x54c0bc
cmp ebp, 0x13
jge 0x54c19b
mov edi, dword [eax + 0x1044]
test byte [edi], al
cmp ebp, 0x13
jae 0x54c600
lea esi, [0x745ce0]
mov ebx, dword [esi + ebp*4]
cmp ebx, 0x13
jae 0x54c600
mov dword [edi + ebx*4], 0
inc ebp
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
cmp ebp, 0x13
jl 0x54c163
mov ebp, dword [eax + 0x1044]
test byte [ebp], al
lea edi, [eax + 0x18]
mov dword [esp + 0x70], edi
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x13
mov dword [esp + 0xc], 0x13
call fcn.0054b5a0
movzx eax, byte [esp + 0x10]
test al, al
je 0x54c5bb
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + eax + 0x102]
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x30], edx
cmp edx, eax
jge 0x54c25c
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp], ebp
call fcn.0054d910
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test ecx, ecx
jne 0x54c5a9
cmp eax, 0x10
jge 0x54c39f
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x1040]
test byte [edx], al
mov ebx, dword [esp + 0x30]
cmp ebx, 0x13c
jae 0x54c398
mov dword [edx + ebx*4], eax
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], edx
cmp edx, eax
jl 0x54c1f1
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + 0x1040]
test byte [ebx], al
mov ebp, dword [esp + 0x18]
cmp ebp, 0x13c
ja 0x54c391
mov esi, dword [esp + 0x70]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0x13c
call fcn.0054b5a0
movzx eax, byte [esp + 0x10]
test al, al
je 0x54c34c
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x1040]
test byte [ecx], al
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
cmp edx, ebx
ja 0x54c391
cmp ebx, 0x13c
ja 0x54c391
lea edx, [eax + 0x82c]
mov dword [esp], edx
mov edx, dword [esp + 0x3c]
lea ebx, [edx - 0x3b]
neg ebx
shl edx, 2
add edx, 0x404
lea ebp, [ebx - 1]
sar ebp, 0x1f
xor ebp, 0xffffffff
and edx, ebp
add ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.0054b5a0
movzx eax, byte [esp + 0x10]
test al, al
je 0x54c34c
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x1040]
mov edx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x400]
cmp edx, ecx
jge 0x54c332
mov dword [eax + 0x18], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [0x742120]
mov dword [esp], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
call fcn.0040a8e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x7c
ret
call fcn.004246c0
ud2
call fcn.00424660
ud2
jne 0x54c525
mov eax, dword [esp + 0x30]
test eax, eax
je 0x54c4e0
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + 0x1040]
test byte [ebx], al
lea ebp, [eax - 1]
cmp ebp, 0x13c
jae 0x54c4d9
mov ebx, dword [ebx + eax*4 - 4]
mov ecx, 2
mov ebp, 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], ebx
mov esi, dword [edx + 0x14]
cmp esi, ecx
jae 0x54c426
mov dword [esp], edx
call fcn.0054d820
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x54c4c7
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x14]
mov esi, dword [edx + 0x14]
cmp esi, ecx
jb 0x54c3f0
mov esi, dword [edx + 0x10]
mov edi, esi
shr esi, cl
cmp ecx, 0x20
sbb ebx, ebx
and esi, ebx
mov dword [edx + 0x10], esi
mov esi, dword [edx + 0x14]
sub esi, ecx
mov dword [edx + 0x14], esi
mov esi, 1
shl esi, cl
and ebx, esi
dec ebx
and edi, ebx
lea ebx, [edi + ebp]
lea ebp, [eax + ebx]
mov esi, dword [esp + 0x24]
cmp ebp, esi
jg 0x54c489
mov ecx, dword [esp + 0x34]
xor ebp, ebp
cmp ebp, ebx
jge 0x54c47b
mov edi, dword [edx + 0x1040]
test byte [edi], al
cmp eax, 0x13c
jae 0x54c482
mov dword [edi + eax*4], ecx
inc ebp
inc eax
cmp ebp, ebx
jl 0x54c463
mov ecx, edx
jmp 0x54c24a
call fcn.00424660
ud2
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
lea eax, [0x742120]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call fcn.0040a8e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
call fcn.00424660
ud2
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea eax, [0x742120]
mov dword [esp], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
call fcn.0040a8e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x7c
ret
cmp eax, 0x11
jne 0x54c546
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
mov ecx, 3
mov ebp, 3
xor ebx, ebx
jmp 0x54c3dd
cmp eax, 0x12
jne 0x54c567
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
mov ecx, 7
mov ebp, 0xb
xor ebx, ebx
jmp 0x54c3dd
lea eax, [0x6510cc]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x16
lea eax, [0x742140]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040a8e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x7c
ret
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x742120]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.0040a8e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x7c
ret
call fcn.00424660
ud2
call fcn.00424660
ud2
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x742120]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0040a8e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x742120]
mov dword [esp], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
call fcn.0040a8e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x7c
ret
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x7c
ret
call fcn.00448420
jmp fcn.0054c000