Function at 0x407290
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e458
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], 0
lea ecx, [ebp - 0x270]
call fcn.004028e0
mov dword [ebp - 4], 1
mov dword [ebp - 0x26c], 1
lea eax, [ebp - 0x264]
push eax
push 0x485aec
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x278]
push eax
call fcn.00402030
add esp, 0xc
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x27c]
push eax
call fcn.004020e0
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2a8]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x27c]
call fcn.004029a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.004029a0
cmp dword [ebp - 0x268], 0xffffffff
je 0x4075d9
cmp dword [ebp - 0x26c], 0
je 0x4075d9
lea edx, [ebp - 0x238]
push edx
push 0x485af4
lea ecx, [ebp - 0x284]
call fcn.00406ad0
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x298]
or ecx, 1
mov dword [ebp - 0x298], ecx
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.00408900
add esp, 8
movzx eax, al
test eax, eax
je 0x407449
lea ecx, [ebp - 0x238]
push ecx
push 0x485b5c
lea ecx, [ebp - 0x288]
call fcn.00406ad0
mov dword [ebp - 0x2b4], eax
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], edx
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x298]
or eax, 2
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x2b8]
push ecx
call fcn.00408900
add esp, 8
movzx edx, al
test edx, edx
je 0x407449
mov dword [ebp - 0x2bc], 1
jmp 0x407453
mov dword [ebp - 0x2bc], 0
mov al, byte [ebp - 0x2bc]
mov byte [ebp - 0x27d], al
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x298]
and ecx, 2
je 0x407483
and dword [ebp - 0x298], 0xfffffffd
lea ecx, [ebp - 0x288]
call fcn.004029a0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x298]
and edx, 1
je 0x4074a7
and dword [ebp - 0x298], 0xfffffffe
lea ecx, [ebp - 0x284]
call fcn.004029a0
movzx eax, byte [ebp - 0x27d]
test eax, eax
je 0x4075ba
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x274]
push eax
call fcn.00402030
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x274]
call fcn.00401c40
push 0x485b64
lea edx, [ebp - 0x274]
push edx
lea eax, [ebp - 0x290]
push eax
call fcn.004020e0
add esp, 0xc
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c4]
call fcn.0041a040
push eax
call fcn.00450f20
add esp, 4
mov byte [ebp - 0x289], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x290]
call fcn.004029a0
movzx edx, byte [ebp - 0x289]
test edx, edx
je 0x4075ab
push str.lp.kimi.com.twkunlun_559.sol
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x294]
push ecx
call fcn.004020e0
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2cc], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x270]
call fcn.00401c20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x294]
call fcn.004029a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
call fcn.004029a0
jmp 0x4075d9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
call fcn.004029a0
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x26c], eax
jmp 0x40737c
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x270]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402940
mov edx, dword [ebp - 0x298]
or edx, 4
mov dword [ebp - 0x298], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.004029a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret