Function at 0x5905c450
Capabilities:
Enumerate files on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59155065
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1348
call fcn.5908a310
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1354], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x591ac690
lea ecx, [ebp - 0x2c]
call fcn.590a0590
mov byte [ebp - 4], 1
push 0x591ac690
mov eax, dword [ebp + 8]
push eax
call fcn.59089c79
add esp, 8
test eax, eax
jne 0x5905c4d7
lea ecx, [ebp - 0x131c]
push ecx
call fcn.5900d7e0
add esp, 4
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.590a1040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x131c]
call fcn.590a0ec0
jmp 0x5905c4e3
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.590a1040
cmp dword [0x591ac718], ebx
je 0x5905c529
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1320]
call fcn.590a5940
mov byte [ebp - 4], 3
mov ecx, dword [eax]
push ecx
push str.strTempDir:_s
push str.CheckEmailInfoData
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1320]
call fcn.590a6240
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x174]
call fcn.590a0490
mov byte [ebp - 4], 4
push str..mli
lea ecx, [ebp - 0x2c]
call fcn.590a1ad0
mov dword [ebp - 0x170], ebx
mov ecx, 0x4f
xor eax, eax
lea edi, [ebp - 0x16c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 0xffffffff
je 0x5905c8b5
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 5
test byte [ebp - 0x170], 0x10
jne 0x5905c814
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x180]
call fcn.590a0590
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x180]
mov esi, dword [eax - 8]
cmp esi, 4
jbe 0x5905c805
lea ecx, [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x184]
call fcn.590a0490
mov byte [ebp - 4], 7
lea edx, [ebp - 0x180]
push edx
lea ecx, [ebp - 0x184]
call fcn.590a1b30
mov dword [ebp - 0x194], ebx
xor eax, eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], eax
add esi, 0xfffffffc
push esi
lea ecx, [ebp - 0x1328]
push ecx
lea ecx, [ebp - 0x180]
call fcn.590a34e0
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x180]
call fcn.590a1040
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1328]
call fcn.590a0ec0
lea edx, [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x180]
push eax
call fcn.590cbdd0
add esp, 8
test eax, eax
je 0x5905c7f3
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x1a0], 0xffffffff
mov dword [ebp - 0x1a4], ebx
mov byte [ebp - 4], 9
push 0x180
push 0x8000
mov ecx, dword [ebp - 0x184]
push ecx
call fcn.5908928d
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x1a0], esi
cmp esi, 0xffffffff
je 0x5905c77c
push 2
push 0
push esi
call fcn.590896b6
add esp, 0xc
mov dword [ebp - 0x198], eax
test eax, eax
je 0x5905c77c
cmp eax, 0x8b8
jne 0x5905c77c
push 0
push 0
push esi
call fcn.590896b6
push 0x8b9
call fcn.59087b6f
mov ebx, eax
mov dword [ebp - 0x19c], ebx
mov ecx, 0x22e
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x8b8
push ebx
push esi
call fcn.59089a3b
add esp, 0x1c
mov dword [ebp - 0x1a8], ebx
mov ecx, 4
lea edi, [ebp - 0x194]
lea esi, [ebx + 0x884]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x5905c776
mov dword [ebp - 0xa60], edx
mov ecx, 0x22e
mov esi, ebx
lea edi, [ebp - 0xa60]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1340], esi
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.590609f0
mov eax, esi
shl eax, 5
sub eax, esi
lea ecx, [eax + eax*8]
mov edx, dword [ebp - 0x28]
lea edi, [edx + ecx*8]
mov ecx, 0x22e
lea esi, [ebp - 0xa60]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1a4], 1
jmp 0x5905c776
mov esi, dword [ebp - 0x1a0]
mov dword [ebp - 4], 7
cmp esi, 0xffffffff
je 0x5905c791
push esi
call fcn.59088fbd
add esp, 4
test ebx, ebx
je 0x5905c79e
push ebx
call fcn.59087a86
add esp, 4
mov eax, dword [ebp - 0x1a4]
test eax, eax
jne 0x5905c7f1
push ecx
mov ecx, esp
mov dword [ebp - 0x132c], esp
lea eax, [ebp - 0x174]
push eax
call fcn.590a0490
mov byte [ebp - 4], 7
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x194]
mov dword [ecx], edx
mov eax, dword [ebp - 0x190]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x188]
mov dword [ecx + 0xc], eax
call fcn.5905a6f0
add esp, 0x14
xor ebx, ebx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x184]
call fcn.590a0ec0
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x180]
call fcn.590a0ec0
lea ecx, [ebp - 0x170]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebx
jne 0x5905c58d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x24], ebx
jle 0x5905c8a1
mov dword [ebp - 0x1358], ebx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1358]
lea esi, [eax + edx]
mov ecx, 0x22e
lea edi, [ebp - 0x1318]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0xa74], eax
mov dword [ebp - 0xa70], eax
mov dword [ebp - 0xa6c], eax
mov dword [ebp - 0xa68], eax
sub esp, 0x8b8
mov ecx, 0x22e
lea esi, [ebp - 0x1318]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1354]
call fcn.5905a840
inc ebx
add dword [ebp - 0x1358], 0x8b8
cmp ebx, dword [ebp - 0x24]
jl 0x5905c83c
xor ebx, ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x5905c8b5
push eax
call fcn.5913d2f9
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.590a0ec0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.590a0ec0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.590a0ec0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4