Function at 0x4b0d00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b9cd
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x5d6b80]
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 ebx, ecx
mov dword [ebp - 0x274], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x2a8], 0
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4b0d65
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.004b00f0
or ebx, 0xffffffff
test eax, eax
je 0x4b10e8
mov ecx, dword [ebp - 0x274]
xor eax, eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x27c], eax
cmp dword [ecx + 0x40], eax
jle 0x4b10e8
jmp 0x4b0dc0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x29c], 0x3b
test eax, eax
js 0x4b1115
cmp eax, dword [ecx + 0x40]
jge 0x4b1115
lea edi, [eax*4]
mov eax, dword [ecx + 0x3c]
lea ecx, [ebp - 0x29c]
add eax, edi
push ecx
lea ecx, [ebp - 0x280]
push ecx
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00520360
add esp, 0x10
mov ecx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x27c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x28c], 0x3b
cmp eax, dword [ecx + 0x40]
jge 0x4b1115
mov eax, dword [ecx + 0x3c]
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x280]
add eax, edi
push ecx
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00520360
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0051f060
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0051ed80
add esp, 0x20
test eax, eax
je 0x4b1063
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.0051f0b0
mov edi, eax
push 0x57e140
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.00480bb0
push edi
push eax
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 5
push eax
call fcn.00480af0
add esp, 0x20
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
call fcn.0045a580
mov edx, dword [ebp - 0x2a4]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0eff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2a0]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0f22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x294]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0f45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x24c
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x260], 0
push 0
push eax
call fcn.00525ee0
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x270], edi
cmp edi, 0xffffffff
je 0x4b1063
lea esp, [esp]
cmp word [ebp - 0x234], 0x2e
je 0x4b1046
cmp dword [esi - 0xc], 0
je 0x4b0fc1
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x4b1046
mov eax, dword [ebp - 0x26c]
lea edi, [esi - 0x10]
lea edx, [eax - 0x10]
cmp edx, edi
je 0x4b1028
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4b1013
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x4b1013
push edx
call fcn.0045a950
mov dword [ebp - 0x298], eax
add esp, 4
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4b1002
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x298]
add esi, 0x10
mov dword [ebp - 0x278], esi
jmp 0x4b1028
push dword [eax - 0xc]
lea ecx, [ebp - 0x278]
push eax
call fcn.0045b6e0
mov esi, dword [ebp - 0x278]
mov eax, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x270]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b0f90
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x268]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b1086
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b10a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x26c]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b10cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x274]
inc eax
mov dword [ebp - 0x27c], eax
cmp eax, dword [ecx + 0x40]
jl 0x4b0dc0
add esi, 0xfffffff0
push ecx
mov dword [ebp - 0x270], esp
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x4b1126
cmp ecx, dword [esi]
jne 0x4b1126
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4b1163
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x4b113a
call fcn.00494170
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0052628b
add esp, 0x10
mov edx, dword [ebp - 0x270]
lea eax, [edi + 0x10]
mov edi, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x274]
push edi
mov dword [edx], eax
call fcn.004b0260
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4b119b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.00525878
mov esp, ebp
pop ebp
ret 4