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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov esi, esp
mov dword [esi + 0x128], ebp
mov dword [esi + 0x12c], esp
mov dword [esi + 0x138], 0xffffffff
mov dword [esi + 0x134], 0x707840
mov edi, ecx
lea eax, [esi + 0x130]
mov ebx, edx
mov ecx, dword fs:[0]
mov dword [esi + 0x130], ecx
mov dword fs:[0], eax
cmp byte [edx + 4], 0
je 0x6ccf6e
mov eax, dword [ebx]
mov dword [esi + 0x10], eax
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateIoCompletionPort]
test eax, eax
mov dword [esi + 0x18], eax
je 0x6ccfe9
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x6ccd19
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x6cd657
mov dword [0x919820], eax
push 0xc
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6cd657
mov ecx, dword [esi + 0x18]
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
lock inc dword [eax]
jle 0x6cd653
mov dword [esi + 0x60], 0
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x5c], 0
mov dword [esi + 0x65], 0
mov dword [esi + 0x61], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x79], 0
mov dword [esi + 0x75], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 0
mov byte [esi + 0x54], 0
mov dword [esi + 0x58], 4
mov dword [esi + 0x6c], 4
mov dword [esi + 0x40], 1
mov dword [esi + 0x44], 1
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x6ccdd3
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x6cd675
mov dword [0x919820], eax
push 0x40
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6cd675
movsd xmm0, qword [esi + 0x78]
mov dword [esi + 0x2c], edi
movsd qword [eax + 0x38], xmm0
movsd xmm0, qword [esi + 0x70]
movsd qword [eax + 0x30], xmm0
movsd xmm0, qword [esi + 0x68]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [esi + 0x60]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esi + 0x58]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esi + 0x50]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [esi + 0x34], eax
mov ecx, dword [eax + 8]
lock inc dword [ecx]
jle 0x6cd653
mov edi, dword [eax + 8]
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], 0
lock inc dword [eax]
mov edx, dword [esi + 0x10]
jle 0x6cd653
xorps xmm0, xmm0
test edx, edx
mov dword [esi + 0xd8], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], edi
movaps xmmword [esi + 0x40], xmm0
je 0x6ccff5
xor ecx, ecx
cmp edx, 0x8000000
setb byte [esi + 0xc]
jae 0x6cd71a
movzx ebx, byte [esi + 0xc]
shl edx, 4
mov dword [esi + 0x14], edx
mov cl, bl
shl ecx, 2
test edx, edx
js 0x6cd72f
je 0x6cd066
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
mov ebx, ecx
test eax, eax
jne 0x6cced7
call dword [sym.imp.kernel32.dll_GetProcessHeap]
mov ecx, ebx
test eax, eax
je 0x6cd070
mov dword [0x919820], eax
push dword [esi + 0x14]
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, eax
mov ecx, ebx
test edx, edx
je 0x6cd070
mov edi, dword [esi + 0x10]
cmp edi, 2
jb 0x6cd006
lea ecx, [edi - 1]
mov eax, edx
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
add eax, 0x10
dec ecx
jne 0x6ccf00
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
test edi, edi
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
je 0x6cd08b
xor eax, eax
cmp edi, 0x8000000
setb bl
jae 0x6cd744
mov ecx, edi
mov al, bl
shl ecx, 4
shl eax, 3
test ecx, ecx
mov dword [esi + 0x14], ecx
js 0x6cd75b
mov dword [esi + 0x94], eax
je 0x6cd092
mov edi, dword [esi + 0x10]
jmp 0x6cd028
mov dword [esi + 0x2c], edi
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x6ccf94
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x6cd6c5
mov dword [0x919820], eax
push 0x14
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6cd6c5
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [esi + 0x1c], ebx
mov byte [eax + 0x10], 0
mov ecx, eax
lock inc dword [eax]
jle 0x6cd653
mov al, 2
mov ebx, ecx
mov edx, ecx
mov dword [esi + 0x28], 0
mov dword [esi + 0x10], eax
jmp 0x6cd1e0
call sub.kernel32.dll_GetLastError
xor ecx, ecx
jmp 0x6cd633
mov eax, 8
xor edi, edi
mov edx, 4
jmp 0x6cd09d
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
mov edi, 1
mov dword [esi + 0x94], 8
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
mov dword [esi + 0xc], edx
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x6cd04e
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x6cd775
mov dword [0x919820], eax
push dword [esi + 0x14]
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [esi + 0xc]
test eax, eax
jne 0x6cd09d
jmp 0x6cd778
mov edx, ecx
test edx, edx
jne 0x6cceef
mov edx, dword [esi + 0x14]
mov byte [esi + 0xb], 1
mov dword [esi + 0x138], 2
call fcn.00709d20
jmp 0x6cd796
mov eax, 8
jmp 0x6cd09d
mov edi, dword [esi + 0x10]
test eax, eax
je 0x6cd778
mov word [esi + 0x58], 0
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], eax
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x6cd0e8
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x6cd693
mov dword [0x919820], eax
push 0x40
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6cd693
lea ecx, [esi + 0x48]
cmp dword [esi + 0x18], 0
movzx edi, word [esi + 0x5a]
mov dword [esi + 0x10c], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x111], 0
mov dword [esi + 0x10d], 0
movzx edx, byte [ecx + 0x10]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov byte [esi + 0xc0], dl
movsd qword [esi + 0xb8], xmm1
movsd qword [esi + 0xb0], xmm0
je 0x6cd62a
movzx ecx, byte [esi + 0xc0]
movsd xmm0, qword [esi + 0xb0]
movsd xmm1, qword [esi + 0xb8]
mov dh, byte [esi + 0xaf]
movzx ebx, word [esi + 0xaa]
mov dl, byte [esi + 0xac]
mov word [esi + 0x18], di
mov edi, dword [esi + 0x14]
mov dword [esi + 0x10], 0
mov byte [esi + 0xf0], cl
movsd qword [esi + 0xe8], xmm1
movsd qword [esi + 0xe0], xmm0
movzx ecx, word [esi + 0xad]
movsd xmm0, qword [esi + 0x108]
movsd xmm1, qword [esi + 0x10d]
mov word [esi + 0x20], bx
mov byte [esi + 0x26], dh
mov byte [esi + 0x22], dl
mov edx, dword [esi + 0xc]
mov ebx, dword [esi + 0x30]
movsd qword [esi + 0x80], xmm0
mov word [esi + 0x24], cx
movsd qword [esi + 0x85], xmm1
movzx ecx, word [esi + 0x24]
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov byte [esi + 0x50], 0
movsd xmm0, qword [esi + 0x80]
movsd xmm1, qword [esi + 0x85]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x108], edx
movzx edi, word [esi + 0x18]
mov dword [esi + 0xc], edx
mov word [esi + 0x51], cx
mov ch, byte [esi + 0x26]
mov byte [esi + 0x53], ch
mov dword [esi + 0x54], eax
movzx eax, word [esi + 0x20]
mov dword [esi + 0x58], 0x10
movsd qword [esi + 0x5c], xmm0
movsd qword [esi + 0x61], xmm1
movsd xmm0, qword [esi + 0xe0]
movsd xmm1, qword [esi + 0xe8]
mov word [esi + 0x69], ax
movzx eax, byte [esi + 0x22]
movsd qword [esi + 0xa0], xmm1
movsd qword [esi + 0x98], xmm0
movsd xmm0, qword [esi + 0x98]
movsd xmm1, qword [esi + 0xa0]
mov byte [esi + 0x6b], al
mov eax, dword [esi + 0x28]
movsd qword [esi + 0x110], xmm0
movsd qword [esi + 0x118], xmm1
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x44], ebx
cmp byte [eax + 5], 0
movzx eax, byte [esi + 0xf0]
mov byte [esi + 0xa8], al
movzx eax, byte [esi + 0xa8]
mov byte [esi + 0x120], al
mov eax, dword [esi + 0x10]
mov byte [esi + 0x121], al
mov word [esi + 0x122], di
je 0x6cd4f4
lea eax, [esi + 0xe0]
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x6cd6d6
mov ecx, dword [esi + 0xe0]
mov edx, dword [esi + 0xe4]
mov dword [esi + 0x138], 6
call fcn.006b86a0
mov dword [esi + 0x30], edx
mov dword [esi + 0x28], eax
mov edi, ecx
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x6cd338
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x6cd6b1
mov dword [0x919820], eax
push 0xc60
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6cd6b1
mov dword [esi + 0x1c], edi
mov ebx, eax
lea edi, [esi + 0x110]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x210]
mov dword [ebx + 0x208], 0
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x420]
mov dword [ebx + 0x418], 1
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x630]
mov dword [ebx + 0x628], 2
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x840]
mov dword [ebx + 0x838], 3
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, ebx
mov dword [ebx + 0xa48], 4
add eax, 0xa50
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebx + 0xc58], 5
mov dword [esi + 0xd3], 0
mov dword [esi + 0xcf], 0
mov dword [esi + 0xcb], 0
mov dword [esi + 0xc7], 0
mov dword [esi + 0xc3], 0
mov dword [esi + 0xbf], 0
mov dword [esi + 0xbb], 0
mov dword [esi + 0xb7], 0
mov edx, dword [esi + 0x2c]
movsd xmm1, qword [edi + 8]
movzx eax, byte [edi + 0x10]
movsd xmm2, qword [esi + 0xc8]
mov ecx, dword [esi + 0xdb]
movsd xmm0, qword [edi]
movzx edi, word [esi + 0x18]
movsd qword [esi + 0x88], xmm1
movsd xmm1, qword [esi + 0xcf]
mov byte [esi + 0x90], al
mov eax, dword [esi + 0xd8]
mov dword [esi + 0x37], ecx
movsd qword [esi + 0x80], xmm0
movsd qword [esi + 0xff], xmm1
movsd xmm1, qword [esi + 0xc0]
movsd qword [esi + 0xf8], xmm2
movsd xmm2, qword [esi + 0xb8]
mov dword [esi + 0x34], eax
xor eax, eax
movsd qword [esi + 0xf0], xmm1
movsd xmm1, qword [esi + 0xb0]
movsd qword [esi + 0xe8], xmm2
movsd qword [esi + 0xe0], xmm1
jmp 0x6cd530
movzx eax, byte [esi + 0xa8]
movsd xmm0, qword [esi + 0x98]
movsd xmm1, qword [esi + 0xa0]
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x1c], 0x3b9aca00
mov byte [esi + 0x90], al
movsd qword [esi + 0x88], xmm1
movsd qword [esi + 0x80], xmm0
mov eax, 1
mov ecx, dword [esi + 0xc]
movsd xmm0, qword [esi + 0x80]
movsd xmm1, qword [esi + 0x88]
movsd xmm2, qword [esi + 0x58]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 0x14]
mov dword [edx + 8], ecx
movzx ecx, byte [esi + 0x90]
movsd qword [edx + 0xc], xmm0
movsd xmm0, qword [esi + 0xe0]
movsd qword [edx + 0x14], xmm1
movsd xmm1, qword [esi + 0xe8]
mov byte [edx + 0x1c], cl
mov ecx, dword [esi + 0x10]
mov byte [edx + 0x1d], cl
mov word [edx + 0x1e], di
mov byte [edx + 0x20], 0
movsd qword [edx + 0x21], xmm0
movsd xmm0, qword [esi + 0xf0]
mov ecx, dword [esi + 0x34]
movsd qword [edx + 0x29], xmm1
movsd xmm1, qword [esi + 0x50]
movsd qword [edx + 0x31], xmm0
movsd xmm0, qword [esi + 0xf8]
movsd qword [edx + 0x39], xmm0
movsd xmm0, qword [esi + 0xff]
movsd qword [edx + 0x40], xmm0
mov dword [edx + 0x48], ebx
mov dword [edx + 0x4c], 6
mov dword [edx + 0x50], 6
mov byte [edx + 0x58], 0
mov dword [edx + 0x59], ecx
mov ecx, dword [esi + 0x37]
movsd xmm0, qword [esi + 0x60]
mov dword [edx + 0x5c], ecx
mov ecx, dword [esi + 0x30]
mov dword [edx + 0x64], ecx
mov ecx, dword [esi + 0x28]
mov dword [edx + 0x60], ecx
mov ecx, dword [esi + 0x68]
movsd qword [edx + 0x88], xmm2
movsd qword [edx + 0x80], xmm1
movsd xmm2, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
movsd qword [edx + 0x90], xmm0
mov dword [edx + 0x98], ecx
mov ecx, dword [esi + 0x1c]
movsd qword [edx + 0x78], xmm1
movsd qword [edx + 0x70], xmm2
mov dword [edx], eax
mov dword [edx + 0x68], ecx
jmp 0x6cd63f
mov edi, dword [esi + 0x2c]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov dword [edi + 8], eax
mov dword [edi + 4], ecx
mov dword [edi], 2
mov eax, dword [esi + 0x130]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov ecx, 4
mov edx, 0xc
mov dword [esi + 0x138], 0
call fcn.00709d20
jmp 0x6cd796
mov ecx, 4
mov edx, 0x40
mov dword [esi + 0x138], 1
call fcn.00709d20
jmp 0x6cd796
mov ecx, 4
mov edx, 0x40
mov dword [esi + 0x138], 3
call fcn.00709d20
jmp 0x6cd796
mov ecx, 8
mov edx, 0xc60
call fcn.00709d20
jmp 0x6cd796
mov ecx, 4
mov edx, 0x14
call fcn.00709d20
ud2
call sub.kernel32.dll_GetLastError
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb0], 0
mov dword [esi + 0x138], 7
lea eax, [esi + 0xb0]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x8c9fc8
push 0x8c7c18
push eax
call fcn.0070a360
add esp, 0xc
jmp 0x6cd796
mov byte [esi + 0xb], 1
mov dword [esi + 0x138], 2
call fcn.00425040
jmp 0x6cd796
mov byte [esi + 0xb], 1
mov dword [esi + 0x138], 2
call fcn.00425040
jmp 0x6cd796
mov dword [esi + 0xc], edx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x138], 4
call fcn.00425040
jmp 0x6cd796
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov dword [esi + 0x138], 4
mov dword [esi + 0x3c], eax
call fcn.00425040
jmp 0x6cd796
mov edx, dword [esi + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x138], 4
call fcn.00709d20
ud2