Function at 0x4397e0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x45d26d
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x540], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x55c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x574]
mov ebx, dword [esp + 0x56c]
mov esi, dword [esp + 0x570]
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], ebx
jbe 0x439cb1
add eax, 0xffffffff
push 0xffffffffffffffff
mov dword [ebx], eax
push ebp
mov eax, esi
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], 7
mov dword [esp + 0xe0], ebp
mov word [esp + 0xd0], bp
call fcn.00406d10
push 0x206
lea ecx, [esp + 0x352]
push ebp
mov dword [esp + 0x56c], ebp
push ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov word [esp + 0x358], bp
call fcn.00446fa0
add esp, 0xc
push 0x250
lea edx, [esp + 0x100]
push ebp
push edx
lea edi, [ebp + 1]
call fcn.00446fa0
add esp, 0xc
push 0xffffffffffffffff
push ebp
mov eax, esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], bp
call fcn.00406d10
mov byte [esp + 0x564], 1
mov eax, dword [esp + 0x84]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x4398fe
call fcn.00441e46
cmp dword [esp + 0x88], 8
mov eax, dword [esp + 0x74]
jae 0x439910
lea eax, [esp + 0x74]
cmp word [eax + esi*2], 0x5c
je 0x439927
push 1
push 0x4624bc
lea ecx, [esp + 0x78]
call fcn.00406eb0
push 3
push 0x46571c
lea esi, [esp + 0x34]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], bp
call fcn.00406f80
lea eax, [esp + 0xa8]
push eax
mov edx, esi
lea ecx, [esp + 0x74]
mov byte [esp + 0x568], 2
call fcn.0041ff30
add esp, 4
mov esi, 8
mov byte [esp + 0x564], 4
cmp dword [esp + 0x44], esi
jb 0x439986
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xc0], esi
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebp
mov word [esp + 0x30], bp
jae 0x4399ae
lea ecx, [esp + 0xac]
lea edx, [esp + 0x34c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bp
jne 0x4399b5
lea edx, [esp + 0xfc]
push edx
lea eax, [esp + 0x350]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x439c2a
cmp edi, ebp
je 0x439c21
cmp dword [ebx], ebp
jbe 0x439c21
lea eax, [esp + 0x128]
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], bp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x439a20
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x12c]
push ecx
lea esi, [esp + 0x94]
call fcn.00406f80
mov byte [esp + 0x564], 5
mov eax, dword [esp + 0xa0]
push 0x463e84
mov edi, 1
mov ecx, esi
call fcn.00411070
test eax, eax
je 0x439b6f
mov eax, dword [esp + 0xa0]
push 0x465724
mov edi, 2
mov ecx, esi
call fcn.00411070
test eax, eax
je 0x439b6f
test byte [esp + 0xfc], 0x10
je 0x439baf
lea edx, [esp + 0x70]
push edx
lea ebx, [esp + 0x12c]
lea esi, [esp + 0xe4]
call fcn.00408960
add esp, 4
push ebp
push ebp
lea eax, [esp + 0x94]
push eax
push 1
mov byte [esp + 0x574], 6
call fcn.00439640
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, eax
mov eax, edi
call fcn.0042e0e0
mov edx, dword [esp + 0x1c]
push edi
mov ecx, esi
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.004397e0
push 4
push str.size
lea esi, [esp + 0x50]
mov ebx, eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebp
mov word [esp + 0x54], bp
call fcn.00406f80
push ebx
mov eax, esi
push eax
mov byte [esp + 0x56c], 7
call fcn.0042e570
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x439b46
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004415cb
add esp, 4
add dword [esp + 0x14], ebx
mov edx, dword [esp + 0x68]
adc dword [esp + 0x18], edx
cmp dword [esp + 0xf8], esi
jb 0x439b6b
mov eax, dword [esp + 0xe4]
push eax
call fcn.004415cb
add esp, 4
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xfc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov byte [esp + 0x564], 4
cmp dword [esp + 0xa4], 8
mov edi, eax
jb 0x4399e9
mov ecx, dword [esp + 0x90]
push ecx
call fcn.004415cb
add esp, 4
jmp 0x4399e9
mov ecx, dword [esp + 0x118]
push 1
push ebp
push ebp
push ecx
call fcn.004537b0
mov ecx, dword [esp + 0x11c]
xor esi, esi
add eax, ecx
adc edx, esi
push edx
push eax
lea edx, [esp + 0x94]
push edx
push ebp
call fcn.00439640
mov ecx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov ecx, eax
mov eax, esi
call fcn.0042e0e0
mov eax, dword [esp + 0x118]
push 1
push ebp
push ebp
push eax
call fcn.004537b0
mov ecx, dword [esp + 0x11c]
xor esi, esi
add eax, ecx
adc edx, esi
add dword [esp + 0x14], eax
adc dword [esp + 0x18], edx
add dword [ebx], 0xffffffff
jmp 0x439b6f
mov eax, dword [esp + 0x20]
mov esi, 8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0xc0], esi
jb 0x439c4a
mov edx, dword [esp + 0xac]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x88], esi
mov edi, 7
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebp
mov word [esp + 0xac], bp
jb 0x439c7b
mov eax, dword [esp + 0x74]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xdc], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], bp
jb 0x439ca7
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.004415cb
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x439cb5
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x55c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.004414cc
add esp, 0x554
ret 0xc