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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x542667
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x54263f
xor ecx, ecx
test ecx, ecx
je 0x542633
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x542618
xor edx, edx
cmp edx, 1
jge 0x542316
mov byte [esp + 0x80], 0
add esp, 0x64
ret
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004da210
mov eax, dword [esp + 8]
test eax, eax
jge 0x54230a
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5425fd
xor ecx, ecx
cmp ecx, 1
jge 0x54234f
mov byte [esp + 0x80], 0
add esp, 0x64
ret
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004da210
mov eax, dword [esp + 8]
test eax, eax
jge 0x542343
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x54]
mov dword [esp], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004dc150
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5425f1
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 4]
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx + 4]
lea esi, [ebp - 1]
test esi, esi
jl 0x5425ea
mov ebx, dword [ebx + ebp*4 - 4]
nop
cmp ebx, 0x10000
jb 0x5425e3
shr ebx, 0x10
mov ecx, 0x10
cmp ebx, 0x100
jb 0x5423f1
shr ebx, 8
add ecx, 8
cmp ebx, 0x100
jae 0x54265a
shl esi, 5
lea ebp, [0x6e2360]
movzx ebx, byte [ebp + ebx]
add ecx, ebx
add ecx, esi
test ecx, 7
je 0x542423
mov byte [esp + 0x80], 0
add esp, 0x64
ret
mov dword [esp + 0x24], eax
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
call fcn.004e6200
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov byte [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea eax, [esp + 0x34]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.004d9c80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004da000
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004d9c80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004da000
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov ebx, dword [esp + 0x30]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.004da4b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx]
mov ebp, dword [esp + 0x2c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.004da4b0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
call fcn.004d9c80
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004da000
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004da000
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.004da210
mov eax, dword [esp + 8]
test eax, eax
sete al
mov byte [esp + 0x80], al
add esp, 0x64
ret
xor ecx, ecx
jmp 0x5423e3
xor ecx, ecx
jmp 0x54240f
mov byte [esp + 0x80], 0
add esp, 0x64
ret
movzx ecx, byte [eax]
test cl, cl
je 0x54260e
mov ecx, 0xffffffff
jmp 0x54233e
mov ecx, 1
jmp 0x54233e
movzx edx, byte [ecx]
test dl, dl
je 0x542629
mov edx, 0xffffffff
jmp 0x542305
mov edx, 1
jmp 0x542305
mov byte [esp + 0x80], 0
add esp, 0x64
ret
movzx ecx, byte [ecx]
test cl, cl
je 0x542650
mov ecx, 0xffffffff
jmp 0x5422ec
mov ecx, 1
jmp 0x5422ec
mov eax, ebx
mov ecx, 0x100
call fcn.0045e2b0
nop
call fcn.0045ccc0
jmp fcn.005422c0