Function at 0x6adfd0
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 0x6ae9cb
sub esp, 0x2b8
mov ecx, dword [esp + 0x2bc]
test ecx, ecx
je 0x6ae9a7
mov edx, dword [esp + 0x2c0]
test edx, edx
jle 0x6ae97d
test edx, edx
jle 0x6ae95f
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 0x6ae060
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.0045ca54
lea edi, [esp + 0x1a0]
lea esi, [esp + 0x280]
call fcn.0045ca54
mov ecx, dword [0xa6c654]
mov edx, dword [0xa6c650]
test ecx, ecx
jbe 0x6ae9c3
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.004465b0
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x18], eax
jg 0x6ae910
mov ecx, dword [esp + 0x1ac]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jle 0x6ae909
mov edx, dword [esp + 0x1b4]
mov ebx, dword [esp + 0x64]
cmp edx, ebx
jle 0x6ae902
mov ebx, dword [esp + 0x1bc]
mov ebp, dword [esp + 0x6c]
cmp ebx, ebp
jle 0x6ae8fb
mov ebp, dword [esp + 0x1c8]
mov esi, ecx
mov ecx, dword [esp + 0x68]
cmp ebp, ecx
jle 0x6ae8f4
mov ecx, dword [esp + 0x74]
inc ecx
mov edi, edx
mov edx, dword [esp + 0x2c0]
cmp ecx, edx
jl 0x6ae03a
test edx, edx
jle 0x6ae8e5
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, [0xa8c444]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x78]
jmp 0x6ae1da
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.0045ca54
lea edi, [esp + 0x1d8]
lea esi, [esp + 0x248]
call fcn.0045ca54
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x6ae8dc
mov esi, dword [0xa6c654]
mov edi, dword [0xa6c650]
test esi, esi
jbe 0x6ae9b3
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.0046ebd0
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.004465b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408cf0
mov eax, dword [esp + 8]
lea ecx, [0x7878a0]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
lea eax, [0x7e03c8]
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, [0x7e03f8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.00446610
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.004ce820
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.0046ebd0
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.00408cf0
mov eax, dword [esp + 8]
lea ecx, [0x7878a0]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [esp + 0xe0]
mov dword [esp], eax
lea eax, [0x7e03c8]
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, [0x7e03f8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.00446610
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.004ce820
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.0046ebd0
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.00408cf0
mov eax, dword [esp + 8]
lea ecx, [0x7878a0]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [esp + 0xc0]
mov dword [esp], eax
lea eax, [0x7e03c8]
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, [0x7e03f8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.00446610
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.004ce820
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.0046ebd0
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.00408cf0
mov eax, dword [esp + 8]
lea ecx, [0x7878a0]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [esp + 0xa0]
mov dword [esp], eax
lea eax, [0x7e03c8]
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, [0x7e03f8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.00446610
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.004ce820
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.0046ebd0
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.00408cf0
mov eax, dword [esp + 8]
lea ecx, [0x7878a0]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
lea eax, [0x7e03c8]
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, [0x7e03f8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.00446610
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.004ce820
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.0045c5c2
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 0x6ae89f
mov ebx, dword [esp + 0x174]
mov ebp, dword [0xa8c6b0]
mov esi, ecx
imul ecx, eax, 0x38
lea edi, [ebx + ecx]
test ebp, ebp
jne 0x6ae862
mov eax, esi
lea esi, [esp + 0x210]
call fcn.0045ca54
mov ecx, dword [esp + 0x40]
inc ecx
mov ebp, dword [esp + 0x2c0]
cmp ecx, ebp
jl 0x6ae19c
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, [0x7c4ca0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x210]
mov dword [esp + 8], eax
call fcn.00410dc0
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x18c]
jmp 0x6ae832
lea ebx, [0x7c4ca0]
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.004431f0
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 0x6ae812
xor edi, edi
xor esi, esi
jmp 0x6ae227
xor edx, edx
xor eax, eax
lea ebx, [0xa8c444]
jmp 0x6ae846
mov ebp, ecx
jmp 0x6ae13a
mov ebx, ebp
jmp 0x6ae125
mov edx, ebx
jmp 0x6ae112
mov ecx, edx
jmp 0x6ae0ff
mov ecx, dword [0xa6c654]
mov edx, dword [0xa6c650]
test ecx, ecx
jbe 0x6ae9bc
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.004465b0
mov eax, dword [esp + 0x18]
jmp 0x6ae0ec
mov eax, 0
mov esi, 0
mov edi, 0
mov ebx, 0
mov ebp, 0
jmp 0x6ae152
lea eax, [0xa8c444]
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 0x6ae011
xor eax, eax
mov ecx, esi
call fcn.0045c3b0
xor eax, eax
call fcn.0045c3b0
xor eax, eax
call fcn.0045c3b0
nop
call fcn.0045ade0
jmp fcn.006adfd0