Function at 0x439549
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [ebp - 0x3c], edi
call fcn.0043ea05
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
jne 0x439574
mov ecx, edi
jmp 0x439746
push eax
lea eax, [ebp - 0x20]
push str._s_.btapp
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0048de20
add esp, 0xc
inc dword [esi + 4]
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0048de00
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x4396cb
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 8]
call fcn.0048e7e6
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], ebx
jbe 0x43964a
mov dword [ebp - 0x10], ebx
mov edi, dword [esi + 0xc]
lea ecx, [ebp - 8]
call fcn.0048e806
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + edi + 8]
call fcn.00493e5a
test eax, eax
je 0x4395fd
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 0x10], 0x14
cmp eax, dword [esi + 0x14]
jb 0x4395d1
jmp 0x43964a
mov edi, dword [ebp - 4]
mov eax, dword [esi + 0xc]
imul edi, edi, 0x14
mov ecx, dword [esi + 4]
mov dword [edi + eax + 0x10], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [edi + eax]
jne 0x439621
cmp ebx, dword [edi + eax + 4]
je 0x43964a
mov ebx, dword [esi]
push dword [edi + eax + 0xc]
lea ecx, [ebp - 8]
add ebx, 0xc
call fcn.0048e806
push eax
mov ecx, esi
call dword [ebx]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x278]
and dword [edi + eax + 4], 0
mov dword [edi + eax], ecx
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x14]
jne 0x4396a1
mov eax, dword [ebp - 0x278]
lea ecx, [ebp - 8]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
call fcn.0048e806
mov ecx, eax
call fcn.00422199
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
push 0x14
mov dword [ebp - 0x24], eax
push 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0xc]
call fcn.0048e987
mov edi, dword [esi]
lea ecx, [ebp - 8]
add edi, 4
call fcn.0048e806
push eax
mov ecx, esi
call dword [edi]
lea ecx, [ebp - 8]
call fcn.0048e50a
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4396c1
or dword [ebp - 0x14], 0xffffffff
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4395b7
cmp dword [ebp - 0xc], ebx
je 0x4396df
cmp dword [ebp - 0xc], 0xffffffff
je 0x4396df
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], ebx
jbe 0x43973b
lea edi, [esi + 0xc]
mov eax, dword [edi]
add eax, ebx
mov ecx, dword [eax + 0x10]
cmp ecx, dword [esi + 4]
je 0x43972d
push dword [eax + 0xc]
mov edx, dword [esi]
push dword [eax + 8]
mov ecx, esi
call dword [edx + 8]
mov eax, dword [edi]
mov edx, dword [esi]
add eax, ebx
push dword [eax + 0xc]
mov ecx, esi
push dword [eax + 8]
call dword [edx + 0x10]
mov eax, dword [edi]
mov ecx, dword [ebx + eax + 8]
mov dl, 1
call fcn.0046b197
push 0x14
push dword [ebp - 4]
mov ecx, edi
call fcn.0048e2d7
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add ebx, 0x14
cmp eax, dword [esi + 0x14]
jb 0x4396ea
lea ecx, [ebp - 0x20]
call fcn.0048e45f
mov ecx, dword [ebp - 0x3c]
call fcn.0043ea83
pop edi
pop esi
pop ebx
leave
ret