Function at 0x41b4d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4864d0
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4b3630]
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.00410220
add eax, 0x10
add esp, 4
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], 0
call fcn.0041bef0
mov edi, dword [ebp - 0x270]
or ebx, 0xffffffff
mov esi, dword [edi - 0xc]
test esi, esi
je 0x41ba13
cmp esi, 1
jg 0x41b56b
lea eax, [edi - 0x10]
push eax
call fcn.00410220
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x280], esi
jmp 0x41b5df
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x41b57d
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x41b58b
call fcn.00406280
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 0x41ba4f
test ebx, ebx
je 0x41ba59
mov eax, dword [ecx]
push 2
push 1
call dword [eax]
test eax, eax
je 0x41ba63
cmp dword [eax + 8], 1
lea esi, [eax + 0x10]
mov dword [ebp - 0x280], esi
jl 0x41ba59
push 1
push ebx
xor eax, eax
mov dword [esi - 0xc], 1
push 1
push esi
mov word [esi + 2], ax
call fcn.00405f90
add esp, 0x10
mov dword [ebp - 0x26c], 1
mov byte [ebp - 4], 1
mov ecx, 0x48d69c
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b61a
test dx, dx
je 0x41b616
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b61a
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b5f4
xor eax, eax
jmp 0x41b61f
sbb eax, eax
or eax, 1
test eax, eax
je 0x41b6ff
mov eax, 0x48f7bc
nop dword [eax]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x41b656
test cx, cx
je 0x41b652
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x41b656
add esi, 4
add eax, 4
test cx, cx
jne 0x41b630
xor eax, eax
jmp 0x41b65b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41b6ff
mov esi, dword [edi - 0xc]
mov ebx, 0x48d69c
push 1
sub ebx, edi
mov dword [ebp - 0x264], esi
push 0x48d69c
sar ebx, 1
call fcn.0044dd88
mov edx, eax
mov ecx, SysReAllocString
sub ecx, edx
mov dword [ebp - 0x274], edx
add esp, 8
cmp ecx, esi
jl 0x41ba68
add esi, edx
js 0x41ba72
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x41b6cc
push esi
lea ecx, [ebp - 0x270]
call fcn.004068f0
mov edi, dword [ebp - 0x270]
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x264]
lea ecx, [edi + ebx*2]
cmp ebx, eax
jbe 0x41b6de
mov ecx, 0x48d69c
push edx
push ecx
push edx
lea eax, [edi + eax*2]
push eax
call fcn.00405f90
add esp, 0x10
cmp esi, dword [edi - 8]
jg 0x41ba59
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 0x41b715
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x41b72b
call fcn.00406280
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x41ba7c
mov eax, dword [ecx]
call dword [eax + 0xc]
push 3
push 0x48f310
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.0041b450
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 0x41b79b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x274]
cmp eax, 0xffffffff
je 0x41b9ed
mov eax, 1
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x284], eax
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x41ba4f
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.00410060
test al, al
jne 0x41b822
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b800
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.0040ab00
mov esi, dword [ebp - 0x268]
mov ecx, 0x48f7c0
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b856
test dx, dx
je 0x41b852
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b856
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b830
xor eax, eax
jmp 0x41b85b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41b9a8
mov ecx, 0x48f7c4
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b896
test dx, dx
je 0x41b892
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b896
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b870
xor eax, eax
jmp 0x41b89b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41b9a8
push str..lnk
push esi
call fcn.0045a988
add esp, 8
test eax, eax
je 0x41b9a8
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x41b8cd
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x41b8e1
call fcn.00406280
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x41ba4f
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.0041b450
add esp, 0x14
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x268]
push eax
call fcn.0040f370
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 0x41b95f
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 0x41b990
mov esi, dword [ebp - 0x268]
lea eax, [esi - 0x10]
push eax
call fcn.00410220
mov ecx, dword [ebp - 0x27c]
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [ecx + 4], 4
jmp 0x41b9a5
lea ecx, [ebp - 0x268]
push ecx
push ebx
mov ecx, eax
call fcn.0041b160
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 0x41b9c3
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 0x41b9e6
mov eax, dword [ebp - 0x264]
jmp 0x41b7b5
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 0x41ba13
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 0x41ba2f
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.00442126
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00405f60
push 0x80070057
call fcn.00405f60
call fcn.00406b80
push 0x80070057
call fcn.00405f60
push 0x80070057
call fcn.00405f60
push 0x80004005
call fcn.00405f60
int3