Function at 0x44bcd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f8a1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b700c]
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.0044c0d0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x44c066
cmp word [esi], 0
je 0x44c066
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 0x44c071
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 0x44c05d
push 0
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x44c052
mov ecx, dword [edi + 0x470]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x44bdcb
movzx ecx, word [eax - 2]
mov edx, ecx
cmp edx, 0x2f
je 0x44bdcb
cmp edx, 0x3a
je 0x44bdcb
cmp ecx, 0x5c
je 0x44bdcb
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 0x44be01
mov esi, ebx
mov dword [edi + 0x468], 1
test esi, esi
jne 0x44be20
jmp 0x44be0d
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 0x44c05d
call fcn.00403a70
mov ecx, eax
test ecx, ecx
je 0x44c0bd
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 0x44be55
mov dword [edi + 0x468], 0
jmp 0x44be74
mov eax, dword [edi + 0x46c]
cmp eax, 0xffffffff
je 0x44bf9c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44bf86
test ebx, ebx
je 0x44bf9c
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 0x44beab
mov word [ebx], cx
inc edx
inc esi
add eax, 2
add ebx, 2
cmp edx, 0x104
jb 0x44be90
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 0x44beca
mov dword [edi + 0xc], 0x2000
jmp 0x44bedc
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.00460ce0
mov esi, dword [ebp - 0x10]
test eax, eax
jne 0x44be40
lea eax, [edi + 0x10]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0045c6f0
add esp, 4
mov byte [ebp - 4], 5
lea ebx, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x44bf65
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x44bf56
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x44bf56
call fcn.00403060
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x44bf4e
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 0x44bf65
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.004030c0
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 0x44bf9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44bf9c
push dword [edi + 0x46c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x46c], 0xffffffff
mov ecx, edi
call fcn.00403c80
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 0x44bfc4
cmp ecx, dword [esi]
jne 0x44bfc4
mov edi, esi
lock inc dword [ebx]
jmp 0x44bff1
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
je 0x44c0c7
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.004031c0
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 0x44c01e
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 0x44c03d
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.00403c80
jmp 0x44c071
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 0x48780e
call fcn.0045d100
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 0x44c0a9
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.00403850
call fcn.004031b0
int3