Function at 0x4141a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x447b9d
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x457118]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457118]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x298]
lea eax, [esp + 0x18]
push ebp
push eax
mov ebx, 0x44eb3c
mov esi, ecx
call fcn.004017d0
add esp, 8
lea ecx, [esp + 0x34]
mov dword [esp + 0x290], 0
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or edi, 0xffffffff
cmp eax, edi
mov dword [esp + 0x2c], eax
jne 0x414238
mov dword [esp + 0x290], edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
jmp 0x41442d
cmp word [esp + 0x60], 0x2e
je 0x4143f8
test byte [esp + 0x34], 0x10
jne 0x4143f8
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.00401720
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x14]
push str..xml
push eax
call fcn.0042ec21
add esp, 8
test eax, eax
jne 0x4143d1
mov eax, dword [esp + 0x29c]
sub eax, 0
je 0x41434b
sub eax, 1
je 0x4142de
lea ecx, [esp + 0x28]
push ebp
push ecx
lea ebx, [esp + 0x68]
call fcn.004017d0
add esp, 8
mov ebx, eax
mov byte [esp + 0x290], 6
call fcn.00415a10
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4143c5
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str._profile__
call fcn.00401720
push eax
lea edx, [esp + 0x34]
push edx
lea ebx, [esp + 0x68]
mov byte [esp + 0x298], 4
call fcn.004017d0
add esp, 8
mov ebx, eax
mov byte [esp + 0x290], 5
call fcn.00415a10
mov byte [esp + 0x290], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41433d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x1c]
jmp 0x4143b6
lea ecx, [esp + 0x24]
push ecx
mov ecx, str._app__
call fcn.00401720
push eax
lea edx, [esp + 0x24]
push edx
lea ebx, [esp + 0x68]
mov byte [esp + 0x298], 2
call fcn.004017d0
add esp, 8
mov ebx, eax
mov byte [esp + 0x290], 3
call fcn.00415a10
mov byte [esp + 0x290], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4143aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4143d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x290], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4143f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x414238
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x290], edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x41443b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0042e417
add esp, 0x280
ret 8