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

Disassembly:
push 0xffffffffffffffff
push 0x5301aa
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x551e00]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x100]
mov ebx, dword [esp + 0x104]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], ebp
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], 0
mov byte [ebp + 4], 0
mov dword [ebp], 0x408308
push 4
xor edi, edi
mov dword [esp + 0xfc], 0
push edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x38], 1
lea esi, [ebx + 4]
push eax
mov ecx, esi
call fcn.00475cc0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xe0]
mov dword [esp + 0x104], 1
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], edi
mov byte [esp + 0xe0], 0
call fcn.00429170
mov dword [esp + 0xd0], 0x408308
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0xf8], 3
jb 0x4af750
push dword [esp + 0x44]
call fcn.004f9345
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
lea edx, [ecx + 1]
mov byte [esp + 0x44], 0
mov dword [esp + 0x40], 0xbfbbef
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4af790
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.00429350
mov dword [esp + 0x60], 0x408308
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf8], 4
mov word [esp + 0x3c], 0xfeff
lea edx, [ecx + 1]
mov byte [esp + 0x3e], 0
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], 0
mov byte [esp + 0x9c], 0
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4af7f0
sub ecx, edx
lea eax, [esp + 0x3c]
push ecx
push eax
lea ecx, [esp + 0xa4]
call fcn.00429350
mov dword [esp + 0x98], 0x408308
lea ecx, [esp + 0x38]
mov byte [esp + 0xf8], 5
mov word [esp + 0x38], 0xfffe
lea edx, [ecx + 1]
mov byte [esp + 0x3a], 0
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4af850
sub ecx, edx
lea eax, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x88]
call fcn.00429350
mov dword [esp + 0x7c], 0x408308
push dword [esp + 0x74]
cmp dword [esp + 0x7c], 0x10
lea eax, [esp + 0x68]
push 0
cmovae eax, dword [esp + 0x6c]
lea ecx, [esp + 0xdc]
push eax
mov byte [esp + 0x104], 6
call fcn.00475720
test eax, eax
jne 0x4af8ac
lea edi, [eax + 1]
mov eax, dword [esp + 0x74]
jmp 0x4afab3
push dword [esp + 0xac]
cmp dword [esp + 0xb4], 0x10
lea eax, [esp + 0xa0]
push 0
cmovae eax, dword [esp + 0xa4]
lea ecx, [esp + 0xdc]
push eax
call fcn.00475720
test eax, eax
jne 0x4af994
push 0xffffffffffffffff
push dword [esp + 0xb0]
lea edi, [eax + 2]
mov ecx, esi
lea eax, [esp + 0x20]
push eax
call fcn.00475cc0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x104], 7
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
call fcn.00429170
mov dword [esp + 0x44], 0x408308
lea eax, [esp + 0x44]
mov byte [esp + 0xf8], 8
push eax
mov ecx, ebx
call fcn.004723c0
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x44], 0x408308
jb 0x4af95b
push dword [esp + 0x48]
call fcn.004f9345
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0xf8], 6
jb 0x4afab1
push dword [esp + 0x18]
call fcn.004f9345
add esp, 4
jmp 0x4afab1
push dword [esp + 0x90]
cmp dword [esp + 0x98], 0x10
lea eax, [esp + 0x84]
push 0
cmovae eax, dword [esp + 0x88]
lea ecx, [esp + 0xdc]
push eax
call fcn.00475720
test eax, eax
jne 0x4afa75
push 0xffffffffffffffff
push dword [esp + 0x94]
lea edi, [eax + 3]
mov ecx, esi
lea eax, [esp + 0x20]
push eax
call fcn.00475cc0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x104], 9
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
call fcn.00429170
mov dword [esp + 0x44], 0x408308
lea eax, [esp + 0x44]
mov byte [esp + 0xf8], 0xa
push eax
mov ecx, ebx
call fcn.004723c0
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x44], 0x408308
jb 0x4afa43
push dword [esp + 0x48]
call fcn.004f9345
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0xf8], 6
jb 0x4afab1
push dword [esp + 0x18]
call fcn.004f9345
add esp, 4
jmp 0x4afab1
cmp dword [ebx + 0x14], 1
jbe 0x4afab1
cmp dword [esi + 0x14], 0x10
jb 0x4afa85
mov eax, dword [esi]
jmp 0x4afa87
mov eax, esi
cmp dword [esi + 0x14], 0x10
mov cl, byte [eax]
jb 0x4afa93
mov eax, dword [esi]
jmp 0x4afa95
mov eax, esi
mov al, byte [eax + 1]
test cl, cl
jne 0x4afaa7
test al, al
je 0x4afab1
mov edi, 3
jmp 0x4afab1
test al, al
mov ecx, 2
cmove edi, ecx
xor eax, eax
dec edi
je 0x4afb67
dec edi
je 0x4afb4c
dec edi
je 0x4afad1
push ebx
mov ecx, ebp
call fcn.004723c0
jmp 0x4afc73
mov eax, dword [ebx + 0x14]
xor ecx, ecx
dec eax
je 0x4afb31
lea esp, [esp]
cmp dword [esi + 0x14], 0x10
jb 0x4afaea
mov eax, dword [esi]
jmp 0x4afaec
mov eax, esi
cmp dword [esi + 0x14], 0x10
mov al, byte [eax + ecx]
mov byte [esp + 0x17], al
jb 0x4afafd
mov eax, dword [esi]
jmp 0x4afaff
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4afb09
mov edx, dword [esi]
jmp 0x4afb0b
mov edx, esi
mov al, byte [eax + ecx + 1]
mov byte [edx + ecx], al
cmp dword [esi + 0x14], 0x10
jb 0x4afb1c
mov eax, dword [esi]
jmp 0x4afb1e
mov eax, esi
mov dl, byte [esp + 0x17]
mov byte [eax + ecx + 1], dl
add ecx, 2
mov eax, dword [ebx + 0x14]
dec eax
cmp ecx, eax
jb 0x4afae0
cmp dword [esi + 0x14], 0x10
mov eax, dword [ebx + 0x14]
jb 0x4afb3c
mov esi, dword [esi]
shr eax, 1
mov ecx, ebp
push eax
push esi
call fcn.004729e0
jmp 0x4afc73
cmp dword [esi + 0x14], 0x10
mov eax, dword [ebx + 0x14]
jb 0x4afb57
mov esi, dword [esi]
shr eax, 1
mov ecx, ebp
push eax
push esi
call fcn.004729e0
jmp 0x4afc73
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00475cc0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x104], 0xb
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], 0
mov byte [esp + 0xc4], 0
call fcn.00429170
mov dword [esp + 0xb4], 0x408308
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0xf8], 0xd
jb 0x4afbd3
push dword [esp + 0x18]
call fcn.004f9345
add esp, 4
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0xf
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], 0
call fcn.00478ee0
cmp dword [esp + 0xcc], 0x10
lea eax, [esp + 0xb8]
push dword [esp + 0xc8]
cmovae eax, dword [esp + 0xbc]
lea ecx, [esp + 0x48]
push eax
mov byte [esp + 0x100], 0xe
call fcn.00478f60
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
call fcn.004726f0
lea ecx, [esp + 0x44]
mov byte [esp + 0xf8], 0xd
call fcn.00423820
cmp dword [esp + 0xcc], 0x10
mov dword [esp + 0xb4], 0x408308
jb 0x4afc73
push dword [esp + 0xb8]
call fcn.004f9345
add esp, 4
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0x7c], 0x408308
jb 0x4afc94
push dword [esp + 0x80]
call fcn.004f9345
add esp, 4
cmp dword [esp + 0xb0], 0x10
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
mov dword [esp + 0x98], 0x408308
jb 0x4afcd6
push dword [esp + 0x9c]
call fcn.004f9345
add esp, 4
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], 0
mov byte [esp + 0x9c], 0
mov dword [esp + 0x60], 0x408308
jb 0x4afd0f
push dword [esp + 0x64]
call fcn.004f9345
add esp, 4
cmp dword [esp + 0xe8], 0x10
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov dword [esp + 0xd0], 0x408308
jb 0x4afd48
push dword [esp + 0xd4]
call fcn.004f9345
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.004f9e32
add esp, 0xe8
ret 8