Function at 0x44d010
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483481
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4bc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
call fcn.0044d410
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x44d3a6
cmp word [esi], 0
je 0x44d3a6
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x474
call ebx
mov edi, eax
add esp, 4
test edi, edi
je 0x44d3b1
push 0
push 0
push 0
push esi
mov dword [edi + 0x46c], 0xffffffff
mov dword [edi + 0x470], 0
mov dword [edi + 0x468], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [ebp - 0x10], eax
lea ecx, [eax*2 + 0x10]
push ecx
call ebx
add esp, 4
mov dword [edi + 0x470], eax
test eax, eax
je 0x44d39d
push 0
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x44d392
mov ecx, dword [edi + 0x470]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x44d10b
movzx ecx, word [eax - 2]
mov edx, ecx
cmp edx, 0x2f
je 0x44d10b
cmp edx, 0x3a
je 0x44d10b
cmp ecx, 0x5c
je 0x44d10b
mov ecx, 0x5c
mov word [eax], cx
add eax, 2
lea ebx, [edi + 0x218]
mov dword [eax], 0x2a
push ebx
push dword [edi + 0x470]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [edi + 0x46c], eax
cmp eax, 0xffffffff
je 0x44d141
mov esi, ebx
mov dword [edi + 0x468], 1
test esi, esi
jne 0x44d160
jmp 0x44d14d
mov dword [edi + 0x468], 0
xor esi, esi
push 2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_errno]
add esp, 4
test esi, esi
je 0x44d39d
call fcn.00403ac0
mov ecx, eax
test ecx, ecx
je 0x44d3fd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
nop
cmp dword [edi + 0x468], 0
je 0x44d195
mov dword [edi + 0x468], 0
jmp 0x44d1b4
mov eax, dword [edi + 0x46c]
cmp eax, 0xffffffff
je 0x44d2dc
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44d2c6
test ebx, ebx
je 0x44d2dc
xor esi, esi
lea ebx, [edi + 0x10]
lea eax, [edi + 0x244]
lea edx, [esi + 1]
nop word [eax + eax]
movzx ecx, word [eax]
test cx, cx
je 0x44d1eb
mov word [ebx], cx
inc edx
inc esi
add eax, 2
add ebx, 2
cmp edx, 0x104
jb 0x44d1d0
xor eax, eax
lea ebx, [edi + 0x218]
mov word [edi + esi*2 + 0x10], ax
mov dword [edi + 8], esi
mov eax, dword [ebx]
test al, 0x40
je 0x44d20a
mov dword [edi + 0xc], 0x2000
jmp 0x44d21c
test al, 0x10
mov ecx, 0x4000
mov eax, 0x8000
cmovne eax, ecx
mov dword [edi + 0xc], eax
mov eax, 0x218
mov dword [edi], 0
lea ecx, [edi + 0x10]
mov word [edi + 4], ax
call fcn.004640f0
mov esi, dword [ebp - 0x10]
test eax, eax
jne 0x44d180
lea eax, [edi + 0x10]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0045f2e0
add esp, 4
mov byte [ebp - 4], 5
lea ebx, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x44d2a5
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x44d296
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x44d296
call fcn.00403090
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x44d28e
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x44d2a5
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.004030f0
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44d2dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44d2dc
push dword [edi + 0x46c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x46c], 0xffffffff
mov ecx, edi
call fcn.00403cd0
mov ecx, dword [esi - 0x10]
add esi, 0xfffffff0
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
mov ecx, eax
jl 0x44d304
cmp ecx, dword [esi]
jne 0x44d304
mov edi, esi
lock inc dword [ebx]
jmp 0x44d331
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
je 0x44d407
mov eax, dword [esi + 4]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
lea eax, [esi + 0x10]
mov edx, dword [esi + 4]
inc edx
push edx
push eax
call fcn.004031f0
add esp, 8
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x44d35e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x44d37d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_errno]
add esp, 4
mov ecx, edi
call fcn.00403cd0
jmp 0x44d3b1
push 2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_errno]
add esp, 4
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
push 0x48d10a
call fcn.0045fcf0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44d3e9
mov ecx, dword [edx]
push edx
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 esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403880
call fcn.004031e0
int3