Function at 0x41e830
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554c40
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5ad6f0]
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 ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x27c], ecx
xor ecx, ecx
mov dword [ebp - 0x26c], ecx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004129e0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], 0
call fcn.0041f250
mov edi, dword [ebp - 0x270]
or ebx, 0xffffffff
mov esi, dword [edi - 0xc]
test esi, esi
je 0x41ed73
cmp esi, 1
jg 0x41e8cb
lea eax, [edi - 0x10]
push eax
call fcn.004129e0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x280], esi
jmp 0x41e93f
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x41e8dd
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x41e8eb
call fcn.00406530
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
lea ebx, [edi - 2]
lea ebx, [ebx + esi*2]
test ecx, ecx
je 0x41edaf
test ebx, ebx
je 0x41edb9
mov eax, dword [ecx]
push 2
push 1
call dword [eax]
test eax, eax
je 0x41edc3
cmp dword [eax + 8], 1
lea esi, [eax + 0x10]
mov dword [ebp - 0x280], esi
jl 0x41edb9
push 1
push ebx
xor eax, eax
mov dword [esi - 0xc], 1
push 1
push esi
mov word [esi + 2], ax
call fcn.00406240
add esp, 0x10
mov dword [ebp - 0x26c], 1
mov byte [ebp - 4], 1
mov ecx, 0x563b18
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e97a
test dx, dx
je 0x41e976
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e97a
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e954
xor eax, eax
jmp 0x41e97f
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ea5f
mov eax, 0x566f34
nop dword [eax]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x41e9b6
test cx, cx
je 0x41e9b2
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x41e9b6
add esi, 4
add eax, 4
test cx, cx
jne 0x41e990
xor eax, eax
jmp 0x41e9bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ea5f
mov esi, dword [edi - 0xc]
mov ebx, 0x563b18
push 1
sub ebx, edi
mov dword [ebp - 0x264], esi
push 0x563b18
sar ebx, 1
call fcn.00517503
mov edx, eax
mov ecx, SysReAllocString
sub ecx, edx
mov dword [ebp - 0x274], edx
add esp, 8
cmp ecx, esi
jl 0x41edc8
add esi, edx
js 0x41edd2
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x41ea2c
push esi
lea ecx, [ebp - 0x270]
call fcn.00406ba0
mov edi, dword [ebp - 0x270]
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x264]
lea ecx, [edi + ebx*2]
cmp ebx, eax
jbe 0x41ea3e
mov ecx, 0x563b18
push edx
push ecx
push edx
lea eax, [edi + eax*2]
push eax
call fcn.00406240
add esp, 0x10
cmp esi, dword [edi - 8]
jg 0x41edb9
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x41ea75
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x41ea8b
call fcn.00406530
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x41eddc
mov eax, dword [ecx]
call dword [eax + 0xc]
push 3
push 0x566acc
push dword [edi - 0xc]
add eax, 0x10
mov dword [ebp - 0x26c], 3
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x264]
push edi
push eax
call fcn.0041e7b0
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
add esp, 0x14
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or ebx, 0xffffffff
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov ecx, ebx
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41eafb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x274]
cmp eax, 0xffffffff
je 0x41ed4d
mov eax, 1
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x284], eax
call fcn.00406530
mov ecx, eax
test ecx, ecx
je 0x41edaf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x268]
call fcn.00412820
test al, al
jne 0x41eb82
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41eb60
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.0040adc0
mov esi, dword [ebp - 0x268]
mov ecx, 0x566f38
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ebb6
test dx, dx
je 0x41ebb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ebb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41eb90
xor eax, eax
jmp 0x41ebbb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ed08
mov ecx, 0x566f3c
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ebf6
test dx, dx
je 0x41ebf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ebf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ebd0
xor eax, eax
jmp 0x41ebfb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ed08
push str..lnk
push esi
call fcn.0051f4b1
add esp, 8
test eax, eax
je 0x41ed08
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x41ec2d
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x41ec41
call fcn.00406530
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x41edaf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x264]
push esi
push dword [edi - 0xc]
or eax, 4
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x278]
push edi
push eax
call fcn.0041e7b0
add esp, 0x14
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x268]
push eax
call fcn.00411b30
mov eax, dword [ebp - 0x284]
mov edx, dword [ebp - 0x278]
and eax, 0xfffffffb
mov dword [ebp - 0x264], eax
add edx, 0xfffffff0
mov dword [ebp - 0x26c], eax
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41ecbf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x27c]
mov ebx, dword [eax + 4]
cmp dword [eax + 8], ebx
je 0x41ecf0
mov esi, dword [ebp - 0x268]
lea eax, [esi - 0x10]
push eax
call fcn.004129e0
mov ecx, dword [ebp - 0x27c]
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [ecx + 4], 4
jmp 0x41ed05
lea ecx, [ebp - 0x268]
push ecx
push ebx
mov ecx, eax
call fcn.0041e4c0
mov esi, dword [ebp - 0x268]
or ebx, 0xffffffff
mov eax, ebx
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41ed23
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x274]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41ed46
mov eax, dword [ebp - 0x264]
jmp 0x41eb15
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x280]
mov esi, 1
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41ed73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41ed8f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.004d684f
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00406210
push 0x80070057
call fcn.00406210
call fcn.00406e30
push 0x80070057
call fcn.00406210
push 0x80070057
call fcn.00406210
push 0x80004005
call fcn.00406210
int3