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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x2af6927
sub esp, 0x50
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x2af637f
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x2af637f
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x2af637f
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x2af63a7
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x2af63a7
mov dword [eax + 8], 0xfffffade
jmp 0x2af63a7
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x2af639d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x2af639d
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
inc dword [0x30f7ccc]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.02af61e0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x2af63d8
xor eax, eax
jmp 0x2af63e4
call fcn.02b00f70
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x2af63a1
nop
lea eax, [0x311f46c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.02b25780
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.02af61e0
movzx eax, byte [esp + 0x10]
test al, al
je 0x2af6547
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x311f480], al
mov eax, dword [0x311eb38]
cmp eax, 1
jne 0x2af645f
mov eax, 1
jmp 0x2af646d
cmp eax, 2
jne 0x2af646b
mov eax, 2
jmp 0x2af646d
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [0x2ec7130]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.02b25780
nop
lea eax, [0x2ec7150]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.02b25780
movzx eax, byte [0x3102ce8]
test al, al
je 0x2af652f
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x3102d18]
mov ecx, dword [0x3102d1c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.02b309c0
mov eax, dword [0x3102d18]
add eax, 1
mov ecx, dword [0x3102d1c]
mov dword [0x3102d18], eax
adc ecx, 0
mov dword [0x3102d1c], ecx
mov eax, dword [0x30f7960]
mov dword [esp + 0x44], eax
mov ecx, dword [0x30f7964]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x2af6576
nop
lea eax, [0x311f46c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.02b25a90
add esp, 0x50
ret
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x2af65ab
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.02ae1eb0
mov eax, dword [esp + 4]
mov ecx, dword [0x30fe74c]
cmp ecx, eax
je 0x2af6567
jmp 0x2af6870
call fcn.02af7e90
lea eax, [0x2d5a238]
mov dword [esp], eax
call fcn.02b3d330
mov eax, dword [0x311e714]
mov dword [0x311f4ac], eax
mov dword [0x311f4b0], eax
mov ecx, dword [0x311e730]
cmp ecx, eax
jge 0x2af65e0
mov dword [0x311f4ac], ecx
lea eax, [0x311f0f0]
mov dword [esp], eax
call fcn.02ae20c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x311f4e8], eax
mov dword [0x311f4e4], ecx
mov dword [0x311f4d4], 0
mov dword [0x311f4d8], 0
mov eax, dword [esp + 0x14]
mov dword [0x311f47c], eax
call fcn.02b3f7c0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x311f4b8], eax
mov dword [0x311f4b4], ecx
mov dword [0x311f4e0], eax
mov dword [0x311f4dc], ecx
movzx eax, byte [0x3102ce8]
test al, al
je 0x2af66a1
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.02b309c0
lea eax, [0x2d5a314]
mov dword [esp], eax
call fcn.02b3d330
lea eax, [0x2d5a23c]
mov dword [esp], eax
call fcn.02b3d330
call fcn.02af8e80
inc dword [0x311f4a8]
lea eax, [0x311f0c0]
mov dword [esp], eax
call fcn.02afcfc0
mov eax, dword [0x311f0e0]
mov ecx, dword [0x311f0e4]
mov dword [0x311f4fc], eax
mov dword [0x311f500], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x2af66ff
mov byte [esp], 0
call fcn.02b21ad0
nop
lea eax, [0x311e710]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.02ae2090
mov eax, dword [0x311e710]
cmp eax, 1
jne 0x2af6728
mov eax, 1
jmp 0x2af672e
cmp eax, 2
sete al
mov byte [0x311e9a4], al
test al, al
je 0x2af673f
mov eax, 1
jmp 0x2af6746
movzx eax, byte [0x311e9a5]
mov byte [0x311e9a0], al
nop
mov dword [0x311f438], 0xffffffff
mov dword [0x311f444], 0xffffffff
call fcn.02af9490
call fcn.02afce20
lea eax, [0x311e708]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.02ae2090
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x311f138], eax
mov dword [0x311f13c], ecx
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x2af6940]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.02b3d330
nop
lea eax, [0x2ec7150]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.02b25a90
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x2af6839
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x2af6831
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x2af683f
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x2af683f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x2af6850
nop
lea eax, [0x2d5a24c]
mov dword [esp], eax
call fcn.02b3d2d0
nop
lea eax, [0x311f46c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.02b25a90
add esp, 0x50
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call fcn.02b155b0
lea eax, [0x2d41210]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.02b15e90
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.02b15c90
lea eax, [0x2d4081f]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.02b15e90
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.02b15b30
lea eax, [0x2d4196e]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.02b15e90
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.02b15b30
call fcn.02b157d0
call fcn.02b15620
lea eax, [0x2d44f9c]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.02b13bb0
nop
call fcn.02b3d440
jmp fcn.02af6310