Function at 0x439800
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553184
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.0042d280
push 0xffffffffffffffff
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004277e0
push 2
push 0x5a4cc4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00428790
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x210]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x439ce4
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ecx, 0x5a4490
lea eax, [ebp - 0x1e4]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4398d0
test dl, dl
je 0x4398cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4398d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4398b0
xor eax, eax
jmp 0x4398d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x439ccb
mov ecx, 0x5a4494
lea eax, [ebp - 0x1e4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x439908
test dl, dl
je 0x439904
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x439908
add eax, 2
add ecx, 2
test dl, dl
jne 0x4398e8
xor eax, eax
jmp 0x43990d
sbb eax, eax
or eax, 1
test eax, eax
je 0x439ccb
test byte [ebp - 0x210], 0x10
je 0x439ccb
cmp byte [ebp - 0x1e4], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x439941
xor eax, eax
jmp 0x439959
lea eax, [ebp - 0x1e4]
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439950
sub eax, edx
push eax
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00427720
push 0x5a4488
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.00433b00
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00436ab0
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x4399b7
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00427a30
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x74], 0xf
cmovae eax, dword [ebp - 0x40]
push eax
push str.tempname__s
push 0
sub esp, 0x18
mov dword [ebp - 0x78], 0
mov ecx, esp
mov byte [ebp - 0x88], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4399fc
mov eax, dword [ecx]
jmp 0x4399fe
mov eax, ecx
push 3
push 0x5a4534
mov byte [eax], 0
call fcn.00427720
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5ba004]
cmp eax, dword [ecx + 4]
jle 0x439a57
push 0x5ba004
call fcn.0052aae3
add esp, 4
cmp dword [0x5ba004], 0xffffffff
jne 0x439a57
call fcn.0042edc0
push 0x5546b0
call fcn.0052ae5a
add esp, 4
push 0x5ba004
call fcn.0052aaa4
add esp, 4
push 0x5ba008
call fcn.0042eea0
add esp, 0x28
push 1
push ecx
push 0x5a4490
lea ecx, [ebp - 0x40]
call fcn.00427630
cmp eax, 0xffffffff
je 0x439c8b
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.0042aac0
test eax, eax
je 0x439c8b
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xd0]
call fcn.004277e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xb8]
call fcn.004277e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x8c], 0xf
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.004277e0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 8
push eax
mov ecx, 0x5b8f40
call fcn.00447750
push 1
push 0x5a4488
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00428790
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
call fcn.00428880
push 4
push 0x5a4a88
mov ecx, eax
call fcn.00428790
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x439b87
mov eax, dword [ecx]
jmp 0x439b89
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.004277e0
call fcn.0042e300
add esp, 0x18
test eax, eax
je 0x439bb8
lea eax, [ebp - 0xd0]
mov ecx, ebx
push eax
call fcn.0043b2c0
jmp 0x439c17
sub esp, 0x18
mov byte [ebp - 0x211], 0x2e
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x439bdc
mov eax, dword [ecx]
jmp 0x439bde
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004277e0
mov cl, byte [ebp - 0x211]
call fcn.0042ea10
add esp, 0x18
cmp eax, 2
jle 0x439c17
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00427500
call fcn.0042d930
add esp, 0x18
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x439c32
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00427a30
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x439c65
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00427a30
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.0042b270
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x439ca0
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00427a30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
cmp eax, 0x10
jb 0x439ccb
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00427a30
lea eax, [ebp - 0x210]
push eax
push esi
call edi
test eax, eax
jne 0x4398a2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x439cf9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00427a30
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp eax, 0x10
jb 0x439d20
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00427a30
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
cmp eax, 0x10
jb 0x439d47
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00427a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret