Function at 0x10c0d82
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 0x10c104a
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 0x10c100e
dec eax
je 0x10c0ea3
dec eax
je 0x10c0e83
dec eax
je 0x10c0e6d
dec eax
je 0x10c0ee7
dec eax
jne 0x10c0ebc
lea eax, [ebp - 0x624]
push eax
push 0x10ec9d0
call fcn.010cb400
cmp dword [ebp - 0x624], 0x13
je 0x10c0ed5
inc dword [ebx + 0x80]
jmp 0x10c0e29
test byte [edi + 0x62], 8
jne 0x10c0ef9
mov dword [ebx + 0x80], 4
jmp 0x10c0e29
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x10c0e97
cmp word [eax], 0
jne 0x10c0f83
mov dword [ebx + 0x80], 3
jmp 0x10c0e29
test byte [edi + 0x62], 2
jne 0x10c0f95
mov dword [ebx + 0x80], 2
jmp 0x10c0e29
dec eax
jne 0x10c14f0
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x18]
mov byte [esi + 0x2a], 6
jmp 0x10c101b
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x1c]
mov byte [esi + 0x2a], 7
jmp 0x10c101b
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x14]
mov byte [esi + 0x2a], 5
jmp 0x10c101b
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.010c0693
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
cmp dword [eax + 0x2c], 0
je 0x10c1029
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 0x10c1029
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.010c0693
jmp 0x10c1029
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0xc]
mov byte [esi + 0x2a], 2
jmp 0x10c101b
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.010c0693
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
cmp dword [eax + 0x24], 0
je 0x10c1003
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 0x10c1003
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.010c0693
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 8]
jmp 0x10c1023
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.010b4b34
jmp 0x10c14f4
mov eax, dword [edi + 0xc]
inc eax
inc eax
push eax
push edi
call fcn.010c0758
test eax, eax
mov dword [ebx + 0x80], eax
je 0x10c14de
cmp eax, 2
je 0x10c13ab
cmp eax, 3
jbe 0x10c14f0
cmp eax, 5
jbe 0x10c14de
cmp eax, 6
jne 0x10c14f0
cmp dword [ebx + 0x84], 3
jae 0x10c10e8
lea eax, [ebp - 0x61c]
push 0x1011bec
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 0x10c10cc
mov eax, dword [eax + 0x20]
test eax, eax
je 0x10c10cc
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 0x10c1115
push 0
push 0x10127d4
push esi
push edi
mov dword [ebx + 0x84], 1
call fcn.010a4cc6
test ax, ax
jne 0x10c111b
push esi
push edi
jmp 0x10c139e
mov eax, dword [ebp - 0x620]
cmp dword [ebx + 0x84], 1
jne 0x10c1141
push 0
push 0x10127c8
push esi
push edi
mov dword [ebx + 0x84], 2
call fcn.010a4cc6
test ax, ax
je 0x10c110e
cmp dword [ebx + 0x84], 2
jne 0x10c1167
push 0
push 0x10127ac
push esi
push edi
mov dword [ebx + 0x84], 3
call fcn.010a4cc6
test ax, ax
je 0x10c110e
mov ecx, dword [ebx + 0x84]
cmp ecx, 3
je 0x10c1187
cmp ecx, 4
je 0x10c1187
jbe 0x10c14f4
mov eax, 0xfffffe07
jmp 0x10c14f4
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 0x10c12c5
push esi
push dword [ebp - 0x628]
call fcn.010a4bf5
test ax, ax
mov dword [ebp - 0x620], eax
jne 0x10c12b9
mov al, byte [esi]
cmp al, 9
jne 0x10c1231
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
lea eax, [ebx + 0x9c]
push eax
lea eax, [ebp - 0x414]
push 0x10127a0
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.010a4fd7
test eax, eax
je 0x10c11c4
jmp 0x10c13a3
cmp al, 8
jne 0x10c11c4
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 0x10c11c4
push 0
lea eax, [edi + 4]
push eax
push dword [ebx + 0x14f4]
call fcn.010a4fd7
test eax, eax
je 0x10c11c4
lea eax, [ebp - 0x414]
push 0x1011cb0
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.010a509d
jmp 0x10c11c4
push esi
push dword [ebp - 0x628]
call fcn.010a4bc7
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 0x10c130f
cmp dword [ebx + 0x84], 4
jne 0x10c130f
mov ax, word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW]
jmp 0x10c14f4
mov dword [ebx + 0x84], 4
push 0
push dword [ebx + 0x14f4]
call fcn.010a4f80
test eax, eax
mov dword [ebp - 0x620], eax
je 0x10c14f0
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x624], eax
je 0x10c138d
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.010a4cc6
jmp 0x10c1392
mov eax, 0xfffffe07
test ax, ax
jne 0x10c1319
push esi
push dword [ebp - 0x628]
call fcn.010a4bc7
xor ax, ax
jmp 0x10c14f4
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 0x10c13e6
push esi
push dword [ebp - 0x628]
jmp 0x10c14e9
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 0x10c141e
mov eax, dword [ebp - 0x620]
cmp eax, dword [ebx + 0x84]
jae 0x10c1438
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 0x10c13fe
jmp 0x10c1438
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 0x10c1426
cmp word [edi], 0
je 0x10c14f0
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 0x10c149c
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 0x10c14b3
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.010a4cc6
mov edi, eax
test di, di
jne 0x10c14d9
or byte [esi + 0x84], 2
push esi
push dword [ebp - 0x628]
call fcn.010a4bc7
mov ax, di
jmp 0x10c14f4
cmp dword [ebx + 0x84], 1
jne 0x10c14f0
push esi
push edi
call fcn.010a4bf5
jmp 0x10c14f4
mov ax, 0xfe07
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075aef
leave
ret 8