Function at 0x1000d4f4
Capabilities:
Enumerate files on windows
Identify system language via api
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6cc
mov eax, dword [0x1001c004]
xor eax, esp
mov dword [esp + 0x6c8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x105
mov dword [esp + 0x20], 0x60
push edi
test ecx, ecx
je 0x1000daae
cmp word [ecx], bx
je 0x1000daae
test edx, edx
je 0x1000daae
cmp word [edx], bx
je 0x1000daae
push 0xffffffffffffffff
mov dword [esi], ebx
lea eax, [esp + 0x4cc]
push ecx
mov esi, 0x104
push esi
push eax
call fcn.10010524
add esp, 0x10
test eax, eax
jne 0x1000daa7
lea ecx, [esp + 0x4c8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1000d588
sub ecx, edx
sar ecx, 1
cmp word [esp + ecx*2 + 0x4c6], 0x5c
je 0x1000d5c2
push 0xffffffffffffffff
push 0x10006120
lea eax, [esp + 0x4d0]
push esi
push eax
call fcn.10010618
add esp, 0x10
test eax, eax
jne 0x1000daa7
lea eax, [esp + 0x4c8]
mov dword [esp + 0xc], 0x80070002
mov dword [esp + 0x34], eax
lea edi, [esp + 0x2a8]
lea eax, [esp + 0x20]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x4c], eax
xor eax, eax
stosd dword es:[edi], eax
push 6
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x2ac]
push eax
push 0x10006124
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1000d651
cmp eax, 6
jae 0x1000d651
lea eax, [esp + 0xc]
push eax
push 0xa
lea eax, [esp + 0x2b0]
push eax
lea ecx, [esp + 0x40]
call fcn.1000dace
cmp dword [esp + 0xc], ebx
je 0x1000d7c1
mov eax, dword [0x1001d134]
xor edi, edi
inc edi
test eax, eax
jne 0x1000d68c
push 0x10006134
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000d7c8
push 0x10006150
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x1001d134], eax
jmp 0x1000d695
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x1000d7c8
push ebx
push ebx
push 0x10006170
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1000d6c6
push ebx
push ebx
push 0x100
mov ecx, esi
call fcn.1001aab6
call esi
test eax, eax
je 0x1000daa7
mov eax, dword [0x1001d130]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
test eax, eax
jne 0x1000d706
push 0x10006194
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000d850
push 0x100061b0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x1001d130], eax
jmp 0x1000d70f
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x1000d850
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push ebx
lea eax, [esp + 0x24]
push eax
push 0x34
call fcn.1001aab6
call esi
test eax, eax
je 0x1000daa7
mov eax, dword [esp + 0x14]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x1000d75a
mov eax, 0x8007000e
jmp 0x1000dab3
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push edi
lea eax, [esp + 0x24]
push eax
push 0x34
call fcn.1001aab6
call esi
test eax, eax
je 0x1000daa7
mov esi, edi
cmp word [edi], bx
je 0x1000d7a4
lea eax, [esp + 0xc]
push eax
push 0x10
push esi
lea ecx, [esp + 0x40]
call fcn.1000dace
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x1000d7a8
add esi, 0xa
xor eax, eax
cmp word [esi], ax
jne 0x1000d77f
jmp 0x1000d7a8
mov ebx, dword [esp + 0xc]
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, ebx
jne 0x1000d850
xor eax, eax
jmp 0x1000dab3
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov esi, 0x3ff
mov ecx, eax
and ecx, esi
lea edx, [esi + 0xa]
cmp cx, di
je 0x1000d7e8
cmp cx, 0xd
jne 0x1000d7ea
mov eax, edx
mov word [esp + 0x2a0], ax
and eax, esi
or eax, 0x400
mov word [esp + 0x2a4], dx
mov word [esp + 0x2a2], ax
mov esi, ebx
push 0xa
push 6
lea eax, [esp + 0x2bc]
push eax
movzx eax, word [esp + esi*2 + 0x2ac]
push eax
call fcn.10010424
add esp, 0x10
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0xa
lea eax, [esp + 0x2bc]
push eax
call fcn.1000dace
cmp dword [esp + 0xc], ebx
je 0x1000d7c1
inc esi
cmp esi, 3
jb 0x1000d80b
lea eax, [esp + 0xc]
push eax
push 0xa
push 0x100061d0
lea ecx, [esp + 0x40]
call fcn.1000dace
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x1000d7c1
push 0xffffffffffffffff
lea eax, [esp + 0x4cc]
mov esi, 0x104
push eax
lea eax, [esp + 0x2c8]
push esi
push eax
call fcn.10010524
add esp, 0x10
test eax, eax
jne 0x1000daa0
push 0xffffffffffffffff
push 0x100061dc
lea eax, [esp + 0x2c8]
push esi
push eax
call fcn.10010618
add esp, 0x10
test eax, eax
jne 0x1000daa0
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000d8ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1000dab3
movzx eax, ax
or eax, 0x80070000
jmp 0x1000dab3
lea esi, [esp + 0x4c8]
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x1000d8fa
sub esi, ecx
sar esi, 1
jmp 0x1000da46
test byte [esp + 0x50], 0x10
je 0x1000da46
mov ecx, 0x100061e0
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000d948
test dx, dx
je 0x1000d944
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000d948
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000d922
xor eax, eax
jmp 0x1000d94d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000da46
mov ecx, 0x100061e4
lea eax, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000d984
test dx, dx
je 0x1000d980
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000d984
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000d95e
xor eax, eax
jmp 0x1000d989
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000da46
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.1000decd
pop ecx
pop ecx
test eax, eax
je 0x1000da46
xor ecx, ecx
cmp word [eax], cx
jne 0x1000da46
lea eax, [esi + esi]
cmp eax, 0x208
jae 0x1000dac8
mov word [esp + eax + 0x2c0], cx
lea eax, [esp + 0x7c]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x2c8]
push 0x104
push eax
call fcn.10010618
add esp, 0x10
test eax, eax
jne 0x1000da46
push 0xffffffffffffffff
push 0x100061f8
lea eax, [esp + 0x2c8]
push 0x104
push eax
call fcn.10010618
add esp, 0x10
test eax, eax
jne 0x1000da46
push 0xffffffffffffffff
push dword [esp + 0x24]
lea eax, [esp + 0x2c8]
push 0x104
push eax
call fcn.10010618
add esp, 0x10
test eax, eax
jne 0x1000da46
push dword [esp + 0x24]
push eax
lea eax, [esp + 0x2c8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, eax
test ecx, ecx
jne 0x1000da65
lea eax, [esp + 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000d90e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x1000dab3
mov eax, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1000da7b
mov ax, word [esp + 0x10]
mov word [ecx], ax
cmp dword [esp + 0x18], 0
je 0x1000da9a
lea eax, [esp + 0x2c0]
push eax
push dword [esp + 0x34]
push dword [esp + 0x20]
call fcn.10010623
add esp, 0xc
xor eax, eax
mov ebx, eax
jmp 0x1000da5a
mov eax, 0x80070003
jmp 0x1000dab3
mov eax, 0x80004005
jmp 0x1000dab3
mov eax, 0x80070057
mov ecx, dword [esp + 0x6d4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000df30
mov esp, ebp
pop ebp
ret
call fcn.1000e136
int3