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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x10de03c]
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 0x10c11d8
xor eax, eax
mov ecx, reloc.KERNEL32.dll_SetErrorMode
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 0x10c119c
dec eax
je 0x10c1031
dec eax
je 0x10c1011
dec eax
je 0x10c0ffb
dec eax
je 0x10c1075
dec eax
jne 0x10c104a
lea eax, [ebp - 0x624]
push eax
push 0x10ec9d8
call fcn.010cb58e
cmp dword [ebp - 0x624], 0x13
je 0x10c1063
inc dword [ebx + 0x80]
jmp 0x10c0fb7
test byte [edi + 0x62], 8
jne 0x10c1087
mov dword [ebx + 0x80], 4
jmp 0x10c0fb7
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x10c1025
cmp word [eax], 0
jne 0x10c1111
mov dword [ebx + 0x80], 3
jmp 0x10c0fb7
test byte [edi + 0x62], 2
jne 0x10c1123
mov dword [ebx + 0x80], 2
jmp 0x10c0fb7
dec eax
jne 0x10c167e
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x18]
mov byte [esi + 0x2a], 6
jmp 0x10c11a9
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x1c]
mov byte [esi + 0x2a], 7
jmp 0x10c11a9
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x14]
mov byte [esi + 0x2a], 5
jmp 0x10c11a9
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x10]
mov byte [esi + 0x28], CloseServiceHandle
mov byte [esi + 0x29], 0
mov byte [esi + 0x2a], 3
mov dword [esi + 0x80], reloc.GDI32.dll_CreateBitmap
mov dword [ebp - 0x620], eax
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x10054a8
push dword [eax + 0x2c]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010c0821
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
cmp dword [eax + 0x2c], 0
je 0x10c11b7
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 0x10c11b7
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x1005950
push dword [eax + 0x30]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010c0821
jmp 0x10c11b7
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0xc]
mov byte [esi + 0x2a], 2
jmp 0x10c11a9
mov byte [esi + 0x28], CloseServiceHandle
mov byte [esi + 0x29], 0
mov byte [esi + 0x2a], 1
mov dword [esi + 0x80], reloc.GDI32.dll_CreateBitmap
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x10054a8
push dword [eax + 0x24]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010c0821
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
cmp dword [eax + 0x24], 0
je 0x10c1191
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 0x10c1191
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
push 0x1005950
push dword [eax + 0x28]
lea eax, [esi + 0x38]
push dword [edi + 0x34]
push eax
call fcn.010c0821
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 8]
jmp 0x10c11b1
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov byte [esi + 0x2a], 4
mov byte [esi + 0x28], CloseServiceHandle
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.010b4cc2
jmp 0x10c1682
mov eax, dword [edi + 0xc]
inc eax
inc eax
push eax
push edi
call fcn.010c08e6
test eax, eax
mov dword [ebx + 0x80], eax
je 0x10c166c
cmp eax, 2
je 0x10c1539
cmp eax, 3
jbe 0x10c167e
cmp eax, 5
jbe 0x10c166c
cmp eax, 6
jne 0x10c167e
cmp dword [ebx + 0x84], 3
jae 0x10c1276
lea eax, [ebp - 0x61c]
push 0x1011c04
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 0x10c125a
mov eax, dword [eax + 0x20]
test eax, eax
je 0x10c125a
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 0x1005b88
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
cmp dword [ebx + 0x84], 0
jne 0x10c12a3
push 0
push 0x10127ec
push esi
push edi
mov dword [ebx + 0x84], 1
call fcn.010a4e81
test ax, ax
jne 0x10c12a9
push esi
push edi
jmp 0x10c152c
mov eax, dword [ebp - 0x620]
cmp dword [ebx + 0x84], 1
jne 0x10c12cf
push 0
push 0x10127e0
push esi
push edi
mov dword [ebx + 0x84], 2
call fcn.010a4e81
test ax, ax
je 0x10c129c
cmp dword [ebx + 0x84], 2
jne 0x10c12f5
push 0
push 0x10127c4
push esi
push edi
mov dword [ebx + 0x84], 3
call fcn.010a4e81
test ax, ax
je 0x10c129c
mov ecx, dword [ebx + 0x84]
cmp ecx, 3
je 0x10c1315
cmp ecx, 4
je 0x10c1315
jbe 0x10c1682
mov eax, 0xfffffe07
jmp 0x10c1682
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 0x10c1453
push esi
push dword [ebp - 0x628]
call fcn.010a4db0
test ax, ax
mov dword [ebp - 0x620], eax
jne 0x10c1447
mov al, byte [esi]
cmp al, 9
jne 0x10c13bf
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
lea eax, [ebx + 0x9c]
push eax
lea eax, [ebp - 0x414]
push 0x10127b8
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.010a5192
test eax, eax
je 0x10c1352
jmp 0x10c1531
cmp al, 8
jne 0x10c1352
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
lea eax, [ebp - 0x414]
push 0x1005b88
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 0x10c1352
push 0
lea eax, [edi + 4]
push eax
push dword [ebx + 0x14f4]
call fcn.010a5192
test eax, eax
je 0x10c1352
lea eax, [ebp - 0x414]
push 0x1011cc8
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.010a5258
jmp 0x10c1352
push esi
push dword [ebp - 0x628]
call fcn.010a4d82
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 0x10c149d
cmp dword [ebx + 0x84], 4
jne 0x10c149d
mov ax, word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW]
jmp 0x10c1682
mov dword [ebx + 0x84], 4
push 0
push dword [ebx + 0x14f4]
call fcn.010a513b
test eax, eax
mov dword [ebp - 0x620], eax
je 0x10c167e
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x624], eax
je 0x10c151b
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.010a4e81
jmp 0x10c1520
mov eax, 0xfffffe07
test ax, ax
jne 0x10c14a7
push esi
push dword [ebp - 0x628]
call fcn.010a4d82
xor ax, ax
jmp 0x10c1682
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 0x10c1574
push esi
push dword [ebp - 0x628]
jmp 0x10c1677
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 0x10c15ac
mov eax, dword [ebp - 0x620]
cmp eax, dword [ebx + 0x84]
jae 0x10c15c6
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 0x10c158c
jmp 0x10c15c6
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 0x10c15b4
cmp word [edi], 0
je 0x10c167e
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 0x10c162a
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 0x10c1641
add ebx, 0x9c
push 0x1004204
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.010a4e81
mov edi, eax
test di, di
jne 0x10c1667
or byte [esi + 0x84], 2
push esi
push dword [ebp - 0x628]
call fcn.010a4d82
mov ax, di
jmp 0x10c1682
cmp dword [ebx + 0x84], 1
jne 0x10c167e
push esi
push edi
call fcn.010a4db0
jmp 0x10c1682
mov ax, 0xfe07
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075bbb
leave
ret 8