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

Disassembly:
push 0xffffffffffffffff
push 0x509bdc
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x806d00]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [esp + 0x68]
mov edi, dword [0x6abc40]
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push ecx
mov dword [eax], 0xffffffff
mov eax, esp
mov dword [eax], 0x1401
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], esp
xor ebx, ebx
push eax
mov ecx, esi
mov dword [esp + 0x40], ebx
call edi
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push ecx
mov dword [eax], 0xffffffff
mov eax, esp
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esp
push ecx
mov ecx, esi
mov dword [esp + 0x6c], ebx
mov dword [eax], 0x102
call edi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x68], 1
call fcn.004016e0
add esp, 8
mov edi, dword [0x6abbcc]
mov ebp, dword [0x6ab560]
mov ebx, dword [0x6abbd0]
mov eax, dword [esp + 0x40]
mov byte [esp + 0x60], 2
mov ecx, dword [esp + 0x3c]
mov edx, ecx
inc ecx
mov dword [esp + 0x3c], ecx
test edx, edx
jne 0x4af844
cmp eax, dword [esp + 0x44]
je 0x4af844
push eax
lea ecx, [esp + 0x28]
call dword [0x6abc10]
mov byte [esp + 0x60], 3
cmp dword [esp + 0x3c], 0
je 0x4af825
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call edi
push 0x6b5288
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x6c], 4
call fcn.00401090
lea edx, [esp + 0x30]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x78], 5
call fcn.00401010
add esp, 0x18
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 7
call dword [0x6abc18]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 8
call dword [0x6abc18]
push ecx
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esp
push ecx
mov dword [eax], 0x6000
call ebp
lea edx, [esp + 0x20]
push edx
call ebx
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 3
call dword [0x6abc18]
dec dword [esp + 0x3c]
jmp 0x4af790
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 2
call dword [0x6abc18]
mov eax, dword [esp + 0x40]
add eax, 4
mov dword [esp + 0x40], eax
jmp 0x4af763
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x60], 1
call dword [0x6abbf0]
test al, al
jne 0x4af88e
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea ebx, [eax + ecx*4 + 0x14]
lea ebp, [eax + edx*4 + 0x14]
mov dword [esp + 0x2c], eax
cmp ebp, ebx
je 0x4af880
sub ebx, 4
mov ecx, ebx
call dword [0x6abc18]
cmp ebx, ebp
jne 0x4af871
mov eax, dword [esp + 0x2c]
push eax
call dword [0x6abbf4]
add esp, 4
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.004016e0
add esp, 8
mov ebp, dword [0x6abbb8]
mov ebx, dword [0x6abbdc]
mov eax, dword [esp + 0x50]
mov byte [esp + 0x60], 9
mov ecx, dword [esp + 0x4c]
mov edx, ecx
inc ecx
mov dword [esp + 0x4c], ecx
test edx, edx
jne 0x4af9a0
cmp eax, dword [esp + 0x54]
je 0x4af9a0
push eax
lea ecx, [esp + 0x2c]
call dword [0x6abc10]
mov byte [esp + 0x60], 0xa
cmp dword [esp + 0x4c], 0
je 0x4af981
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call edi
push 0x6b5288
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x6c], 0xb
call fcn.00401090
lea edx, [esp + 0x34]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x78], 0xc
call fcn.00401010
add esp, 0x18
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 0xe
call dword [0x6abc18]
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 0xf
call dword [0x6abc18]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call ebp
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x64], 0x10
call fcn.004af6b0
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 0xf
call ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0xa
call dword [0x6abc18]
dec dword [esp + 0x4c]
jmp 0x4af8e2
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 9
call dword [0x6abc18]
mov eax, dword [esp + 0x50]
add eax, 4
mov dword [esp + 0x50], eax
jmp 0x4af8b5
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x60], 1
call dword [0x6abbf0]
test al, al
jne 0x4af9fc
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea ecx, [eax + ecx*4 + 0x14]
mov dword [esp + 0x2c], eax
lea eax, [eax + edx*4 + 0x14]
mov dword [esp + 0x30], eax
cmp eax, ecx
je 0x4af9ee
jmp 0x4af9d7
mov ecx, dword [esp + 0x28]
sub ecx, 4
mov dword [esp + 0x28], ecx
call dword [0x6abc18]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x28], eax
jne 0x4af9d3
mov ecx, dword [esp + 0x2c]
push ecx
call dword [0x6abbf4]
add esp, 4
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call edi
mov esi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 0x11
call dword [0x6abba8]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 0x12
call ebp
push esi
mov ecx, eax
mov byte [esp + 0x64], 0x13
call dword [0x6ab6a8]
test al, al
lea ecx, [esp + 0x30]
sete byte [esp + 0x17]
mov byte [esp + 0x60], 0x12
call ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 0x11
call dword [0x6abc18]
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 1
call dword [0x6abc18]
cmp byte [esp + 0x17], 0
mov ebp, 1
jne 0x4afa70
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x60], 0
call dword [0x6abbf0]
test al, al
jne 0x4afab9
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea edi, [eax + edx*4 + 0x14]
mov ebx, eax
cmp edi, esi
je 0x4afaaf
jmp 0x4afaa0
sub esi, 4
mov ecx, esi
call dword [0x6abc18]
cmp esi, edi
jne 0x4afaa0
push ebx
call dword [0x6abbf4]
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x60], 0xffffffff
call dword [0x6abbf0]
test al, al
jne 0x4afb09
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea edi, [eax + edx*4 + 0x14]
mov ebx, eax
cmp edi, esi
je 0x4afaff
jmp 0x4afaf0
sub esi, 4
mov ecx, esi
call dword [0x6abc18]
cmp esi, edi
jne 0x4afaf0
push ebx
call dword [0x6abbf4]
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret