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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4af6f1
sub esp, 0x5c
mov eax, dword [esp + 0x68]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x38], eax
nop
cmp eax, 0x11
je 0x4af386
cmp eax, 0x17
jne 0x4af6b6
cmp eax, 0x11
jne 0x4af3a9
nop
test ecx, 0x60
jne 0x4af399
test ecx, 0x100
jne 0x4af3a9
mov dword [esp], ecx
call fcn.004a94e0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
nop
test ecx, ecx
je 0x4af3b6
test ecx, 0x60
je 0x4af3c6
mov dword [esp], ecx
call fcn.004a93d0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
mov ebx, edx
and edx, 0x1f
mov dword [esp + 0x34], edx
nop
cmp edx, 0x11
je 0x4af44b
cmp edx, 0x17
je 0x4af44b
cmp edx, 0x18
jne 0x4af43a
mov ebp, dword [esp + 0x60]
movzx esi, byte [ebp + 0xf]
and esi, 0x1f
cmp esi, 0x12
ja 0x4af407
cmp esi, 0x11
jne 0x4af3fd
mov esi, dword [ebp + 0x20]
jmp 0x4af427
cmp esi, 0x12
jne 0x4af425
mov esi, dword [ebp + 0x20]
jmp 0x4af427
cmp esi, 0x15
jne 0x4af411
mov esi, dword [ebp + 0x24]
jmp 0x4af427
cmp esi, 0x16
jne 0x4af41b
mov esi, dword [ebp + 0x20]
jmp 0x4af427
cmp esi, 0x17
jne 0x4af425
mov esi, dword [ebp + 0x20]
jmp 0x4af427
xor esi, esi
movzx esi, byte [esi + 0xf]
and esi, 0x1f
cmp esi, 8
xchg esi, ebx
sete bl
xchg esi, ebx
jmp 0x4af440
mov ebp, dword [esp + 0x60]
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4af451
jmp 0x4af67c
mov ebp, dword [esp + 0x60]
xor esi, esi
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
nop
test ebx, ebx
je 0x4af464
test ebx, 0x60
je 0x4af485
mov dword [esp], ebx
call fcn.004a93d0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
movzx esi, byte [esp + 0x23]
movzx edi, byte [ebp + 0xf]
and edi, 0x1f
cmp edi, 0x12
ja 0x4af4a5
cmp edi, 0x11
jne 0x4af49b
mov edi, dword [ebp + 0x20]
jmp 0x4af4c5
cmp edi, 0x12
jne 0x4af4c3
mov edi, dword [ebp + 0x20]
jmp 0x4af4c5
cmp edi, 0x15
jne 0x4af4af
mov edi, dword [ebp + 0x24]
jmp 0x4af4c5
cmp edi, 0x16
jne 0x4af4b9
mov edi, dword [ebp + 0x20]
jmp 0x4af4c5
cmp edi, 0x17
jne 0x4af4c3
mov edi, dword [ebp + 0x20]
jmp 0x4af4c5
xor edi, edi
mov dword [esp + 0x54], edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x4af4d7
cmp eax, 0x11
jmp 0x4af5a8
mov esi, dword [esp + 0x6c]
movzx ebx, byte [esi + 0xf]
and ebx, 0x1f
cmp ebx, 0x12
ja 0x4af4fb
cmp ebx, 0x11
jne 0x4af4f1
mov ebx, dword [esi + 0x20]
jmp 0x4af51b
cmp ebx, 0x12
jne 0x4af519
mov ebx, dword [esi + 0x20]
jmp 0x4af51b
cmp ebx, 0x15
jne 0x4af505
mov ebx, dword [esi + 0x24]
jmp 0x4af51b
cmp ebx, 0x16
jne 0x4af50f
mov ebx, dword [esi + 0x20]
jmp 0x4af51b
cmp ebx, 0x17
jne 0x4af519
mov ebx, dword [esi + 0x20]
jmp 0x4af51b
xor ebx, ebx
test edi, edi
je 0x4af533
mov dword [esp + 0x44], eax
lea eax, [0x7767c4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
jmp 0x4af543
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x28], eax
xor edi, edi
mov eax, dword [esp + 0x4c]
test ebx, ebx
je 0x4af557
mov dword [esp + 0x3c], eax
lea eax, [0x7767c4]
mov dword [esp + 0x24], eax
jmp 0x4af55f
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor ebx, ebx
lea eax, [0x70dce7]
mov dword [esp], eax
mov dword [esp + 4], 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.004af040
mov eax, dword [esp + 0x38]
cmp eax, 0x11
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
je 0x4af5bb
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 0x11
jmp 0x4af5eb
nop
mov dword [esp], ebp
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004ace20
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
cmp eax, 0x11
mov edx, eax
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x54]
mov eax, ebp
mov ecx, dword [esp + 0x64]
je 0x4af611
cmp edx, 0x17
jne 0x4af600
mov edx, dword [esp + 0x70]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
jmp 0x4af650
mov edx, eax
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 4]
mov ebx, dword [eax]
mov eax, edx
mov edx, esi
jmp 0x4af650
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x58], ecx
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004ace20
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x54]
mov edx, esi
mov ebx, dword [esp + 0x70]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
call fcn.00463cf0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
lea eax, [0x6d5460]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x70dce7]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
lea ecx, [0x6c72a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004385d0
lea eax, [0x6d5460]
mov dword [esp], eax
call fcn.0040c4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x70dce7]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea ecx, [0x6c72a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004385d0
nop
call fcn.00467590
jmp fcn.004af350