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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x5af536
sub esp, 0x9c
mov eax, dword [esp + 0xbc]
test eax, eax
jne 0x5aeefd
xor ecx, ecx
jmp 0x5aef2d
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0048c8a0
mov eax, dword [esp + 0x14]
test eax, eax
setne al
mov ecx, eax
mov eax, dword [esp + 0xbc]
test cl, cl
jne 0x5af36d
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x5aef80
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x5aef78
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5aef6f
or edx, 0x80
mov ebx, dword [esp + 0x80]
jmp 0x5aef86
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x5aef86
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov ebp, edx
and edx, 0x1f
nop
cmp edx, 0x16
jne 0x5af081
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ecx
test ebp, 0x200
jne 0x5aefb5
lea esi, [0x65b040]
jmp 0x5aefcf
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esi + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x5af009
test edx, 0x200
jne 0x5af009
lea ebx, [0x65b040]
mov ebp, dword [esp + 0xb4]
jmp 0x5af042
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xbc]
mov ebx, eax
mov ebp, ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
cmp ebx, eax
je 0x5af04a
xor eax, eax
jmp 0x5af066
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.004040d0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0xbc]
jmp 0x5af083
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
je 0x5af0b3
cmp edx, 0x16
jne 0x5af0b3
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0048c8a0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xbc]
mov ebp, edx
test ebp, ebp
jne 0x5af11a
test eax, eax
je 0x5af0d1
test eax, 0x200
jne 0x5af0d1
lea ecx, [0x65b040]
mov edx, dword [esp + 0xb4]
jmp 0x5af0fb
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0048ff00
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x64], ebx
test ebp, ebp
je 0x5af13e
test ebp, 0x200
jne 0x5af13e
test eax, eax
mov edx, ecx
lea esi, [0x65b040]
jmp 0x5af174
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xbc]
test edx, edx
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x2c], esi
je 0x5af19e
test eax, 0x200
jne 0x5af19e
lea edi, [0x65b040]
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x50], edi
lea edi, [0x65b040]
jmp 0x5af1d2
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
call eax
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5af313
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x5af215
test ecx, 0x200
jne 0x5af215
lea eax, [0x65b040]
mov ecx, dword [esp + 0xb4]
jmp 0x5af23b
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0046860a
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
call fcn.00409c60
mov ecx, dword [esp + 8]
lea edx, [0x5dda40]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5af290
mov eax, dword [ecx + 4]
jmp 0x5af292
mov eax, ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5af2b1
mov esi, dword [eax + 4]
jmp 0x5af2b3
mov esi, eax
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x98], eax
lea eax, [0x61649b]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004c4e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x9c
ret
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
call fcn.0048e460
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x9c
ret
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0048c8a0
mov eax, dword [esp + 0x14]
mov ecx, eax
and eax, 0x100
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x5af458
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebx
test ecx, ecx
je 0x5af3ca
test ecx, 0x200
jne 0x5af3ca
lea ebp, [0x65b040]
jmp 0x5af3e4
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebp, eax
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0048ffe0
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0048c8a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.0048e460
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
call fcn.005ae4a0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5af4bb
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5af4d8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x9c
ret
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
call fcn.0048c8a0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 8], eax
call fcn.0048e460
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x9c
ret
call fcn.00467000
jmp fcn.005aeed0