Function at 0x4763d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a949f
mov eax, dword fs:[0]
push eax
sub esp, 0x39c
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x364], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040dac0
movzx eax, al
test eax, eax
je 0x47642b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401030
jmp 0x476951
push str..txt
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x288]
push edx
call fcn.00406a00
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004018e0
sub eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0040dca0
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x4764b8
push 0x4ba2d0
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x2cc]
push eax
call fcn.00406a00
add esp, 0xc
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x368]
mov dword [ebp - 0x36c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x36c]
push edx
lea ecx, [ebp - 0x288]
call fcn.00401640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2cc]
call fcn.00401030
mov byte [ebp - 0x265], 0
lea ecx, [ebp + 8]
call fcn.00401050
push eax
call fcn.00474c10
add esp, 4
movzx eax, al
test eax, eax
jne 0x4764ed
mov byte [ebp - 0x265], 1
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x288]
call fcn.00401640
lea edx, [ebp - 0x264]
push edx
lea ecx, [ebp - 0x288]
call fcn.00401050
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0xffffffff
je 0x476933
lea ecx, [ebp - 0x2a4]
call fcn.004015d0
mov byte [ebp - 4], 3
push 0x400
call fcn.00422e0b
add esp, 4
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2a8], eax
push 0x4ba2d4
lea ecx, [ebp - 0x238]
push ecx
call fcn.00440c9a
add esp, 8
test eax, eax
je 0x476577
push 0x4ba2d8
lea edx, [ebp - 0x238]
push edx
call fcn.00440c9a
add esp, 8
test eax, eax
jne 0x47657c
jmp 0x4768e0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.0040dca0
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x476627
push 0x4ba2e0
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x2ec]
push eax
call fcn.00406a00
add esp, 0xc
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x370]
mov dword [ebp - 0x374], ecx
mov byte [ebp - 4], 4
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x374]
push eax
lea ecx, [ebp - 0x308]
push ecx
call fcn.00406a00
add esp, 0xc
mov dword [ebp - 0x378], eax
mov edx, dword [ebp - 0x378]
mov dword [ebp - 0x37c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.00401640
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x308]
call fcn.00401030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ec]
call fcn.00401030
jmp 0x476678
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x324]
push eax
call fcn.00406a00
add esp, 0xc
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x384], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x384]
push edx
lea ecx, [ebp - 0x2a4]
call fcn.00401640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x324]
call fcn.00401030
movzx eax, byte [ebp - 0x265]
test eax, eax
je 0x476695
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.00401640
mov edx, dword [ebp - 0x264]
and edx, 0x10
jne 0x4768e0
mov eax, dword [ebp - 0x364]
mov ecx, dword [eax + 0x24]
add ecx, 1
mov edx, dword [ebp - 0x364]
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp - 0x364]
call fcn.00474c80
movzx eax, al
test eax, eax
je 0x4766fd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a4]
call fcn.00401030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.00401030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401030
jmp 0x476951
mov dword [ebp - 0x2ac], 0
lea ecx, [ebp - 0x2a4]
call fcn.00401050
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x328], esp
push eax
call fcn.00401600
mov dword [ebp - 0x388], eax
mov ecx, dword [ebp - 0x364]
call fcn.00474fb0
mov byte [ebp - 0x389], al
movzx ecx, byte [ebp - 0x389]
test ecx, ecx
je 0x4768b8
lea edx, [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x344]
push eax
call fcn.00484560
add esp, 8
mov dword [ebp - 0x390], eax
mov ecx, dword [ebp - 0x390]
mov dword [ebp - 0x394], ecx
mov byte [ebp - 4], 7
push 0x4ba2e4
mov edx, dword [ebp - 0x394]
push edx
mov ecx, dword [ebp - 0x364]
call fcn.00414350
mov ecx, eax
call fcn.00406300
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x344]
call fcn.00401e40
push 0x8c
call fcn.00422de0
add esp, 4
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0
je 0x4767d1
mov ecx, dword [ebp - 0x34c]
call fcn.004073b0
mov dword [ebp - 0x398], eax
jmp 0x4767db
mov dword [ebp - 0x398], 0
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x2b0], ecx
mov edx, dword [ebp - 0x2b0]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x350], esp
push str.Trojan_Cookie.Win32.Agent.qm
call fcn.004021a0
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x39c]
mov dword [ebp - 0x3a0], eax
mov byte [ebp - 4], 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x354], esp
lea edx, [ebp - 0x2a4]
push edx
push ecx
call fcn.00484560
add esp, 8
mov dword [ebp - 0x3a4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x364]
call fcn.00475840
mov eax, dword [ebp - 0x2b0]
push eax
push 3
mov ecx, dword [ebp - 0x364]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x364]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x35c], edx
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x358], eax
cmp dword [ebp - 0x358], 0
je 0x4768ae
push 1
mov ecx, dword [ebp - 0x358]
call fcn.00407400
mov dword [ebp - 0x3a8], eax
jmp 0x4768b8
mov dword [ebp - 0x3a8], 0
lea ecx, [ebp - 0x2a4]
call fcn.00401050
push eax
push 4
mov ecx, dword [ebp - 0x364]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x364]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x476547
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x360], edx
mov eax, dword [ebp - 0x360]
push eax
call fcn.00422e10
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a4]
call fcn.00401030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.00401030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401030
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 0x1c