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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
push dword [edi + 0xc]
mov ebx, dword [edi + 0x34]
mov dword [ebp - 4], eax
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 1
pop ecx
ja 0x10b255e
mov esi, dword [ebp + 0xc]
xor eax, eax
mov ecx, 0x10c
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 - 0x14]
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 - 0x14]
push eax
call edi
lea eax, [esi + 0x70]
push eax
lea eax, [ebp - 0x14]
push eax
call edi
lea eax, [esi + 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
call edi
mov edi, dword [ebp - 4]
mov word [esi + 0x7a], 1
mov byte [esi], 8
mov word [esi + 0x78], 1
mov eax, dword [ebx + 0x80]
sub eax, 0
je 0x10b252b
dec eax
je 0x10b23d4
dec eax
je 0x10b23b4
dec eax
je 0x10b239e
dec eax
je 0x10b2418
dec eax
jne 0x10b23ed
lea eax, [ebp - 4]
push eax
push 0x10dd188
call sub.CLUSAPI.dll_GetNodeClusterState
cmp dword [ebp - 4], 0x13
je 0x10b2406
inc dword [ebx + 0x80]
jmp 0x10b2360
test byte [edi + 0x62], 8
jne 0x10b242a
mov dword [ebx + 0x80], 4
jmp 0x10b2360
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x10b23c8
cmp word [eax], 0
jne 0x10b24aa
mov dword [ebx + 0x80], 3
jmp 0x10b2360
test byte [edi + 0x62], 2
jne 0x10b24b9
mov dword [ebx + 0x80], 2
jmp 0x10b2360
dec eax
jne 0x10b2997
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x18]
mov byte [esi + 0x2a], 6
jmp 0x10b2538
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x1c]
mov byte [esi + 0x2a], 7
jmp 0x10b2538
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x14]
mov byte [esi + 0x2a], 5
jmp 0x10b2538
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x10]
and byte [esi + 0x29], 0
mov byte [esi + 0x28], 0x23
mov byte [esi + 0x2a], 3
mov dword [esi + 0x80], 0x1000000
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x1005528
push dword [eax + 0x2c]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010b1ccc
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x10b2543
push dword [eax + 0x30]
push ecx
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10b2543
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x10059d0
push dword [eax + 0x30]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010b1ccc
jmp 0x10b2543
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0xc]
mov byte [esi + 0x2a], 2
jmp 0x10b2538
and byte [esi + 0x29], 0
mov byte [esi + 0x28], 0x23
mov byte [esi + 0x2a], 1
mov dword [esi + 0x80], 0x1000000
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x1005528
push dword [eax + 0x24]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010b1ccc
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x10b2520
push dword [eax + 0x28]
push ecx
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10b2520
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x10059d0
push dword [eax + 0x28]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010b1ccc
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 8]
jmp 0x10b2540
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov byte [esi + 0x2a], 4
and byte [esi + 0x29], 0
mov byte [esi + 0x28], 0x23
mov dword [ebp + 0xc], eax
inc dword [ebx + 0x80]
push 0
push 0
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.010a7431
jmp 0x10b299b
mov eax, dword [edi + 0xc]
push 2
pop esi
add eax, esi
push eax
push edi
call fcn.010b1d7d
test eax, eax
mov dword [ebx + 0x80], eax
je 0x10b2983
cmp eax, esi
je 0x10b2880
cmp eax, 3
jbe 0x10b2997
cmp eax, 5
jbe 0x10b2983
cmp eax, 6
jne 0x10b2997
cmp dword [ebx + 0x84], 3
jae 0x10b25f9
mov esi, dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x62c]
push 0x1011b8c
push eax
call esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x58]
test eax, eax
pop ecx
pop ecx
je 0x10b25dd
mov eax, dword [eax + 0x20]
test eax, eax
je 0x10b25dd
push eax
lea eax, [ebp - 0x62c]
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebx + 0x9c]
push 0x1005c08
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
cmp dword [ebx + 0x84], 0
mov esi, dword [ebp + 0xc]
jne 0x10b2628
push 0
push 0x1012774
push esi
push edi
mov dword [ebx + 0x84], 1
call fcn.01098979
test ax, ax
jne 0x10b262b
push esi
jmp 0x10b2872
mov eax, dword [ebp + 8]
cmp dword [ebx + 0x84], 1
jne 0x10b2651
push 0
push 0x1012768
push esi
push edi
mov dword [ebx + 0x84], 2
call fcn.01098979
test ax, ax
je 0x10b2622
cmp dword [ebx + 0x84], 2
jne 0x10b2677
push 0
push 0x101274c
push esi
push edi
mov dword [ebx + 0x84], 3
call fcn.01098979
test ax, ax
je 0x10b2622
mov ecx, dword [ebx + 0x84]
cmp ecx, 3
je 0x10b2697
cmp ecx, 4
je 0x10b2697
jbe 0x10b299b
mov eax, 0xfffffe07
jmp 0x10b299b
mov eax, dword [edi + 0xc]
inc eax
inc eax
push 0x5c
push eax
mov dword [ebp + 8], 0xfffffe07
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov esi, eax
mov eax, dword [edi + 0xc]
inc eax
inc eax
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 0x10
cmp eax, esi
je 0x10b27c2
mov esi, dword [ebp + 0xc]
push esi
push edi
call fcn.010988bf
test ax, ax
mov dword [ebp + 8], eax
jne 0x10b27bb
mov al, byte [esi]
cmp al, 9
jne 0x10b272f
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
lea eax, [ebx + 0x9c]
push eax
lea eax, [ebp - 0x424]
push 0x1012740
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.msvcrt.dll__wcsupr]
add esp, 0x14
push 0
lea eax, [ebp - 0x41e]
push eax
push dword [ebx + 0x14f4]
call fcn.01098c28
test eax, eax
je 0x10b26ca
jmp 0x10b2878
cmp al, 8
jne 0x10b26ca
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
lea eax, [ebp - 0x424]
push 0x1005c08
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.msvcrt.dll__wcsupr]
lea eax, [ebp - 0x424]
push 0x3a
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 0x18
test eax, eax
mov dword [ebp + 8], eax
je 0x10b26ca
push 0
add eax, 4
push eax
push dword [ebx + 0x14f4]
call fcn.01098c28
test eax, eax
je 0x10b26ca
lea eax, [ebp - 0x424]
push 0x1011c50
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
mov eax, dword [ebp + 8]
pop ecx
pop ecx
push 0
add eax, 0xfffffffe
push eax
push dword [ebx + 0x14f4]
call fcn.01098cd3
jmp 0x10b26ca
push esi
push edi
call fcn.0109889a
mov eax, dword [edi + 0xc]
inc eax
inc eax
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov esi, eax
mov eax, dword [edi + 0xc]
inc eax
inc eax
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 0x10
cmp eax, esi
jne 0x10b27f9
cmp dword [ebx + 0x84], 4
jne 0x10b27f9
mov ax, word [ebp + 8]
jmp 0x10b299b
mov dword [ebx + 0x84], 4
push 0
push dword [ebx + 0x14f4]
call fcn.01098bda
test eax, eax
mov dword [ebp + 8], eax
je 0x10b2997
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 4], eax
je 0x10b2865
mov esi, eax
sub esi, dword [ebp + 8]
lea eax, [ebx + 0x9c]
sar esi, 1
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov eax, dword [ebp - 4]
and word [ebx + esi*2 + 0x9c], 0
add esp, 0xc
push 0
add eax, 2
push eax
push dword [ebp + 0xc]
push edi
call fcn.01098979
jmp 0x10b286a
mov eax, 0xfffffe07
test ax, ax
jne 0x10b2803
push dword [ebp + 0xc]
push edi
call fcn.0109889a
xor ax, ax
jmp 0x10b299b
mov eax, dword [edi + 0xc]
add eax, esi
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov ecx, dword [edi + 0xc]
add ecx, esi
push 0x5c
push ecx
mov dword [ebp + 8], eax
call dword [sym.imp.msvcrt.dll_wcschr]
mov ecx, dword [ebp + 8]
add esp, 0x10
cmp eax, ecx
jne 0x10b298c
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x5c]
mov esi, dword [eax + 0x64]
and dword [ebp + 8], 0
jmp 0x10b28d6
mov eax, dword [ebp + 8]
cmp eax, dword [ebx + 0x84]
jae 0x10b28f0
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
inc dword [ebp + 8]
pop ecx
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x10b28bc
jmp 0x10b28f0
inc dword [ebx + 0x84]
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0x2d
je 0x10b28de
cmp word [esi], 0
je 0x10b2997
inc dword [ebx + 0x84]
push 0x5c
push esi
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 8], eax
je 0x10b2948
sub eax, esi
sar eax, 1
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0x9c]
push esi
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov eax, dword [ebp - 4]
and word [ebx + eax*2 + 0x9c], 0
mov eax, dword [ebp + 8]
add esp, 0xc
push 0
add eax, 2
push eax
jmp 0x10b295f
add ebx, 0x9c
push 0x1004284
push ebx
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
push 0
push esi
mov esi, dword [ebp + 0xc]
push esi
push edi
call fcn.01098979
mov ebx, eax
test bx, bx
jne 0x10b297e
or byte [esi + 0x84], 2
push esi
push edi
call fcn.0109889a
mov ax, bx
jmp 0x10b299b
cmp dword [ebx + 0x84], 1
jne 0x10b2997
push dword [ebp + 0xc]
push edi
call fcn.010988bf
jmp 0x10b299b
mov ax, 0xfe07
pop edi
pop esi
pop ebx
leave
ret 8