Function at 0x418d30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x44ec6d
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x460164]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460164]
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, 0x455bf0
mov esi, ecx
call fcn.00401b30
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 0x418dc8
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 0x418fbd
cmp word [esp + 0x60], 0x2e
je 0x418f88
test byte [esp + 0x34], 0x10
jne 0x418f88
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.00401a60
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x14]
push str..xml
push eax
call fcn.0043595f
add esp, 8
test eax, eax
jne 0x418f61
mov eax, dword [esp + 0x29c]
sub eax, 0
je 0x418edb
sub eax, 1
je 0x418e6e
lea ecx, [esp + 0x28]
push ebp
push ecx
lea ebx, [esp + 0x68]
call fcn.00401b30
add esp, 8
mov ebx, eax
mov byte [esp + 0x290], 6
call fcn.0041b9d0
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 0x418f55
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str._profile__
call fcn.00401a60
push eax
lea edx, [esp + 0x34]
push edx
lea ebx, [esp + 0x68]
mov byte [esp + 0x298], 4
call fcn.00401b30
add esp, 8
mov ebx, eax
mov byte [esp + 0x290], 5
call fcn.0041b9d0
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 0x418ecd
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 0x418f46
lea ecx, [esp + 0x24]
push ecx
mov ecx, str._app__
call fcn.00401a60
push eax
lea edx, [esp + 0x24]
push edx
lea ebx, [esp + 0x68]
mov byte [esp + 0x298], 2
call fcn.00401b30
add esp, 8
mov ebx, eax
mov byte [esp + 0x290], 3
call fcn.0041b9d0
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 0x418f3a
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 0x418f61
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 0x418f88
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 0x418dc8
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 0x418fcb
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.00435245
add esp, 0x280
ret 8