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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0x20]
push edi
mov dword [esp + 0x10], ecx
mov ebx, dword [esi + 0x20464]
mov edx, dword [esi + 0x20468]
mov eax, dword [esi + 0x2046c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov dword [esi + 0x20478], ebx
test edx, edx
jne 0x439a19
cmp dword [esi + 0x20470], 2
jne 0x439a19
mov eax, dword [esi + 0x2045c]
cmp word [eax + 2], 0x3a
jne 0x439a19
mov dword [esi + 0x10250], 0x2e
mov byte [ebp + 0x1c], dl
mov edx, 1
mov dword [esi + 0x20468], 1
mov eax, 0x8000
lea ecx, [esi + 0x250]
sub eax, ebx
lea ecx, [ecx + ebx*2]
mov dword [esp + 0x28], eax
cmp edx, eax
jae 0x439d9a
lea eax, [edx*2 + 2]
push eax
lea eax, [esi + 0x10250]
push eax
push ecx
call fcn.004aef60
add esp, 0xc
lea eax, [esi + 0x250]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
xor ebx, ebx
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
setne bl
je 0x439a8c
nop dword [eax + eax]
mov edx, dword [ebp + 0x18]
mov ecx, esi
call fcn.004506b0
test al, al
je 0x439a8c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
test ebx, ebx
jne 0x439a70
mov eax, dword [0x4f48cc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov dword [eax + 0x10], esi
test ebx, ebx
je 0x439bfc
mov ebx, dword [esp + 0x14]
nop word [eax + eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x77
jne 0x439ae5
mov esi, eax
jmp 0x439ac3
mov edx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x18]
push eax
push edx
push 2
call fcn.00432400
mov ecx, dword [esi + 0x14]
mov edi, eax
mov edx, dword [esp + 0x18]
cmp edx, ecx
je 0x439ac0
mov esi, dword [ebp + 0x20]
jmp 0x439af8
lea eax, [esp + 0x18]
push eax
push edx
push 3
call fcn.00432400
mov edx, dword [esp + 0x18]
mov edi, eax
test edx, edx
je 0x439b22
cmp edi, 6
jne 0x439bd6
cmp edx, dword [esp + 0x10]
je 0x439b2c
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp edi, 1
je 0x439b2c
cmp edi, 6
jne 0x439b10
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x439ba2
mov eax, dword [0x4f48cc]
mov dword [0x4fa0bc], edi
cmp byte [eax + 0xf9], 0
je 0x439b78
mov eax, dword [0x4f8468]
mov dword [eax*4 + 0x4f8ab0], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4f8468]
mov dword [ecx*4 + 0x4f8470], eax
inc ecx
xor eax, eax
cmp ecx, 0x190
cmovge ecx, eax
mov dword [0x4f8468], ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.0046cef0
mov edi, eax
cmp edi, 1
jne 0x439b10
mov ecx, dword [0x4f9148]
lea edi, [eax + 4]
call fcn.004616b0
test eax, eax
jne 0x439b10
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
test edi, edi
je 0x439bbe
mov edx, dword [ebp + 0x18]
mov ecx, esi
call fcn.004506b0
test al, al
jne 0x439ba2
mov eax, dword [esp + 0x24]
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
test edi, edi
je 0x439bf8
mov edx, dword [ebp + 8]
jmp 0x439ab0
cmp edx, dword [esp + 0x10]
jne 0x439b0b
mov eax, dword [ebp + 0xc]
push ebx
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov edi, dword [esp + 0x14]
cmp edi, 0xffffffff
je 0x439c08
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x1c], 0
je 0x439d9a
mov ecx, dword [esp + 0x1c]
lea eax, [esi + ecx*2]
mov dword [eax + 0x250], 0x2a
lea eax, [esi + 0x250]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
je 0x439d9a
mov eax, 0x8000
sub eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
nop dword [eax]
test byte [esi], 0x10
je 0x439d7f
cmp word [esi + 0x2c], 0x2e
lea ecx, [esi + 0x2c]
jne 0x439c80
movzx eax, word [esi + 0x2e]
test ax, ax
je 0x439d7f
cmp eax, 0x2e
jne 0x439c80
cmp word [esi + 0x30], 0
je 0x439d7f
mov ebx, ecx
lea edx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x439c85
sub ebx, edx
sar ebx, 1
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x28]
jae 0x439d7f
lea edi, [ebx + ebx]
push edi
push ecx
mov ecx, dword [esp + 0x24]
add ecx, 0x128
lea eax, [esi + ecx*2]
push eax
call fcn.004aef60
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esi + ecx*2]
mov dword [edi + eax + 0x250], 0x5c
lea eax, [ecx + 1]
add eax, ebx
lea ecx, [esi + 0x234]
mov dword [esi + 0x20464], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439ce2
sub ecx, edx
sar ecx, 1
mov edx, ecx
cmove edx, ebx
mov dword [esp + 0x2c], edx
lea eax, [edx + 1]
cmp eax, dword [esp + 0x24]
jae 0x439d7b
test ecx, ecx
lea edi, [edx + edx]
mov ecx, 0x234
mov eax, 0x2c
cmovne eax, ecx
add eax, esi
push edi
push eax
mov eax, dword [esp + 0x28]
add eax, 0x822c
lea ebx, [esi + eax*2]
push ebx
call fcn.004aef60
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x2c]
inc ecx
mov dword [edi + ebx], 0x5c
add eax, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
push esi
push dword [ebp + 0x1c]
mov dword [esi + 0x2046c], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004399b0
mov edi, eax
cmp edi, 1
jne 0x439da8
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x439d8f
cmp dword [ebx], 0
jne 0x439d8f
mov edi, dword [esp + 0x14]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x439c50
push dword [esp + 0x14]
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push dword [esp + 0x14]
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c