Function at 0x41b260
Capabilities:
Enumerate files on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x487fce
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4b9b20]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b9b20]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push 0x49f150
lea ecx, [esp + 0x18]
mov dword [esp + 0x27c], edi
call fcn.0041a8d0
mov eax, dword [esi + 0x20]
push edi
push edi
push 0x1009
push eax
mov byte [esp + 0x288], 1
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x280]
cmp dword [eax - 0xc], edi
jne 0x41b300
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x278], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41b4b7
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [esp + 0x280]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.004199c0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00419c20
lea ecx, [esp + 0x280]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041a2a0
mov ebp, 1
push ebp
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00419fd0
push 0x49ebb0
push eax
call fcn.00419a90
mov bl, al
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b382
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41b394
push 0x49ebb0
lea ecx, [esp + 0x18]
call fcn.0041a890
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.004199c0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.0041ace0
push 3
push 0x48dc94
lea ecx, [esp + 0x1c]
call fcn.0041a160
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41b49b
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x41b3f0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041a8d0
test byte [esp + 0x1c], 0x10
mov byte [esp + 0x278], 2
je 0x41b44b
lea ecx, [esp + 0x18]
push 0x4a9160
push ecx
call fcn.0041a6f0
add esp, 8
test al, al
je 0x41b45c
lea edx, [esp + 0x18]
push 0x48dc90
push edx
call fcn.0041a6f0
add esp, 8
test al, al
je 0x41b45c
push ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0041afa0
add dword [esi + 0x60], ebp
jmp 0x41b45c
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0041afa0
add dword [esi + 0x5c], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x278], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b484
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
push edi
call ebx
test eax, eax
jne 0x41b3f0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x278], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b4c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x280]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x278], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b4ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00466d50
add esp, 0x268
ret 4