Function at 0x426a90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cf11
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5ec374]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x270], ebx
call fcn.00408b70
mov ecx, eax
test ecx, ecx
je 0x426d73
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], eax
push 0x5aa9d4
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0
call fcn.004077e0
test al, al
jne 0x426b20
push 0
push 0x5aa9d4
lea ecx, [ebp - 0x268]
call fcn.0040a800
push ebx
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 1
mov dword [ebp - 0x264], 0
call fcn.0041b3a0
mov eax, dword [ebp - 0x264]
mov edi, str..
sub edi, eax
mov byte [ebp - 4], 2
push 4
push str..
mov ebx, dword [eax - 0xc]
sar edi, 1
call fcn.00575317
mov ecx, eax
add esp, 8
mov eax, SysReAllocString
mov dword [ebp - 0x274], ecx
sub eax, ecx
cmp eax, ebx
jl 0x426d7d
lea esi, [ebx + ecx]
test esi, esi
js 0x426d87
mov eax, dword [ebp - 0x264]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x426bad
push esi
lea ecx, [ebp - 0x264]
call fcn.00409e00
mov eax, dword [ebp - 0x264]
lea edx, [eax + edi*2]
cmp edi, ebx
jbe 0x426bb9
mov edx, str..
mov ecx, dword [ebp - 0x274]
lea eax, [eax + ebx*2]
add ecx, ecx
push ecx
push edx
push ecx
push eax
call fcn.0040f310
mov eax, dword [ebp - 0x264]
add esp, 0x10
cmp esi, dword [eax - 8]
jg 0x426d7d
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x264]
mov word [eax + esi*2], cx
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x426c6b
mov edi, dword [ebp - 0x268]
add edi, 0xfffffff0
push edi
call fcn.004079a0
mov ebx, dword [ebp - 0x26c]
add eax, 0x10
mov edx, dword [ebp - 0x264]
or esi, 0xffffffff
add esp, 4
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov dword [ebx], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426c49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x426d53
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x426d53
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x260]
push eax
push edi
xor esi, esi
call ebx
test eax, eax
je 0x426cf9
push 1
lea eax, [ebp - 0x234]
push 0x5aae98
push eax
call fcn.0057a111
add esp, 0xc
test eax, eax
je 0x426ceb
push 2
lea eax, [ebp - 0x234]
push 0x5aae9c
push eax
call fcn.0057a111
add esp, 0xc
test eax, eax
je 0x426ceb
test byte [ebp - 0x260], 0x10
jne 0x426ceb
mov eax, dword [ebp - 0x240]
cmp eax, esi
jbe 0x426ceb
mov esi, eax
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x270]
lea eax, [ebp - 0x268]
push 0x5ad8bc
push eax
call fcn.00414f50
add esp, 0x10
lea eax, [ebp - 0x260]
push eax
push edi
call ebx
test eax, eax
jne 0x426c81
mov edi, dword [ebp - 0x268]
add edi, 0xfffffff0
push edi
call fcn.004079a0
mov ebx, dword [ebp - 0x26c]
add eax, 0x10
mov edx, dword [ebp - 0x264]
or esi, 0xffffffff
add esp, 4
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov dword [ebx], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426d3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x426d53
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.0045674d
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004077c0
push 0x80070057
call fcn.004077c0
push 0x80070057
call fcn.004077c0
int3