Function at 0x44eef0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e11e
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x47800c]
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, ecx
mov dword [ebp - 0x284], eax
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0042d8f0
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x5c
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
push esi
call ebx
add esp, 8
test eax, eax
je 0x44f23e
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x44f23e
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0042bf10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042d300
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44ef9f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
push 0x5c
push esi
call ebx
mov edi, eax
add esp, 8
test edi, edi
je 0x44f23e
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
je 0x44f23e
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x14]
sub eax, edi
mov dword [ebp - 0x20], 0
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042bf80
push edi
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.0042bf10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0042d300
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44f01e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
push 0x5c
push esi
call ebx
mov edi, dword [ebp - 0x20]
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x44f222
sub ecx, esi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x44f222
mov eax, dword [esi - 0xc]
sub eax, ecx
mov dword [ebp - 0x1c], 0
dec eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042bf80
push 1
push 0x461168
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0042d230
lea ecx, [ebp - 0x1c]
call fcn.0044dd80
mov edx, str.casino
lea ecx, [ebp - 0x1c]
call fcn.0042bc40
mov esi, dword [ebp - 0x14]
test al, al
jne 0x44f0a1
mov edx, str.poker
lea ecx, [ebp - 0x1c]
call fcn.0042bc40
test al, al
je 0x44f203
lea ecx, [esi - 0x10]
call fcn.0042d8f0
add eax, 0x10
mov dword [ebp - 0x24], eax
push 0x45f9d0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0042c660
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x274]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0x44f1e7
mov byte [ebp - 0x275], 0
nop word [eax + eax]
lea eax, [ebp - 0x248]
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0042c540
mov byte [ebp - 4], 6
mov edx, 0x45fed8
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
mov edi, dword [ebp - 0x20]
jne 0x44f14d
cmp word [ecx], 0
je 0x44f149
mov bx, word [ecx + 2]
cmp bx, word [edx + 2]
mov word [ebp - 0x27e], bx
mov ebx, dword [ebp - 0x24]
jne 0x44f14d
add ecx, 4
add edx, 4
cmp word [ebp - 0x27e], 0
jne 0x44f114
xor ecx, ecx
jmp 0x44f152
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x44f177
push 0x460860
lea ecx, [ebp - 0x18]
call fcn.0042d0c0
test eax, eax
je 0x44f174
push edi
lea ecx, [ebp - 0x18]
call fcn.0042d0c0
test eax, eax
jne 0x44f1b0
mov eax, dword [ebp - 0x18]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44f193
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44f0f0
jmp 0x44f1c3
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x275], 1
mov byte [ebp - 4], 5
call fcn.0042bbf0
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x275], 0
jne 0x44f1e7
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x14]
push eax
call fcn.0042d300
or eax, 0xffffffff
mov byte [ebp - 4], 4
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x44f203
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44f222
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44f23e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44f25d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.004568f7
mov esp, ebp
pop ebp
ret