Function at 0x41dc80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bbf8
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x44bb64]
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 edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x278], ebx
call fcn.00405620
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], 0
call fcn.00406ad0
mov eax, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, eax
je 0x41dd0d
mov edx, dword [ebp - 0x278]
push edx
push ecx
push eax
push eax
call fcn.0041d850
mov esi, eax
mov eax, dword [edi + 4]
add esp, 0x10
push eax
push esi
mov ecx, edi
call fcn.00406e10
mov dword [edi + 4], esi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
cmp ecx, eax
je 0x41dd39
mov edx, dword [ebp - 0x278]
push edx
push ecx
push eax
push eax
call fcn.0041d850
mov esi, eax
mov eax, dword [ebx + 4]
add esp, 0x10
push eax
push esi
mov ecx, ebx
call fcn.00406e10
mov dword [ebx + 4], esi
push 0x10
mov ecx, edi
call fcn.0041d8e0
push 0x10
mov ecx, ebx
call fcn.0041d8e0
push 0x43c7e8
lea ecx, [ebp - 0x268]
call fcn.00405620
lea ecx, [ebp - 0x268]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0041dbb0
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dd93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov dword [ebp - 0x268], 0
sar ecx, 2
test ecx, ecx
je 0x41e097
mov esi, dword [ebp - 0x274]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x41ddd9
cmp eax, dword [esi - 0x10]
jne 0x41ddd9
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41de11
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x41e0dc
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea edx, [eax + eax + 2]
push edx
push esi
lea eax, [eax + eax + 2]
lea ecx, [edi + 0x10]
push eax
push ecx
call fcn.0042360d
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x264], edi
mov ebx, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x270]
mov eax, dword [ecx]
add ebx, ebx
add ebx, ebx
add eax, ebx
push eax
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x27c]
push eax
mov byte [ebp - 4], 2
call fcn.00406c70
add esp, 0xc
mov edx, dword [0x44bb48]
mov esi, dword [eax]
mov eax, dword [edx + 0xc]
mov ecx, 0x44bb48
mov byte [ebp - 4], 3
call eax
add eax, 0x10
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 4
test esi, esi
je 0x41de99
test esi, 0xffff0000
jne 0x41de9d
movzx esi, si
push 0
push esi
call fcn.004019d0
add esp, 8
test eax, eax
je 0x41debe
push esi
push eax
lea ecx, [ebp - 0x26c]
call fcn.00405230
jmp 0x41debe
xor eax, eax
jmp 0x41deb1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41dea2
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x26c]
call fcn.00401530
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dee4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41df04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x441888
lea ecx, [ebp - 0x26c]
call fcn.004105a0
mov edx, dword [ebp - 0x26c]
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
setne al
test eax, eax
je 0x41e042
lea ebx, [ebx]
mov eax, dword [ebp - 0x270]
mov eax, dword [eax]
mov edx, dword [0x44bb48]
mov esi, dword [eax + ebx]
mov eax, dword [edx + 0xc]
mov ecx, 0x44bb48
call eax
add eax, 0x10
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 8
test esi, esi
je 0x41df95
test esi, 0xffff0000
jne 0x41df99
movzx esi, si
push 0
push esi
call fcn.004019d0
add esp, 8
test eax, eax
je 0x41dfbc
push esi
push eax
lea ecx, [ebp - 0x264]
call fcn.00405230
jmp 0x41dfbc
xor eax, eax
jmp 0x41dfaf
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41dfa0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x264]
call fcn.00401530
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 9
call fcn.004105a0
test byte [ebp - 0x260], 0x10
je 0x41dff4
cmp word [ebp - 0x234], 0x2e
je 0x41e006
mov ecx, dword [ebp - 0x270]
lea edx, [ebp - 0x264]
push edx
jmp 0x41e001
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x264]
push eax
call fcn.0041dbb0
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e02c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x260]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41df40
cmp edi, 0xffffffff
je 0x41e04e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e074
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x270]
mov edx, dword [ecx + 4]
sub edx, dword [ecx]
mov eax, dword [ebp - 0x268]
inc eax
sar edx, 2
mov dword [ebp - 0x268], eax
cmp eax, edx
jb 0x41ddad
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e0c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.004234ee
mov esp, ebp
pop ebp
ret
call fcn.00407b40
int3