Function at 0x4174e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x51f06d
mov eax, dword fs:[0]
push eax
sub esp, 0x714
mov eax, dword [0x56b338]
xor eax, esp
mov dword [esp + 0x710], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b338]
xor eax, esp
push eax
lea eax, [esp + 0x728]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, edx
mov ebp, 7
mov eax, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x417543
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0xb0]
call fcn.004021f0
mov dword [esp + 0x730], ebx
mov eax, edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417580
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x18]
push eax
lea esi, [esp + 0x5c]
call fcn.004021f0
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
mov byte [esp + 0x734], 1
call fcn.0040d3c0
add esp, 4
lea edi, [esp + 0x70]
mov byte [esp + 0x730], 2
call fcn.0040d520
mov edx, edi
push edx
lea ecx, [esp + 0x90]
call fcn.0040d310
add esp, 4
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov byte [esp + 0x738], 3
call fcn.004020b0
mov ebp, 8
mov byte [esp + 0x730], 2
cmp dword [esp + 0xa4], ebp
jb 0x417610
mov eax, dword [esp + 0x90]
push eax
call fcn.0042f3a5
add esp, 4
push 3
push 0x5624c8
lea ecx, [esp + 0xb0]
call fcn.00401d70
cmp dword [esp + 0xc0], ebp
mov eax, dword [esp + 0xac]
jae 0x41763a
lea eax, [esp + 0xac]
lea ecx, [esp + 0xc4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x417b6e
jmp 0x417660
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
je 0x417b6e
lea eax, [esp + 0xf0]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417696
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xf4]
push ecx
lea esi, [esp + 0x40]
call fcn.004021f0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov byte [esp + 0x734], 4
call fcn.0040d3c0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x73c], 5
call fcn.00405590
mov byte [esp + 0x730], 4
cmp dword [esp + 0x34], 0x10
jb 0x4176ff
mov eax, dword [esp + 0x20]
push eax
call fcn.0042f3a5
add esp, 4
lea edi, [esp + 0x70]
call fcn.0040d520
mov ecx, edi
push ecx
lea ecx, [esp + 0x20]
call fcn.0040d310
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x738], 6
call fcn.004020b0
mov byte [esp + 0x730], 4
cmp dword [esp + 0x34], ebp
jb 0x417746
mov edx, dword [esp + 0x20]
push edx
call fcn.0042f3a5
add esp, 4
cmp word [esp + 0xf0], 0x2e
jne 0x417775
mov byte [esp + 0x730], 2
cmp dword [esp + 0x50], ebp
jb 0x417660
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042f3a5
add esp, 4
jmp 0x417660
mov ax, word [esp + 0xf2]
cmp ax, bx
jne 0x4177a6
mov byte [esp + 0x730], 2
cmp dword [esp + 0x50], ebp
jb 0x417660
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0042f3a5
add esp, 4
jmp 0x417660
cmp ax, 0x2e
jne 0x4177da
cmp word [esp + 0xf4], bx
jne 0x4177da
mov byte [esp + 0x730], 2
cmp dword [esp + 0x50], ebp
jb 0x417660
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f3a5
add esp, 4
jmp 0x417660
test byte [esp + 0xc4], 0x10
je 0x417808
mov byte [esp + 0x730], 2
cmp dword [esp + 0x50], ebp
jb 0x417660
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042f3a5
add esp, 4
jmp 0x417660
push 0x206
lea ecx, [esp + 0x522]
push ebx
push ecx
mov word [esp + 0x528], bx
call fcn.00436020
add esp, 0xc
push 0x206
lea edx, [esp + 0x31a]
push ebx
push edx
mov word [esp + 0x320], bx
call fcn.00436020
mov eax, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x50], ebp
jae 0x417852
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x318]
push 0x561704
push eax
call fcn.0042f46b
add esp, 0xc
lea ecx, [esp + 0x314]
push 0x2e
push ecx
call fcn.0042f3fe
add esp, 8
cmp eax, ebx
je 0x4178b2
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x417883
sub ecx, esi
sar ecx, 1
cmp ecx, 0x104
jge 0x4178b2
lea edx, [esp + 0x51c]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
cmp cx, bx
jne 0x4178a3
mov ecx, str..lnk
lea eax, [esp + 0x51c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4178e6
cmp dx, bx
je 0x4178e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4178e6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4178c0
xor eax, eax
jmp 0x4178eb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x417913
mov byte [esp + 0x730], 2
cmp dword [esp + 0x50], ebp
jb 0x417660
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f3a5
add esp, 4
jmp 0x417660
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x318]
call fcn.0040d0a0
mov ecx, dword [esp + 0x5c]
add esp, 4
cmp dword [esp + 0x6c], ebp
jae 0x417938
lea ecx, [esp + 0x58]
mov esi, dword [esp + 0xa4]
cmp esi, ebp
mov edi, dword [esp + 0x90]
mov eax, edi
jae 0x417953
lea eax, [esp + 0x90]
push ecx
push eax
call fcn.0040d2a0
add esp, 8
test eax, eax
jne 0x4179ac
cmp esi, ebp
jb 0x41796e
push edi
call fcn.0042f3a5
add esp, 4
mov byte [esp + 0x730], 2
cmp dword [esp + 0x50], ebp
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], bx
jb 0x417660
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0042f3a5
add esp, 4
jmp 0x417660
cmp esi, ebp
mov ecx, edi
jae 0x4179b9
lea ecx, [esp + 0x90]
mov eax, dword [esp + 0x14]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4179e6
cmp dx, bx
je 0x4179e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4179e6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4179c0
xor eax, eax
jmp 0x4179eb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x417ab2
cmp esi, ebp
jb 0x417a00
push edi
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0x50], ebp
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], bx
jb 0x417a2d
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x417a55
mov eax, dword [esp + 0x74]
push eax
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0x6c], ebp
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jb 0x417a7e
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0xc0], ebp
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x417aa8
mov edx, dword [esp + 0xac]
push edx
call fcn.0042f3a5
add esp, 4
mov eax, 2
jmp 0x417bda
cmp esi, ebp
jb 0x417abf
push edi
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0x50], ebp
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], bx
jb 0x417aec
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x417b14
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0x6c], ebp
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jb 0x417b3d
mov edx, dword [esp + 0x58]
push edx
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0xc0], ebp
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x417b67
mov eax, dword [esp + 0xac]
push eax
call fcn.0042f3a5
add esp, 4
mov eax, 1
jmp 0x417bda
cmp dword [esp + 0x88], 0x10
jb 0x417b85
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0x6c], ebp
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jb 0x417bae
mov edx, dword [esp + 0x58]
push edx
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0xc0], ebp
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x417bd8
mov eax, dword [esp + 0xac]
push eax
call fcn.0042f3a5
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x728]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x710]
xor ecx, esp
call fcn.0042f3aa
add esp, 0x720
ret