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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x238]
cmp eax, dword [ecx + 8]
jbe 0x6af9fb
sub esp, 0x2b8
mov ecx, dword [esp + 0x2bc]
test ecx, ecx
je 0x6af9d7
mov edx, dword [esp + 0x2c0]
test edx, edx
jle 0x6af9ad
test edx, edx
jle 0x6af98f
mov eax, ecx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x6c], eax
xor ecx, ecx
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x2bc]
mov ecx, eax
jmp 0x6af090
mov edx, dword [esp + 0x194]
add edx, 0x38
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebp
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x2bc]
mov ecx, edx
mov edx, dword [esp + 0x2c0]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], esi
lea edi, [esp + 0x280]
mov esi, ecx
call fcn.0045cb04
lea edi, [esp + 0x1a0]
lea esi, [esp + 0x280]
call fcn.0045cb04
mov ecx, dword [0xa770bc]
mov edx, dword [0xa770b8]
test ecx, ecx
jbe 0x6af9f3
mov dword [esp + 0x74], ebx
mov dword [esp + 0x60], ebp
mov eax, dword [edx]
mov ecx, dword [edx + 4]
lea edx, [esp + 0x140]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00446610
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x18], eax
jg 0x6af940
mov ecx, dword [esp + 0x1ac]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jle 0x6af939
mov edx, dword [esp + 0x1b4]
mov ebx, dword [esp + 0x64]
cmp edx, ebx
jle 0x6af932
mov ebx, dword [esp + 0x1bc]
mov ebp, dword [esp + 0x6c]
cmp ebx, ebp
jle 0x6af92b
mov ebp, dword [esp + 0x1c8]
mov esi, ecx
mov ecx, dword [esp + 0x68]
cmp ebp, ecx
jle 0x6af924
mov ecx, dword [esp + 0x74]
inc ecx
mov edi, edx
mov edx, dword [esp + 0x2c0]
cmp ecx, edx
jl 0x6af06a
test edx, edx
jle 0x6af915
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x2bc]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x38], eax
lea eax, [0xa97428]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x78]
jmp 0x6af20a
mov esi, dword [esp + 0x190]
add esi, 0x38
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x40], ecx
mov ecx, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x174], ebx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x2c0]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x190], ecx
lea edi, [esp + 0x248]
mov esi, ecx
call fcn.0045cb04
lea edi, [esp + 0x1d8]
lea esi, [esp + 0x248]
call fcn.0045cb04
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x6af90c
mov esi, dword [0xa770bc]
mov edi, dword [0xa770b8]
test esi, esi
jbe 0x6af9e3
mov esi, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x44], edi
mov dword [esp + 0x178], esi
neg eax
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.0046ec80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x16c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp], 0
mov edx, dword [esp + 0x178]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x1d8]
mov ebx, dword [esp + 0x1dc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00446610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408d50
mov eax, dword [esp + 8]
lea ecx, [0x78aa20]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
lea eax, [0x7e2b88]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov edx, dword [esp + 0x16c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
lea edx, [0x7e2bb8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.00446670
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x198]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ce120
mov eax, dword [esp + 0x14]
mov dword [esp + 0x180], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x48]
neg edx
mov dword [esp], edx
sar edx, 0x1f
mov dword [esp + 4], edx
mov dword [esp + 8], 0xa
call fcn.0046ec80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x164], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov edx, dword [esp + 0x1e0]
mov ebx, dword [esp + 0x1e4]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00408d50
mov eax, dword [esp + 8]
lea ecx, [0x78aa20]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [esp + 0xe0]
mov dword [esp], eax
lea eax, [0x7e2b88]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov edx, dword [esp + 0x164]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], edx
lea edx, [0x7e2bb8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.00446670
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x198]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ce120
mov eax, dword [esp + 0x14]
mov dword [esp + 0x17c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x64]
neg edx
mov dword [esp], edx
sar edx, 0x1f
mov dword [esp + 4], edx
mov dword [esp + 8], 0xa
call fcn.0046ec80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x168], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov edx, dword [esp + 0x1e8]
mov ebx, dword [esp + 0x1ec]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00408d50
mov eax, dword [esp + 8]
lea ecx, [0x78aa20]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [esp + 0xc0]
mov dword [esp], eax
lea eax, [0x7e2b88]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov edx, dword [esp + 0x168]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
lea edx, [0x7e2bb8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.00446670
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x198]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ce120
mov eax, dword [esp + 0x14]
mov dword [esp + 0x184], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x6c]
neg edx
mov dword [esp], edx
sar edx, 0x1f
mov dword [esp + 4], edx
mov dword [esp + 8], 0xa
call fcn.0046ec80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x160], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov edx, dword [esp + 0x1f0]
mov ebx, dword [esp + 0x1f4]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00408d50
mov eax, dword [esp + 8]
lea ecx, [0x78aa20]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [esp + 0xa0]
mov dword [esp], eax
lea eax, [0x7e2b88]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov edx, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
lea edx, [0x7e2bb8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.00446670
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x198]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ce120
mov eax, dword [esp + 0x14]
mov dword [esp + 0x188], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x68]
neg edx
mov dword [esp], edx
sar edx, 0x1f
mov dword [esp + 4], edx
mov dword [esp + 8], 0xa
call fcn.0046ec80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x170], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov edx, dword [esp + 0x1fc]
mov ebx, dword [esp + 0x200]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00408d50
mov eax, dword [esp + 8]
lea ecx, [0x78aa20]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
lea eax, [0x7e2b88]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov edx, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
lea edx, [0x7e2bb8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.00446670
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x198]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ce120
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0x210]
mov edx, eax
xor eax, eax
call fcn.0045c672
mov eax, dword [esp + 0x180]
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x22c], eax
mov dword [esp + 0x234], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x238], eax
mov eax, dword [esp + 0x204]
mov ecx, dword [esp + 0x208]
mov dword [esp + 0x23c], eax
mov dword [esp + 0x240], ecx
mov eax, dword [esp + 0x38]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jb 0x6af8cf
mov ebx, dword [esp + 0x174]
mov ebp, dword [0xa976a0]
mov esi, ecx
imul ecx, eax, 0x38
lea edi, [ebx + ecx]
test ebp, ebp
jne 0x6af892
mov eax, esi
lea esi, [esp + 0x210]
call fcn.0045cb04
mov ecx, dword [esp + 0x40]
inc ecx
mov ebp, dword [esp + 0x2c0]
cmp ecx, ebp
jl 0x6af1cc
mov dword [esp + 0x2c8], ebx
mov dword [esp + 0x2cc], eax
mov dword [esp + 0x2d0], edx
add esp, 0x2b8
ret
mov dword [esp + 0x18c], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edx
lea eax, [0x7c7340]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x210]
mov dword [esp + 8], eax
call fcn.00410e20
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x18c]
jmp 0x6af862
lea ebx, [0x7c7340]
mov dword [esp], ebx
mov ebp, dword [esp + 0x174]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00443250
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x38]
jmp 0x6af842
xor edi, edi
xor esi, esi
jmp 0x6af257
xor edx, edx
xor eax, eax
lea ebx, [0xa97428]
jmp 0x6af876
mov ebp, ecx
jmp 0x6af16a
mov ebx, ebp
jmp 0x6af155
mov edx, ebx
jmp 0x6af142
mov ecx, edx
jmp 0x6af12f
mov ecx, dword [0xa770bc]
mov edx, dword [0xa770b8]
test ecx, ecx
jbe 0x6af9ec
mov eax, dword [edx]
mov ecx, dword [edx + 4]
lea edx, [esp + 0x120]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00446610
mov eax, dword [esp + 0x18]
jmp 0x6af11c
mov eax, 0
mov esi, 0
mov edi, 0
mov ebx, 0
mov ebp, 0
jmp 0x6af182
lea eax, [0xa97428]
mov dword [esp + 0x2c8], eax
mov dword [esp + 0x2cc], 0
mov dword [esp + 0x2d0], 0
add esp, 0x2b8
ret
mov edx, dword [esp + 0x2c0]
jmp 0x6af041
xor eax, eax
mov ecx, esi
call fcn.0045c460
xor eax, eax
call fcn.0045c460
xor eax, eax
call fcn.0045c460
nop
call fcn.0045ae90
jmp fcn.006af000