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

Disassembly:
push 0xffffffffffffffff
push 0x10017751
mov eax, dword fs:[0]
push eax
mov eax, 0x2db0
call fcn.10009d50
mov eax, dword [0x1001d240]
xor eax, esp
mov dword [esp + 0x2dac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001d240]
xor eax, esp
push eax
lea eax, [esp + 0x2dc4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2dd4]
mov ebp, dword [esp + 0x2dd8]
lea ecx, [esp + 0x198]
mov dword [esp + 0x50], ebx
call fcn.10007590
xor esi, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x2dcc], esi
call fcn.10006090
lea ecx, [esp + 0x18]
mov byte [esp + 0x2dcc], 1
call fcn.10006100
push 0x3ff
lea eax, [esp + 0x1dc5]
push esi
push eax
mov byte [esp + 0x2dd8], 2
mov byte [esp + 0x1dcc], 0
call fcn.10009d80
lea ecx, [esp + 0x20]
push ecx
push esi
push ebx
mov dword [esp + 0x2c], esi
call fcn.10003f00
mov edi, dword [esp + 0x2c]
add esp, 0x18
test edi, edi
jle 0x10006a05
add edi, 0xa
push edi
mov dword [esp + 0x18], edi
call fcn.10009945
push edi
mov esi, eax
push 0
push esi
call fcn.10009d80
lea edx, [esp + 0x24]
push edx
push esi
push ebx
call fcn.10003f00
add esp, 0x1c
test al, al
jne 0x10006a05
push esi
call fcn.100094f0
add esp, 4
lea ecx, [esp + 0x18]
call fcn.100067f0
mov eax, dword [esp + 0x2c]
push eax
call fcn.100094f0
mov ecx, dword [esp + 0x1c]
xor esi, esi
push ecx
mov dword [esp + 0x34], esi
call fcn.100094f0
add esp, 8
lea ecx, [esp + 0x34]
call fcn.10006770
mov edx, dword [esp + 0x48]
push edx
call fcn.100094f0
mov eax, dword [esp + 0x38]
push eax
jmp 0x10006e22
push 0x63
lea ecx, [esp + 0x655]
push 0
push ecx
mov byte [esp + 0x65c], 0
call fcn.10009d80
push 0x170c
xor edi, edi
lea edx, [esp + 0x6c4]
push edi
push edx
call fcn.10009d80
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x66c]
push ecx
push esi
mov dword [esp + 0x38], 0xa
call fcn.10006270
push esi
call fcn.100094f0
mov esi, dword [esp + 0x3c]
add esp, 0x28
cmp esi, edi
jne 0x10006aa4
lea ecx, [esp + 0x18]
call fcn.100067f0
mov edx, dword [esp + 0x2c]
push edx
call fcn.100094f0
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x34], edi
call fcn.100094f0
add esp, 8
lea ecx, [esp + 0x34]
call fcn.10006770
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100094f0
mov edx, dword [esp + 0x38]
mov dword [esp + 0x4c], edi
push edx
jmp 0x10006e26
push 0x3ff
lea eax, [esp + 0x21c5]
push edi
push eax
mov dword [esp + 0x20], edi
mov byte [esp + 0x21cc], 0
call fcn.10009d80
add esp, 0xc
push 0x400
lea ecx, [esp + 0x21c4]
push ecx
push str.SystemRoot
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [esp + 0x21c0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10006ae6
mov edx, dword [str.winsxs.]
mov ecx, dword [0x10018eec]
mov dword [eax], edx
mov edx, dword [0x10018ef0]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x21c4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [esp + 0x54], eax
jmp 0x10006b30
test byte [esp + 0x58], 0x10
je 0x10006b9f
push esi
lea edx, [esp + 0x654]
push edx
lea eax, [esp + 0x8c]
push ebp
push eax
call fcn.10004010
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x10006b9f
push 0x400
lea ecx, [esp + 0x1dc4]
push 0
push ecx
call fcn.10009d80
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1dcc]
add esp, 0xc
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10006b80
mov edx, dword [esp + 0x14]
push edx
call edi
test eax, eax
jne 0x10006ca5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x58]
push eax
push ecx
call ebx
test eax, eax
jne 0x10006b30
cmp byte [esp + 0x1dc0], al
je 0x10006de4
push 0x800
push eax
lea eax, [esp + 0x25c8]
push eax
call fcn.10009d80
lea eax, [esp + 0x1dcc]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006be0
push 0x400
lea ecx, [esp + 0x25c4]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x1dcc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x25c0]
push eax
lea ecx, [esp + 0x19c]
call fcn.10007860
lea ecx, [esp + 0x34]
call fcn.10006770
lea ecx, [esp + 0x18]
call fcn.100067f0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x19c]
call fcn.10008fe0
cmp dword [esp + 0x30], 0
jne 0x10006d4f
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x19c]
call fcn.10008ba0
mov eax, dword [esp + 0x48]
mov esi, dword [eax]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x48]
test edi, edi
je 0x10006c74
cmp edi, dword [esp + 0x34]
je 0x10006c79
call fcn.1000a1ec
cmp esi, ebp
je 0x10006dcd
test edi, edi
jne 0x10006d0f
call fcn.1000a1ec
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x10006c9a
call fcn.1000a1ec
cmp dword [esi + 0x20], 0x10
jb 0x10006d16
mov eax, dword [esi + 0xc]
jmp 0x10006d19
lea ecx, [esp + 0x18]
call fcn.100067f0
mov edx, dword [esp + 0x2c]
push edx
call fcn.100094f0
mov eax, dword [esp + 0x1c]
xor esi, esi
push eax
mov dword [esp + 0x34], esi
call fcn.100094f0
add esp, 8
lea ecx, [esp + 0x34]
call fcn.10006770
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100094f0
mov edx, dword [esp + 0x38]
push edx
mov dword [esp + 0x50], esi
call fcn.100094f0
add esp, 8
lea ecx, [esp + 0x198]
mov dword [esp + 0x2dcc], 0xffffffff
call fcn.100075a0
mov eax, dword [esp + 0x14]
jmp 0x10006e47
mov eax, dword [edi]
jmp 0x10006c90
lea eax, [esi + 0xc]
mov ecx, dword [esp + 0x50]
push eax
push ecx
call fcn.10006e70
add esp, 8
test eax, eax
je 0x10006de4
test edi, edi
jne 0x10006d4b
call fcn.1000a1ec
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x10006d44
call fcn.1000a1ec
mov esi, dword [esi]
jmp 0x10006c66
mov eax, dword [edi]
jmp 0x10006d3a
mov edx, dword [esp + 0x2c]
mov esi, dword [edx]
mov edi, dword [esp + 0x18]
lea esp, [esp]
mov ebp, dword [esp + 0x2c]
test edi, edi
je 0x10006d6e
cmp edi, dword [esp + 0x18]
je 0x10006d73
call fcn.1000a1ec
cmp esi, ebp
je 0x10006dcd
test edi, edi
jne 0x10006d97
call fcn.1000a1ec
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x10006d8c
call fcn.1000a1ec
cmp dword [esi + 0x20], 0x10
jb 0x10006d9b
mov eax, dword [esi + 0xc]
jmp 0x10006d9e
mov eax, dword [edi]
jmp 0x10006d82
lea eax, [esi + 0xc]
push eax
mov eax, dword [esp + 0x54]
push eax
call fcn.10006e70
add esp, 8
test eax, eax
je 0x10006de4
test edi, edi
jne 0x10006dc9
call fcn.1000a1ec
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x10006dc5
call fcn.1000a1ec
mov esi, dword [esi]
jmp 0x10006d60
mov eax, dword [edi]
jmp 0x10006dbb
lea ecx, [esp + 0x18]
call fcn.100068a0
lea ecx, [esp + 0x34]
call fcn.10006870
jmp 0x10006cef
lea ecx, [esp + 0x18]
call fcn.100067f0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.100094f0
mov edx, dword [esp + 0x1c]
xor esi, esi
push edx
mov dword [esp + 0x34], esi
call fcn.100094f0
add esp, 8
lea ecx, [esp + 0x34]
call fcn.10006770
mov eax, dword [esp + 0x48]
push eax
call fcn.100094f0
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x50], esi
call fcn.100094f0
add esp, 8
lea ecx, [esp + 0x198]
mov dword [esp + 0x2dcc], 0xffffffff
call fcn.100075a0
xor eax, eax
mov ecx, dword [esp + 0x2dc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2dac]
xor ecx, esp
call fcn.10009d36
add esp, 0x2dbc
ret