Function at 0x10c0a03
Capabilities:
Enumerate files on windows
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc9c
mov eax, dword [0x10de03c]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [edi + 0x14f4], ebx
mov dword [ebp - 0xc94], eax
mov dword [ebp - 0xc98], edi
jne 0x10c0a50
push 0x834
call fcn.010a4fde
cmp eax, ebx
mov dword [edi + 0x14f4], eax
je 0x10c0ef8
mov eax, dword [esi + 0x14]
test byte [eax + 0x9f], 2
mov dword [ebp - 0x834], 0xf750e6c3
mov word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW], 0x38ee
mov word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW], 0x11d1
mov byte [ebp - 0x82c], 0x85
mov byte [ebp - 0x82b], RegLoadKeyW
mov byte [ebp - 0x82a], 0
mov byte [ebp - 0x829], 0xc0
mov byte [ebp - 0x828], 0x4f
mov byte [ebp - 0x827], GetProcessHeap
mov byte [ebp - 0x826], 0x95
mov byte [ebp - 0x825], 0xee
mov dword [ebp - 0xc9c], ebx
jne 0x10c0ac9
mov eax, dword [esi + 4]
cmp byte [eax + 0x30], 6
jne 0x10c0ac9
mov dword [ebp - 0xc9c], 1
mov esi, dword [sym.imp.msvcrt.dll__wcsupr]
xor eax, eax
cmp word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW], bx
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, 0x83
lea edi, [ebp - 0xc90]
rep stosd dword es:[edi], eax
jne 0x10c0b77
lea eax, [ebp - 0xc90]
push eax
xor edi, edi
push edi
call fcn.010cb5b2
test eax, eax
je 0x10c0b77
push 0x208
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xc90]
push eax
call ebx
cmp eax, 0x410
ja 0x10c0af1
cmp dword [ebp - 0xc94], edi
je 0x10c0b4f
push dword [ebp - 0xc94]
call dword [sym.imp.msvcrt.dll_wcslen]
push eax
push dword [ebp - 0xc94]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0x10
test eax, eax
jne 0x10c0af1
lea eax, [ebp - 0x824]
push eax
call esi
pop ecx
push edi
lea eax, [ebp - 0x824]
push eax
mov eax, dword [ebp - 0xc98]
push dword [eax + 0x14f4]
call fcn.010a5258
jmp 0x10c0af1
xor eax, eax
mov ecx, 0x104
lea edi, [ebp - 0x414]
rep stosd dword es:[edi], eax
push 0x208
lea eax, [ebp - 0x414]
push eax
push 0x1012788
call ebx
cmp dword [ebp - 0xc94], 0
je 0x10c0be4
push dword [ebp - 0xc94]
call dword [sym.imp.msvcrt.dll_wcslen]
push eax
push dword [ebp - 0xc94]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0x10
test eax, eax
je 0x10c0be4
mov eax, dword [ebp - 0xc98]
push 1
push dword [eax + 0x14f4]
call fcn.010a513b
xor ax, ax
jmp 0x10c0efc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
lea edi, [ebp + eax*2 - 0x414]
lea eax, [ebp - 0x414]
mov dword [esp], 0x1012770
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
lea eax, [ebp - 0x414]
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0xa84]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc94], eax
je 0x10c0c88
lea eax, [ebp - 0xa58]
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcscpy]
push edi
call esi
add esp, 0xc
push 0
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0xc98]
push dword [eax + 0x14f4]
call fcn.010a5258
lea eax, [ebp - 0xa84]
push eax
push dword [ebp - 0xc94]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10c0c37
push dword [ebp - 0xc94]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x1012744
push edi
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x414]
push eax
call esi
add esp, 0xc
push 0
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0xc98]
push dword [eax + 0x14f4]
call fcn.010a5258
xor eax, eax
mov ecx, 0x104
lea edi, [ebp - 0x414]
rep stosd dword es:[edi], eax
push 0x208
lea eax, [ebp - 0x414]
push eax
push 0x10126f0
call ebx
lea eax, [ebp - 0x414]
push eax
call esi
pop ecx
push 0
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0xc98]
push dword [eax + 0x14f4]
call fcn.010a5258
xor eax, eax
mov ecx, 0x104
lea edi, [ebp - 0x414]
rep stosd dword es:[edi], eax
push 0x208
lea eax, [ebp - 0x414]
push eax
push 0x1012628
call ebx
lea eax, [ebp - 0x414]
push eax
call esi
pop ecx
push 0
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0xc98]
push dword [eax + 0x14f4]
call fcn.010a5258
xor eax, eax
cmp word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW], ax
mov ecx, 0x104
lea edi, [ebp - 0x414]
rep stosd dword es:[edi], eax
jne 0x10c0bc9
push 0x208
lea eax, [ebp - 0x414]
push eax
push 0x10125e8
call ebx
lea eax, [ebp - 0x414]
push eax
lea edi, [ebp - 0x831]
call dword [sym.imp.msvcrt.dll_wcslen]
or dword [ebp - 0xc9c], 0xffffffff
lea eax, [ebp + eax*2 - 0x414]
pop ecx
mov dword [ebp - 0xc94], eax
xor ebx, ebx
cmp ebx, 4
je 0x10c0db3
cmp ebx, 6
je 0x10c0db3
cmp ebx, 8
je 0x10c0db3
cmp ebx, 0xa
jne 0x10c0e05
mov eax, dword [ebp - 0xc94]
add dword [ebp - 0xc94], 2
cmp ebx, 4
mov word [eax], 0x2d
jne 0x10c0dd0
lea edi, [ebp - 0x82f]
cmp ebx, 6
jne 0x10c0ddb
lea edi, [ebp - 0x82d]
cmp ebx, 8
jne 0x10c0df0
mov dword [ebp - 0xc9c], 1
lea edi, [ebp - 0x82c]
cmp ebx, 0xa
jne 0x10c0e05
mov dword [ebp - 0xc9c], 1
lea edi, [ebp - 0x82a]
movzx eax, byte [edi]
push eax
push 0x10125dc
push dword [ebp - 0xc94]
call dword [sym.imp.msvcrt.dll_swprintf]
add edi, dword [ebp - 0xc9c]
add dword [ebp - 0xc94], 4
add esp, 0xc
inc ebx
cmp ebx, 0x10
jl 0x10c0d9f
mov edi, dword [sym.imp.msvcrt.dll_wcscat]
lea eax, [ebp - 0x414]
push 0x10125d8
push eax
call edi
lea eax, [ebp - 0x414]
push 0x1004204
push eax
call edi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
lea ebx, [ebp + eax*2 - 0x414]
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x414]
push 0x10054a8
push eax
call edi
add esp, 0x20
lea eax, [ebp - 0xa84]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10c0bc9
lea eax, [ebp - 0xa58]
push eax
push ebx
call dword [sym.imp.msvcrt.dll_wcscpy]
push ebx
call esi
add esp, 0xc
test byte [ebp - 0xa84], 0x10
jne 0x10c0eda
push 1
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0xc98]
push dword [eax + 0x14f4]
call fcn.010a5258
lea eax, [ebp - 0xa84]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10c0ea3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x10c0bc9
mov ax, 0xfe07
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075bbb
leave
ret 8