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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x10e607c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0xc]
mov ebx, dword [edi + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x628], edi
mov dword [ebp - 0x620], eax
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 1
pop ecx
ja 0x10c6d8c
xor eax, eax
mov ecx, 0x20c
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov edi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esi + 0x60]
push eax
lea eax, [ebp - 0x638]
push eax
call edi
lea eax, [esi + 0x70]
push eax
lea eax, [ebp - 0x638]
push eax
call edi
lea eax, [esi + 0x68]
push eax
lea eax, [ebp - 0x638]
push eax
call edi
mov edi, dword [ebp - 0x620]
mov word [esi + 0x7a], 1
mov byte [esi], 8
mov word [esi + 0x78], 1
mov eax, dword [ebx + 0x80]
sub eax, 0
je 0x10c6d50
dec eax
je 0x10c6be5
dec eax
je 0x10c6bc5
dec eax
je 0x10c6baf
dec eax
je 0x10c6c29
dec eax
jne 0x10c6bfe
lea eax, [ebp - 0x624]
push eax
push 0x10f5dc8
call sub.CLUSAPI.dll_GetNodeClusterState
cmp dword [ebp - 0x624], 0x13
je 0x10c6c17
inc dword [ebx + 0x80]
jmp 0x10c6b6b
test byte [edi + 0x62], 8
jne 0x10c6c3b
mov dword [ebx + 0x80], 4
jmp 0x10c6b6b
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x10c6bd9
cmp word [eax], 0
jne 0x10c6cc5
mov dword [ebx + 0x80], 3
jmp 0x10c6b6b
test byte [edi + 0x62], 2
jne 0x10c6cd7
mov dword [ebx + 0x80], 2
jmp 0x10c6b6b
dec eax
jne 0x10c7232
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x18]
mov byte [esi + 0x2a], 6
jmp 0x10c6d5d
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x1c]
mov byte [esi + 0x2a], 7
jmp 0x10c6d5d
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x14]
mov byte [esi + 0x2a], 5
jmp 0x10c6d5d
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x10]
mov byte [esi + 0x28], 0x23
mov byte [esi + 0x29], 0
mov byte [esi + 0x2a], 3
mov dword [esi + 0x80], 0x1000000
mov dword [ebp - 0x620], eax
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x10055f4
push dword [eax + 0x2c]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010c6265
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
cmp dword [eax + 0x2c], 0
je 0x10c6d6b
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push dword [eax + 0x30]
push dword [eax + 0x2c]
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10c6d6b
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x1005a98
push dword [eax + 0x30]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010c6265
jmp 0x10c6d6b
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0xc]
mov byte [esi + 0x2a], 2
jmp 0x10c6d5d
mov byte [esi + 0x28], 0x23
mov byte [esi + 0x29], 0
mov byte [esi + 0x2a], 1
mov dword [esi + 0x80], 0x1000000
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x10055f4
push dword [eax + 0x24]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010c6265
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
cmp dword [eax + 0x24], 0
je 0x10c6d45
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push dword [eax + 0x28]
push dword [eax + 0x24]
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10c6d45
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x1005a98
push dword [eax + 0x28]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010c6265
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 8]
jmp 0x10c6d65
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov byte [esi + 0x2a], 4
mov byte [esi + 0x28], 0x23
mov byte [esi + 0x29], 0
mov dword [ebp - 0x620], eax
inc dword [ebx + 0x80]
push 0
push 0
push dword [ebp - 0x620]
push esi
push dword [ebp - 0x628]
call fcn.010ba442
jmp 0x10c7236
mov eax, dword [edi + 0xc]
inc eax
inc eax
push eax
push edi
call fcn.010c636c
test eax, eax
mov dword [ebx + 0x80], eax
je 0x10c7220
cmp eax, 2
je 0x10c70ed
cmp eax, 3
jbe 0x10c7232
cmp eax, 5
jbe 0x10c7220
cmp eax, 6
jne 0x10c7232
cmp dword [ebx + 0x84], 3
jae 0x10c6e2a
lea eax, [ebp - 0x61c]
push 0x1012558
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
mov eax, dword [ebp - 0x620]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x58]
test eax, eax
pop ecx
pop ecx
je 0x10c6e0e
mov eax, dword [eax + 0x20]
test eax, eax
je 0x10c6e0e
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebx + 0x9c]
push 0x1005cd0
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
cmp dword [ebx + 0x84], 0
jne 0x10c6e57
push 0
push 0x10131a8
push esi
push edi
mov dword [ebx + 0x84], 1
call fcn.010aa26b
test ax, ax
jne 0x10c6e5d
push esi
push edi
jmp 0x10c70e0
mov eax, dword [ebp - 0x620]
cmp dword [ebx + 0x84], 1
jne 0x10c6e83
push 0
push 0x101319c
push esi
push edi
mov dword [ebx + 0x84], 2
call fcn.010aa26b
test ax, ax
je 0x10c6e50
cmp dword [ebx + 0x84], 2
jne 0x10c6ea9
push 0
push 0x1013180
push esi
push edi
mov dword [ebx + 0x84], 3
call fcn.010aa26b
test ax, ax
je 0x10c6e50
mov ecx, dword [ebx + 0x84]
cmp ecx, 3
je 0x10c6ec9
cmp ecx, 4
je 0x10c6ec9
jbe 0x10c7236
mov eax, 0xfffffe07
jmp 0x10c7236
mov eax, dword [edi + 0xc]
inc eax
inc eax
push 0x5c
push eax
mov dword [ebp - 0x620], 0xfffffe07
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov ecx, dword [edi + 0xc]
inc ecx
inc ecx
push 0x5c
push ecx
mov dword [ebp - 0x624], eax
call dword [sym.imp.msvcrt.dll_wcschr]
mov ecx, dword [ebp - 0x624]
add esp, 0x10
cmp eax, ecx
je 0x10c7007
push esi
push dword [ebp - 0x628]
call fcn.010aa19a
test ax, ax
mov dword [ebp - 0x620], eax
jne 0x10c6ffb
mov al, byte [esi]
cmp al, 9
jne 0x10c6f73
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
lea eax, [ebx + 0x9c]
push eax
lea eax, [ebp - 0x414]
push 0x1013174
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll__wcsupr]
add esp, 0x14
push 0
lea eax, [ebp - 0x40e]
push eax
push dword [ebx + 0x14f4]
call fcn.010aa57c
test eax, eax
je 0x10c6f06
jmp 0x10c70e5
cmp al, 8
jne 0x10c6f06
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
lea eax, [ebp - 0x414]
push 0x1005cd0
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll__wcsupr]
lea eax, [ebp - 0x414]
push 0x3a
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x10c6f06
push 0
lea eax, [edi + 4]
push eax
push dword [ebx + 0x14f4]
call fcn.010aa57c
test eax, eax
je 0x10c6f06
lea eax, [ebp - 0x414]
push 0x101261c
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
pop ecx
pop ecx
push 0
add edi, 0xfffffffe
push edi
push dword [ebx + 0x14f4]
call fcn.010aa642
jmp 0x10c6f06
push esi
push dword [ebp - 0x628]
call fcn.010aa16c
mov edi, dword [ebp - 0x628]
mov eax, dword [edi + 0xc]
inc eax
inc eax
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov ecx, dword [edi + 0xc]
inc ecx
inc ecx
push 0x5c
push ecx
mov dword [ebp - 0x624], eax
call dword [sym.imp.msvcrt.dll_wcschr]
mov ecx, dword [ebp - 0x624]
add esp, 0x10
cmp eax, ecx
jne 0x10c7051
cmp dword [ebx + 0x84], 4
jne 0x10c7051
mov ax, word [ebp - 0x620]
jmp 0x10c7236
mov dword [ebx + 0x84], 4
push 0
push dword [ebx + 0x14f4]
call fcn.010aa525
test eax, eax
mov dword [ebp - 0x620], eax
je 0x10c7232
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x624], eax
je 0x10c70cf
mov edi, eax
sub edi, dword [ebp - 0x620]
lea eax, [ebx + 0x9c]
sar edi, 1
push edi
push dword [ebp - 0x620]
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov eax, dword [ebp - 0x624]
and word [ebx + edi*2 + 0x9c], 0
add esp, 0xc
push 0
add eax, 2
push eax
push esi
push dword [ebp - 0x628]
call fcn.010aa26b
jmp 0x10c70d4
mov eax, 0xfffffe07
test ax, ax
jne 0x10c705b
push esi
push dword [ebp - 0x628]
call fcn.010aa16c
xor ax, ax
jmp 0x10c7236
mov eax, dword [edi + 0xc]
inc eax
inc eax
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov ecx, dword [edi + 0xc]
inc ecx
inc ecx
push 0x5c
push ecx
mov dword [ebp - 0x624], eax
call dword [sym.imp.msvcrt.dll_wcschr]
mov ecx, dword [ebp - 0x624]
add esp, 0x10
cmp eax, ecx
je 0x10c7128
push esi
push dword [ebp - 0x628]
jmp 0x10c722b
mov eax, dword [ebp - 0x628]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x5c]
mov edi, dword [eax + 0x64]
and dword [ebp - 0x620], 0
jmp 0x10c7160
mov eax, dword [ebp - 0x620]
cmp eax, dword [ebx + 0x84]
jae 0x10c717a
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
inc dword [ebp - 0x620]
pop ecx
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
jne 0x10c7140
jmp 0x10c717a
inc dword [ebx + 0x84]
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0x2d
je 0x10c7168
cmp word [edi], 0
je 0x10c7232
inc dword [ebx + 0x84]
push 0x5c
push edi
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x624], eax
je 0x10c71de
sub eax, edi
sar eax, 1
push eax
mov dword [ebp - 0x620], eax
lea eax, [ebx + 0x9c]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov eax, dword [ebp - 0x620]
and word [ebx + eax*2 + 0x9c], 0
mov eax, dword [ebp - 0x624]
add esp, 0xc
push 0
add eax, 2
push eax
jmp 0x10c71f5
add ebx, 0x9c
push 0x1003824
push ebx
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
push 0
push edi
push esi
push dword [ebp - 0x628]
call fcn.010aa26b
mov edi, eax
test di, di
jne 0x10c721b
or byte [esi + 0x84], 2
push esi
push dword [ebp - 0x628]
call fcn.010aa16c
mov ax, di
jmp 0x10c7236
cmp dword [ebx + 0x84], 1
jne 0x10c7232
push esi
push edi
call fcn.010aa19a
jmp 0x10c7236
mov ax, 0xfe07
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01078836
leave
ret 8