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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54b09d
sub esp, 0x6c
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 3
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.00518cb0
movzx eax, byte [esp + 0xc]
test al, al
je 0x54b086
jmp 0x54af35
nop
mov eax, dword [esp + 0x40]
test eax, eax
je 0x54af35
mov word [esp + 0x22], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
nop
nop
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
cmp edx, 2
jge 0x54af09
xor eax, eax
xor edx, edx
test edx, edx
je 0x54af02
test eax, eax
jbe 0x54b096
movzx ebx, byte [edx]
cmp eax, 1
jbe 0x54b096
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
mov word [esp + 0x22], bx
mov eax, 1
test al, al
jne 0x54aed4
mov eax, 1
test al, al
jne 0x54aecb
cmp dword [ecx + 4], 1
jg 0x54abe0
movzx eax, word [esp + 0x22]
cmp ax, 5
jne 0x54ad54
mov byte [esp + 0x21], 0
nop
nop
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
cmp ebx, 1
jge 0x54ad30
xor eax, eax
xor edx, edx
test edx, edx
je 0x54ad2c
test eax, eax
jbe 0x54b08f
movzx eax, byte [edx]
mov byte [esp + 0x21], al
mov eax, 1
test al, al
je 0x54ad25
cmp byte [esp + 0x21], 1
je 0x54acfa
mov eax, 1
test al, al
jne 0x54acf1
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x54acf1
nop
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x54abe0
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
nop
nop
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 3
lea eax, [ecx + 0x14]
mov dword [esp + 8], eax
call fcn.00518cb0
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x74]
jmp 0x54acd0
mov eax, 1
jmp 0x54acd0
xor eax, eax
jmp 0x54acc0
dec ebx
mov dword [esp + 0x4c], ebx
lea ebx, [eax - 1]
mov dword [esp + 0x50], ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add ebx, edx
mov dword [esp + 0x48], ebx
mov eax, 1
jmp 0x54aca4
cmp ax, 0x12
jne 0x54abe0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
nop
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
call fcn.00518cb0
movzx eax, byte [esp + 0xc]
test al, al
je 0x54aec2
nop
mov eax, dword [esp + 0x28]
test eax, eax
je 0x54aec2
nop
mov eax, dword [esp + 0x28]
test eax, eax
je 0x54aeb9
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
nop
nop
lea eax, [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x30]
mov dword [esp + 8], ecx
call fcn.00518cb0
movzx eax, byte [esp + 0xc]
test al, al
je 0x54aeb0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x54aeb0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x20]
lea esi, [ebx + 1]
cmp esi, edx
ja 0x54ae5b
lea edx, [ebx + 1]
mov dword [ecx + 0x24], edx
lea edx, [ebx + ebx*2]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [ebp + edx*4 + 4], esi
mov dword [ebp + edx*4 + 8], ebx
lea edi, [ebp + edx*4]
mov ebx, dword [0x8a6100]
test ebx, ebx
jne 0x54ae51
mov dword [ebp + edx*4], eax
jmp 0x54adad
call fcn.0044d090
jmp 0x54adad
lea eax, [0x633980]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.00438ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x28], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x54aea6
mov dword [ebx + 0x20], eax
mov ebx, ecx
mov ebp, eax
mov ecx, dword [esp + 0x74]
jmp 0x54ae1d
lea edi, [ebx + 0x20]
call fcn.0044d090
jmp 0x54ae99
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov ecx, dword [esp + 0x74]
jmp 0x54acdb
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
nop
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.00518cb0
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x74]
jmp 0x54ac63
xor eax, eax
jmp 0x54ac56
lea ebp, [edx - 2]
mov dword [esp + 0x40], ebp
lea ebp, [eax - 2]
mov dword [esp + 0x44], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, ebx
mov dword [esp + 0x3c], ebp
mov eax, 2
mov edx, ebx
jmp 0x54ac27
nop
mov eax, dword [esp + 0x58]
test eax, eax
je 0x54b07d
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
nop
nop
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 3
lea ecx, [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.00518cb0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x54b053
mov eax, 1
test al, al
jne 0x54b04a
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
lea esi, [ebx + 1]
cmp esi, edx
ja 0x54affb
lea edx, [ebx + 1]
mov dword [ecx + 4], edx
lea edx, [ebx + ebx*2]
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov dword [ebp + edx*4 + 4], esi
mov dword [ebp + edx*4 + 8], ebx
lea edi, [ebp + edx*4]
mov ebx, dword [0x8a6100]
test ebx, ebx
jne 0x54aff1
mov dword [ebp + edx*4], eax
jmp 0x54abe0
call fcn.0044d090
jmp 0x54abe0
lea eax, [0x633980]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.00438ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x74]
mov dword [edi + 8], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x54b043
mov dword [edi], eax
mov ebx, ecx
mov ebp, eax
mov ecx, edi
jmp 0x54afbd
call fcn.0044d090
jmp 0x54b038
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
nop
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.00518cb0
movzx eax, byte [esp + 0xc]
xor eax, 1
jmp 0x54afa2
mov byte [esp + 0x78], 1
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
call fcn.00427150
ud2
call fcn.00427150
ud2
call fcn.0044b940
jmp fcn.0054ab80