Function at 0x1001d030
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10050678
mov eax, dword fs:[0]
push eax
sub esp, 0xed0
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0xecc], eax
push ebx
push esi
push edi
mov eax, dword [0x10063790]
xor eax, esp
push eax
lea eax, [esp + 0xee0]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
mov dword [esp + 0xeec], ebx
lea eax, [esp + 0x8ca]
mov esi, ecx
mov edi, edx
push ebx
mov dword [esp + 0x5c], ebx
push eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x20], edi
mov word [esp + 0x8d0], bx
call fcn.1003d360
add esp, 0xc
push 0x206
lea ecx, [esp + 0x2b2]
push ebx
push ecx
mov word [esp + 0x2b8], bx
call fcn.1003d360
add esp, 0xc
push 0x206
lea edx, [esp + 0xad2]
push ebx
push edx
mov word [esp + 0xad8], bx
call fcn.1003d360
add esp, 0xc
push 0x206
lea eax, [esp + 0xcda]
push ebx
push eax
mov word [esp + 0xce0], bx
call fcn.1003d360
add esp, 0xc
push 0x206
lea ecx, [esp + 0x4ba]
push ebx
push ecx
mov word [esp + 0x4c0], bx
call fcn.1003d360
add esp, 0xc
push 0x206
lea edx, [esp + 0x6c2]
push ebx
push edx
mov word [esp + 0x6c8], bx
call fcn.1003d360
add esp, 0xc
push ebx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push 0x10057090
mov ecx, edi
mov word [edi + 4], bx
call fcn.10001bf0
mov dword [esp + 0xee8], ebx
cmp dword [esi + 0x18], 8
mov edi, 1
mov dword [esp + 0x54], edi
jb 0x1001d16d
mov esi, dword [esi + 4]
jmp 0x1001d170
add esi, 4
lea eax, [esp + 0x8c4]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1001d19f
movzx ecx, word [esi + eax]
cmp cx, bx
je 0x1001d19f
mov word [eax], cx
add eax, 2
sub edx, edi
jne 0x1001d180
jmp 0x1001d1a3
cmp edx, ebx
jne 0x1001d1a6
sub eax, 2
lea edx, [esp + 0x8c4]
push edx
mov word [eax], bx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov ecx, 0x104
lea eax, [esp + 0x8c4]
cmp word [eax], bx
je 0x1001d1d1
add eax, 2
sub ecx, edi
jne 0x1001d1c3
jmp 0x1001d1f4
cmp ecx, ebx
je 0x1001d1f4
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0x8c4]
mov eax, 0x1005877c
call fcn.100067e0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x8c8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x1001d76c
mov ecx, dword [esp + 0x58]
call fcn.100019d0
lea ecx, [esp + 0x2ac]
mov esi, eax
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1001d24f
movzx eax, word [esi + ecx]
cmp ax, bx
je 0x1001d24f
mov word [ecx], ax
add ecx, 2
sub edx, edi
jne 0x1001d230
jmp 0x1001d253
cmp edx, ebx
jne 0x1001d256
sub ecx, 2
mov word [ecx], bx
lea ecx, [esp + 0x2ac]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov ecx, 0x104
lea eax, [esp + 0x2ac]
cmp word [eax], bx
je 0x1001d281
add eax, 2
sub ecx, edi
jne 0x1001d273
jmp 0x1001d2a6
cmp ecx, ebx
je 0x1001d2a6
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0x2ac]
lea eax, [esp + 0x88]
call fcn.100067e0
mov ecx, 0x10058784
lea eax, [esp + 0x88]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001d2d8
cmp dx, bx
je 0x1001d2d4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001d2d8
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x1001d2b2
xor eax, eax
jmp 0x1001d2dd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1001d7b8
mov ecx, 0x10058788
lea eax, [esp + 0x88]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001d317
cmp dx, bx
je 0x1001d313
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001d317
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x1001d2f1
xor eax, eax
jmp 0x1001d31c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1001d7b8
test byte [esp + 0x5c], 0x10
je 0x1001d7b8
lea eax, [esp + 0xacc]
lea esi, [esp + 0x2ac]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1001d365
movzx ecx, word [esi + eax]
cmp cx, bx
je 0x1001d365
mov word [eax], cx
add eax, 2
sub edx, edi
jne 0x1001d346
jmp 0x1001d369
cmp edx, ebx
jne 0x1001d36c
sub eax, 2
mov word [eax], bx
mov ecx, 0x104
lea eax, [esp + 0xacc]
jmp 0x1001d380
cmp word [eax], bx
je 0x1001d38e
add eax, 2
sub ecx, edi
jne 0x1001d380
jmp 0x1001d3b1
cmp ecx, ebx
je 0x1001d3b1
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0xacc]
mov eax, str.EXPLORER.EXE
call fcn.100067e0
lea eax, [esp + 0xcd4]
lea esi, [esp + 0x2ac]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
jmp 0x1001d3d0
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1001d3ef
movzx ecx, word [esi + eax]
cmp cx, bx
je 0x1001d3ef
mov word [eax], cx
add eax, 2
sub edx, edi
jne 0x1001d3d0
jmp 0x1001d3f3
cmp edx, ebx
jne 0x1001d3f6
sub eax, 2
mov word [eax], bx
mov ecx, 0x104
lea eax, [esp + 0xcd4]
cmp word [eax], bx
je 0x1001d413
add eax, 2
sub ecx, edi
jne 0x1001d405
jmp 0x1001d436
cmp ecx, ebx
je 0x1001d436
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0xcd4]
mov eax, str.WIN.INI
call fcn.100067e0
lea eax, [esp + 0x4b4]
lea esi, [esp + 0x2ac]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [ecx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1001d46f
movzx ecx, word [esi + eax]
cmp cx, bx
je 0x1001d46f
mov word [eax], cx
add eax, 2
sub edx, edi
jne 0x1001d450
jmp 0x1001d473
cmp edx, ebx
jne 0x1001d476
sub eax, 2
mov word [eax], bx
mov ecx, 0x104
lea eax, [esp + 0x4b4]
cmp word [eax], bx
je 0x1001d493
add eax, 2
sub ecx, edi
jne 0x1001d485
jmp 0x1001d4b6
cmp ecx, ebx
je 0x1001d4b6
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0x4b4]
mov eax, str.SYSTEM32CONFIG
call fcn.100067e0
lea eax, [esp + 0x6bc]
lea esi, [esp + 0x2ac]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [ecx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1001d4ef
movzx ecx, word [esi + eax]
cmp cx, bx
je 0x1001d4ef
mov word [eax], cx
add eax, 2
sub edx, edi
jne 0x1001d4d0
jmp 0x1001d4f3
cmp edx, ebx
jne 0x1001d4f6
sub eax, 2
mov word [eax], bx
mov ecx, 0x104
lea eax, [esp + 0x6bc]
cmp word [eax], bx
je 0x1001d513
add eax, 2
sub ecx, edi
jne 0x1001d505
jmp 0x1001d536
cmp ecx, ebx
je 0x1001d536
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0x6bc]
mov eax, str.SYSTEM32WINPESHL.EXE
call fcn.100067e0
lea edx, [esp + 0xacc]
push edx
call fcn.1001d7e0
test eax, eax
je 0x1001d674
mov dword [esp + 0x1c], vtable.COS_Identify.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4b8]
mov dword [esp + 0xeec], edi
call fcn.10001110
cmp dword [esp + 0x50], ebx
jne 0x1001d632
test byte [0x10065ac4], 1
jne 0x1001d5ca
or dword [0x10065ac4], edi
call fcn.1001db00
push 0x10051230
call fcn.1003c413
add esp, 4
lea ecx, [esp + 0x4b4]
push ecx
push str.In__s_there_is_no_Windows_PE__Registry_
mov eax, 0x10065ac8
call fcn.1001e660
add esp, 8
lea edx, [esp + 0x6bc]
push edx
call fcn.1001d7e0
test eax, eax
jne 0x1001d66d
push str.No_winpeshl.exe
push ecx
call fcn.100020c0
add esp, 4
call fcn.1001e660
lea eax, [esp + 0x2b0]
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001d615
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x2b0]
push edx
jmp 0x1001d758
test byte [0x10065ac4], 1
jne 0x1001d653
or dword [0x10065ac4], edi
call fcn.1001db00
push 0x10051230
call fcn.1003c413
add esp, 4
lea eax, [esp + 0x4b4]
push eax
push str.In__s_there_is_Windows_PE__Registry_
mov eax, 0x10065ac8
call fcn.1001e660
add esp, 8
mov byte [esp + 0xee8], bl
lea ecx, [esp + 0xcd4]
push ecx
call fcn.1001d7e0
test eax, eax
je 0x1001d7b8
mov dword [esp + 0x1c], vtable.COS_Identify.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x4b8]
mov dword [esp + 0xeec], 2
call fcn.10001110
cmp dword [esp + 0x50], ebx
jne 0x1001d797
lea eax, [esp + 0x4b4]
push eax
push str.In__s_there_is_no_Windows_PE__Registry_
call fcn.100020c0
call fcn.1001e660
add esp, 8
lea ecx, [esp + 0x6bc]
push ecx
call fcn.1001d7e0
test eax, eax
jne 0x1001d7b1
push str.No_winpeshl.exe
push ecx
call fcn.100020c0
add esp, 4
call fcn.1001e660
lea eax, [esp + 0x2b0]
add esp, 4
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001d740
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2b0]
push eax
mov ecx, dword [esp + 0x1c]
call fcn.10001bf0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xee0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xecc]
xor ecx, esp
call fcn.1003c13d
add esp, 0xedc
ret
lea edx, [esp + 0x4b4]
push edx
push str.In__s_there_is_Windows_PE__Registry_
call fcn.100020c0
call fcn.1001e660
add esp, 8
mov byte [esp + 0xee8], bl
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
jne 0x1001d214
jmp 0x1001d761