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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
mov dword [esp + 0xc], eax
movzx eax, word [ecx]
cmp ax, 0x40
jle 0x6adb25
push 0x40
push 0x100acc54
call fcn.0065d6b8
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x80
je 0x6adb35
mov dword [esp + 0x14], 1
jmp 0x6adb3c
movsx edx, ax
mov dword [esp + 0x14], edx
mov esi, dword [edi]
mov edi, dword [esp + 0x14]
shl edi, 6
add edi, 0x27
and edi, 0xfffffff8
lea ebx, [edi + 0x264]
mov ecx, ebx
mov dword [esp + 0x10], esi
call fcn.0065b758
mov dword [esp + 0x18], eax
test eax, eax
je 0x6adb70
push ebx
push 0
push eax
call fcn.006d1728
add esp, 0xc
cmp byte [esi + 0x1e], 0
jne 0x6ae13e
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esi], ebx
mov dword [esi + 8], ecx
call fcn.00671918
mov dx, word [ebp + 0x18]
add edi, esi
push 0x104
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], edi
mov word [esi + 4], dx
lea esi, [edi + 0x160]
push 0
push esi
mov dword [esp + 0x34], edi
call fcn.006d1728
mov dword [edi], ebx
mov dword [esp + 0x6c], ebx
mov ebx, dword [ebp + 0x10]
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x58]
lea ecx, [edi + 0x20]
push ebx
push edx
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 8
mov dword [edi + 0x1c], ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x60], 0x1002adf0
mov dword [esp + 0x64], eax
call fcn.0067cb18
push 0x45
push ebx
push edi
call fcn.006a9d68
add esp, 0x14
test ebx, ebx
je 0x6adc37
cmp dword [esp + 0x14], 0
je 0x6adc20
mov eax, ebx
call fcn.0067fd78
test eax, eax
je 0x6adc37
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
push 8
push ecx
push ebx
push edx
call fcn.00682cf8
add esp, 0x10
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ax, word [ecx]
mov dword [esp + 0x20], 0
jge 0x6adc8f
lea ebx, [ecx + 0x14]
mov eax, dword [ebx + 0xc]
mov edx, dword [esi]
mov dword [esi + edx*4 + 4], eax
inc dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x6adc7c
test byte [eax + 0x22], 0x10
je 0x6adc7c
mov ecx, dword [esp + 0x20]
mov eax, 1
xor edx, edx
call fcn.006f4888
or dword [edi + 8], eax
or dword [edi + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
movsx edx, word [ecx]
inc eax
add ebx, 0x38
cmp eax, edx
mov dword [esp + 0x20], eax
jl 0x6adc4c
mov esi, dword [edi + 0x14]
sub esi, 1
js 0x6adcaa
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
call fcn.006aac18
add esp, 0xc
sub esi, 1
jns 0x6adc9a
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x1e], 0
jne 0x6ae13e
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
add ecx, 0x20
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
xor eax, eax
cmp dword [esp + 0x14], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], ecx
mov esi, ecx
mov dword [esp + 0x1c], ecx
jle 0x6adfdd
fld qword [0x100ae2d8]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
fstp qword [esp + 0x78]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x50], 1
cmp dword [esp + 0x24], 0
jge 0x6adf0b
xor eax, eax
cmp dword [esp + 0x50], eax
je 0x6add59
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
jmp 0x6add69
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov edi, dword [esp + 0x40]
mov ecx, dword [ebp + 0xc]
lea eax, [edi*8]
sub eax, edi
cmp edi, dword [esp + 0x14]
mov esi, edi
mov dword [esp + 0x44], esi
lea ebx, [ecx + eax*8 + 8]
jge 0x6adef8
mov eax, dword [esp + 0x18]
mov edx, edi
shl edx, 6
lea ecx, [edx + eax + 0x5c]
mov dword [esp + 0x4c], ecx
test byte [ebx + 0x15], 0xa
mov eax, 0
setne al
mov dword [esp + 0x2c], eax
cmp esi, edi
je 0x6addba
test eax, eax
jne 0x6adef8
mov eax, dword [esp + 0x28]
add eax, 0x160
xor ecx, ecx
cmp dword [eax], ecx
mov dword [esp + 0x54], eax
jle 0x6addec
mov edx, dword [ebx + 0x18]
add eax, 4
jmp 0x6addd8
cmp dword [eax], edx
je 0x6ade0e
mov edi, dword [esp + 0x54]
inc ecx
add eax, 4
cmp ecx, dword [edi]
mov edi, dword [esp + 0x40]
jl 0x6addd8
xor eax, eax
xor edx, edx
and eax, dword [esp + 0x30]
and edx, dword [esp + 0x34]
or eax, edx
jne 0x6ade1c
cmp esi, edi
jne 0x6adee1
inc edi
mov dword [esp + 0x40], edi
jmp 0x6adee1
mov eax, 1
xor edx, edx
call fcn.006f4888
jmp 0x6addf0
cmp dword [esp + 0x20], 0
jne 0x6ade2e
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x6ade2e
mov eax, dword [eax]
jmp 0x6ade30
xor eax, eax
mov edx, dword [ebx + 0xc]
test byte [edx + 0x22], 0x10
je 0x6ade65
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x94]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [ebp + 8]
push ecx
push ebx
push edx
push eax
call fcn.006abaf8
add esp, 0x20
jmp 0x6ade8a
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x60]
push edx
mov edx, dword [ebp + 8]
push eax
push ebx
push ecx
push edx
call fcn.006abcd8
add esp, 0x1c
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
and eax, dword [esp + 0x30]
and ecx, dword [esp + 0x34]
or eax, ecx
jne 0x6adeda
cmp esi, edi
je 0x6adeba
fld qword [esp + 0x78]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 0x41
jne 0x6adeda
mov eax, dword [esp + 0x44]
mov ecx, 0xa
lea esi, [esp + 0x90]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov esi, eax
cmp dword [esp + 0x2c], 0
jne 0x6adef8
add dword [esp + 0x4c], 0x40
inc esi
add ebx, 0x38
cmp esi, dword [esp + 0x14]
mov dword [esp + 0x44], esi
jl 0x6add9e
sub dword [esp + 0x50], 1
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
jns 0x6add3c
mov eax, dword [esp + 0x68]
test eax, 0x1000000
je 0x6adf1f
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov edx, dword [esp + 0x6c]
and dword [esp + 0x48], eax
mov ecx, dword [esp + 0x70]
mov dword [esi], eax
mov ebx, eax
and ebx, 0xf0000
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
je 0x6adf4b
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov dword [esi + 0x14], edx
inc dword [eax + 0x44]
jmp 0x6adf52
mov dword [esi + 0x14], 0xffffffff
xor ecx, ecx
cmp dword [edi + 0x160], ecx
jle 0x6adf8c
mov eax, dword [esp + 0x24]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edx*8 + 0x20]
lea eax, [edi + 0x164]
mov edi, edi
cmp dword [eax], edx
je 0x6ae11a
inc ecx
add eax, 4
cmp ecx, dword [edi + 0x160]
jl 0x6adf78
xor eax, eax
xor edx, edx
not eax
and dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
not edx
and dword [esp + 0x34], edx
mov edx, dword [ebp + 0xc]
lea ecx, [eax*8]
sub ecx, eax
mov byte [esi + 0x28], al
mov eax, dword [edx + ecx*8 + 0x3c]
test eax, eax
je 0x6adfbf
test ebx, ebx
je 0x6ae12b
mov eax, dword [esp + 0x20]
inc eax
add esi, 0x40
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
jl 0x6adcec
mov ecx, dword [esp + 0x3c]
mov esi, dword [ebp + 8]
cmp dword [esi + 0x40], 0
jne 0x6ae13e
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x1e], 0
jne 0x6ae13e
mov eax, dword [esp + 0x48]
and eax, 0x4000000
je 0x6ae010
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x6ae010
mov dword [edx], 0
test byte [ebp + 0x18], 4
je 0x6ae028
test eax, eax
je 0x6ae028
mov eax, dword [esp + 0x18]
and dword [ecx], 0xff7fffff
mov byte [eax + 6], 1
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x6ae034
mov esi, eax
cmp dword [esi + 0x15c], 0
jne 0x6ae078
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x6ae061
mov eax, dword [esi]
call fcn.00671538
mov edi, eax
mov dword [esi + 0xc], eax
test edi, edi
je 0x6ae078
push 0x84
call fcn.00671768
add esp, 4
push 0
push 0
push 1
mov eax, edi
call fcn.00671818
add esp, 0xc
inc eax
mov dword [esi + 0x15c], eax
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
jle 0x6ae564
jmp 0x6ae098
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x1dc], 2
jne 0x6ae287
movzx eax, byte [ebx + 0x28]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*8 + 0xc]
lea edi, [eax + edx*8 + 8]
mov edx, dword [esp + 0x10]
push ecx
push 0x100acc88
call fcn.0065cb28
mov edi, dword [edi + 8]
add esp, 8
mov esi, eax
test edi, edi
je 0x6ae0f2
push edi
push esi
mov edi, esi
mov esi, dword [esp + 0x18]
push 0x100acc94
call fcn.0065cb48
add esp, 0xc
mov esi, eax
mov eax, dword [ebx]
test eax, 0xf0000
je 0x6ae154
mov edx, dword [ebx + 8]
mov eax, dword [edx]
push eax
push esi
mov edi, esi
mov esi, dword [esp + 0x18]
push 0x100acca0
call fcn.0065cb48
add esp, 0xc
jmp 0x6ae1b4
mov eax, 1
xor edx, edx
call fcn.006f4888
jmp 0x6adf90
mov eax, dword [eax]
mov edi, dword [ebp + 8]
push eax
push 0x100acc70
call fcn.0065d6b8
add esp, 8
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
call fcn.006ada28
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, 0x10000000
je 0x6ae171
push esi
mov edi, esi
mov esi, dword [esp + 0x14]
push 0x100accb4
call fcn.0065cb48
add esp, 8
jmp 0x6ae1b4
test eax, 0x3000
je 0x6ae18e
push esi
mov edi, esi
mov esi, dword [esp + 0x14]
push 0x100accd0
call fcn.0065cb48
add esp, 8
jmp 0x6ae1b4
test eax, 0x8000000
je 0x6ae1b6
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
push ecx
push edx
push esi
mov edi, esi
mov esi, dword [esp + 0x1c]
push 0x100acce8
call fcn.0065cb48
add esp, 0x10
mov esi, eax
test dword [ebx], 0x1000000
je 0x6ae1d4
push esi
mov edi, esi
mov esi, dword [esp + 0x14]
push 0x100acd08
call fcn.0065cb48
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xc]
mov ebx, dword [ecx + 0xc]
cmp dword [ecx + 0x10], ebx
jg 0x6ae200
mov edi, ecx
call fcn.00671688
test eax, eax
je 0x6ae1fe
mov eax, 1
jmp 0x6ae231
mov ecx, edi
mov eax, dword [ecx + 0x14]
inc dword [ecx + 0xc]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x86
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [ecx + 0x62], dl
mov eax, ebx
mov ecx, dword [esp + 0xc]
mov ebx, dword [ecx + 0x14]
mov edi, dword [ecx]
test ebx, ebx
je 0x6ae279
cmp byte [edi + 0x1e], 0
jne 0x6ae279
test eax, eax
jge 0x6ae24c
mov eax, dword [ecx + 0xc]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x10]
lea ebx, [ebx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.00671c48
xor eax, eax
mov dword [ebx + 0x10], eax
cmp esi, eax
jne 0x6ae270
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x6ae283
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0xff
jmp 0x6ae283
mov ecx, esi
or eax, 0xffffffff
call fcn.00671c48
mov ebx, dword [esp + 0x1c]
movzx eax, byte [ebx + 0x28]
mov edx, dword [ebp + 0xc]
lea ecx, [eax*8]
sub ecx, eax
mov esi, dword [edx + ecx*8 + 0x14]
mov edi, dword [esi + 0x44]
lea ecx, [edx + ecx*8 + 8]
mov eax, 0xfff0bdc0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
test edi, edi
je 0x6ae2e2
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
xor eax, eax
mov dword [esp + 0x24], eax
test edx, edx
jle 0x6ae2e2
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
add ecx, 0xc
cmp dword [ecx], edi
je 0x6ae2da
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x6ae2ce
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], eax
test byte [esi + 0x22], 2
jne 0x6ae54a
cmp dword [esi + 0x1c], 0
jne 0x6ae54a
mov ebx, dword [ebx]
test ebx, 0x8000000
je 0x6ae3cf
mov ebx, dword [esi + 0x34]
test ebx, ebx
je 0x6ae31a
mov edx, dword [esp + 0x10]
cmp dword [ebx], edx
je 0x6ae31a
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x6ae30b
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0xc]
cmp dword [eax + 0x10], esi
mov dword [esp + 0x2c], ecx
jg 0x6ae343
mov edi, eax
call fcn.00671688
test eax, eax
je 0x6ae343
mov eax, 1
jmp 0x6ae374
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x14]
inc dword [ecx + 0xc]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax], 0x7c
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [ecx + 0x62], dl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x14]
mov edi, dword [ecx]
test esi, esi
je 0x6ae459
cmp byte [edi + 0x1e], 0
jne 0x6ae459
test eax, eax
jge 0x6ae397
mov eax, dword [ecx + 0xc]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.00671c48
mov dword [esi + 0x10], 0
test ebx, ebx
jne 0x6ae3c0
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x6ae459
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xf6
inc dword [ebx + 0xc]
jmp 0x6ae459
test ebx, 0x800000
jne 0x6ae443
test byte [ebp + 0x18], 0x10
jne 0x6ae443
mov edi, dword [esp + 0x18]
xor edx, edx
cmp byte [edi + 6], dl
setne dl
add edx, 0x26
push edx
push eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp + 8]
push eax
mov eax, esi
call fcn.006938b8
add esp, 0xc
cmp byte [edi + 6], 0
jne 0x6ae459
cmp dword [esi + 0xc], 0x40
jge 0x6ae459
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x6ae42a
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
inc edx
or esi, ecx
jne 0x6ae41d
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0xc]
push edx
push ecx
dec eax
mov ecx, 0xfffffff2
call fcn.00671e28
add esp, 8
jmp 0x6ae459
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x18]
push ecx
push 0
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.00687218
add esp, 0x10
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
test dword [edi], 0xf0000
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x10], ecx
je 0x6ae53a
mov esi, dword [edi + 8]
mov edx, dword [ebp + 8]
push esi
push edx
call fcn.0068c5e8
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0xc]
add esp, 8
cmp dword [eax + 0x10], esi
mov edi, eax
jg 0x6ae4b1
call fcn.00671688
test eax, eax
je 0x6ae4b1
mov esi, 1
xor ebx, ebx
jmp 0x6ae4e0
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ebx
xor ebx, ebx
mov byte [eax], 0x26
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov ecx, dword [edi + 0x14]
mov edx, dword [edi]
mov eax, esi
cmp ecx, ebx
je 0x6ae52a
cmp byte [edx + 0x1e], 0
jne 0x6ae52a
cmp esi, ebx
jge 0x6ae4f9
mov eax, dword [edi + 0xc]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
mov edi, edx
call fcn.00671c48
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x6ae521
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0
jmp 0x6ae53a
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x6ae53a
mov ecx, dword [esp + 0x3c]
mov eax, 0xfffffff0
mov edi, edx
call fcn.00671c48
mov ebx, dword [esp + 0x24]
mov eax, dword [ebp + 8]
call fcn.0068c138
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc eax
add ebx, 0x40
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
jl 0x6ae098
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
xor esi, esi
or eax, 0xffffffff
or edx, 0xffffffff
cmp dword [esp + 0x14], esi
jle 0x6ae5a8
mov edi, ebx
add edi, 0x40
mov ecx, dword [ebp + 0x18]
push edx
push eax
push ecx
push esi
push ebx
call fcn.006ac888
mov ecx, dword [edi]
inc esi
add esp, 0x14
add edi, 0x40
cmp esi, dword [esp + 0x14]
mov dword [ebx + 0x10], ecx
jl 0x6ae589
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret