Function at 0x439340
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53892b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
mov eax, dword [0x58f614]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 0xb4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push ecx
mov dword [ebp - 4], 0
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
je 0x4393a8
lea edx, [ebp - 0x18]
lea ecx, [edi + 0x98]
push edx
push eax
call fcn.005292f7
mov eax, dword [edi + 0xb4]
push 0
push 0
push 0x14b
push eax
call esi
mov ecx, dword [edi + 0xb4]
push 0x581128
push 0
push 0x143
push ecx
call esi
push 0x581124
lea edx, [ebp - 0x1c]
push 0x5927a4
push edx
call fcn.0051457f
push 0x58111c
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.0051457f
mov eax, dword [eax]
lea ecx, [ebp - 0x190]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], ebx
call fcn.00514336
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00514336
cmp ebx, 0xffffffff
je 0x4395bd
call fcn.00530346
mov ecx, dword [eax + 4]
call fcn.00519495
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.0051a25b
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0051973b
push 0x581124
lea edx, [ebp - 0x28]
push 0x5927a4
push edx
mov byte [ebp - 4], 5
call fcn.0051457f
push 0x56c47c
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 6
push eax
call fcn.0051457f
lea ecx, [ebp - 0x164]
lea edx, [ebp - 0x1c]
push ecx
push eax
push edx
mov byte [ebp - 4], 7
call fcn.0051457f
mov eax, dword [eax]
push 0
push 0x20
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.0051984d
cmp eax, 1
lea ecx, [ebp - 0x1c]
sete bl
mov byte [ebp - 4], 7
call fcn.00514336
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00514336
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00514336
test bl, bl
je 0x43955a
lea ecx, [ebp - 0x44]
call fcn.00519b47
cmp eax, 4
jbe 0x43955a
lea eax, [ebp - 0x2c]
push 4
push eax
lea ecx, [ebp - 0x44]
call fcn.0051996a
mov eax, dword [ebp - 0x2c]
cmp eax, 0x9cca6b
je 0x4394fc
cmp eax, 0x9cca6c
jne 0x43955a
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x14]
call fcn.005143a4
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 9
push edx
call fcn.004dc250
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0xb4]
add esp, 4
push eax
push 0
push 0x143
push ecx
call esi
mov edx, dword [ebp - 0x14]
mov esi, eax
mov eax, dword [ebp - 0x18]
push edx
push eax
call fcn.004ff36e
add esp, 8
test eax, eax
jne 0x439548
mov dword [ebp - 0x24], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00514336
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00519790
jmp 0x43957d
mov dword [ebp - 4], 2
call fcn.0051a299
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x190]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x439438
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
call fcn.00530346
mov ecx, dword [eax + 4]
call fcn.005194aa
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x4395dd
mov edx, dword [edi + 0xb4]
push 0
push eax
push 0x14e
push edx
call esi
mov ecx, edi
call fcn.004398f0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00514336
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret