Function at 0x4465a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d630e
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x511070]
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 esi, dword [ebp + 8]
test esi, esi
je 0x4467f9
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4465e0
sub edx, ecx
sar edx, 1
je 0x4467f9
push esi
lea ecx, [ebp - 0x28]
call fcn.00438600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x14]
cmp edx, 8
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
cmovae ecx, esi
lea edi, [eax + eax]
mov eax, 0x5c
cmp ax, word [ecx + edi - 2]
je 0x446648
cmp edx, 8
lea eax, [ebp - 0x28]
mov ecx, 0x2f
cmovae eax, esi
cmp cx, word [eax + edi - 2]
je 0x446648
push str.0s
lea ecx, [ebp - 0x28]
call fcn.00440250
push 0x250
lea eax, [ebp - 0x2c0]
push 0
push eax
call fcn.004a8960
push 0x4ed44c
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.0044bc80
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x446676
mov eax, dword [eax]
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x44]
mov esi, eax
cmp ecx, 8
jb 0x44669b
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp esi, 0xffffffff
je 0x4467e4
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
cmp dword [ebp - 0x2c0], 0x10
je 0x4467cb
lea eax, [ebp - 0x294]
push str.OperationFilesCfg.etf
push eax
call fcn.004abafd
add esp, 8
test eax, eax
je 0x4467cb
lea eax, [ebp - 0x294]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0044bc80
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov ecx, ebx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00446820
test eax, eax
je 0x4467b2
push str.CubePatch_
lea edx, [ebx + 4]
lea ecx, [ebp - 0x2c4]
call fcn.0041c010
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c8]
call fcn.0041c010
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push dword [eax]
call fcn.00438600
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44677b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44679d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00446b90
lea ecx, [ebp - 0x70]
call fcn.004335b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4467cb
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
lea eax, [ebp - 0x2c0]
push eax
push esi
call edi
test eax, eax
jne 0x4466c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4467f9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
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.004a5d13
mov esp, ebp
pop ebp
ret 4