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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54fb9f
sub esp, 0x54
mov eax, dword [esp + 0x58]
movzx ecx, word [eax]
test cx, 0x80
jne 0x54f4dc
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x54
ret
mov ecx, dword [esp + 0x60]
cmp ecx, 2
jl 0x54f497
mov edx, dword [esp + 0x5c]
cmp byte [edx], 0x5c
jne 0x54f497
movzx ebx, byte [edx + 1]
cmp bl, 0x70
je 0x54f4fc
cmp bl, 0x50
jne 0x54f497
cmp bl, 0x50
jne 0x54fb74
mov ebx, 0xffffffff
mov dword [esp + 0x28], ebx
lea eax, [ecx - 2]
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.00551380
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 8]
test eax, eax
jne 0x54fb37
cmp esi, 0x7b
je 0x54f959
mov ecx, dword [esp + 0x60]
mov edx, ecx
sub ecx, ebx
cmp ecx, edx
ja 0x54fb99
cmp ecx, 2
jb 0x54fb8f
lea eax, [ecx - 2]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 2
mov esi, dword [esp + 0x5c]
add eax, esi
test edx, edx
je 0x54f950
cmp byte [eax], 0x5e
jne 0x54f950
mov edi, dword [esp + 0x28]
xchg edi, ebx
neg ebx
xchg edi, ebx
dec edx
mov dword [esp + 0x34], edx
neg edx
sar edx, 0x1f
and edx, 1
add eax, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x28], edi
cmp edx, 3
jne 0x54f831
cmp word [eax], 0x6e41
jne 0x54f831
cmp byte [eax + 2], 0x79
jne 0x54f831
mov eax, dword [0x74d560]
mov edx, eax
test eax, eax
je 0x54f7a3
mov ecx, dword [esp + 0x58]
movzx esi, word [ecx]
test si, 1
jne 0x54f693
test edi, edi
jle 0x54f665
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00550b90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x54
ret
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00550d60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x54f62c
test edx, edx
je 0x54f5fc
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x28]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00550b90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
call fcn.00550b90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edx
lea edi, [ebx + 0x20]
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x54f799
mov dword [ebx + 0x20], eax
mov dword [esp], edi
call fcn.005503a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x54f760
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.005508f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x54f62c
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.00550a70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x54f62c
call fcn.0045df70
jmp 0x54f70b
lea eax, [0x5cac40]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x5f4e89]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x54f81f
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x63a184]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x54
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.0045df70
mov eax, ecx
jmp 0x54f7dc
mov dword [esp + 0x30], edx
mov dword [esp + 0x4c], eax
mov ecx, dword [0x7528d8]
lea ebx, [0x5bff40]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0040f4f0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x54f8b2
mov dword [esp + 0x44], eax
mov eax, dword [0x7528dc]
lea ecx, [0x5bff40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0040f4f0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
jmp 0x54f5e2
mov eax, dword [0x7528e8]
lea ecx, [0x5bff40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
call fcn.0040f4f0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x54f901
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
xor eax, eax
xor edx, edx
jmp 0x54f5e2
mov dword [esp + 0x48], eax
mov eax, dword [0x7528e0]
lea ecx, [0x5bff40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0040f4f0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
jmp 0x54f5e2
mov edi, dword [esp + 0x28]
jmp 0x54f5ac
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x7d
call fcn.004c7ae0
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x54fa44
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x60]
cmp ebx, edx
ja 0x54fb88
sub edx, ecx
dec edx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ebx
mov esi, dword [esp + 0x5c]
add edx, esi
cmp ecx, 3
jb 0x54fb7e
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], edx
lea eax, [ecx - 3]
mov dword [esp + 0x34], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 3
add eax, esi
mov dword [esp + 0x50], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00551280
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x54fa07
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
jmp 0x54f57e
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x54
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00551280
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x54fafa
lea eax, [0x5cac40]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x5f4e89]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x54fae8
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x63a184]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x54
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.0045df70
mov eax, ecx
jmp 0x54faa5
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x54
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x54
ret
mov ebx, 1
jmp 0x54f50a
mov eax, 3
call fcn.0045e050
mov ecx, ebx
call fcn.0045e010
mov eax, 2
call fcn.0045e050
call fcn.0045e010
nop
call fcn.0045ca10
jmp fcn.0054f470