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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59142e05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1348
call fcn.5907e4c0
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 0x591949a0
lea ecx, [ebp - 0x2c]
call fcn.59094760
mov byte [ebp - 4], 1
push 0x591949a0
mov eax, dword [ebp + 8]
push eax
call fcn.5907de59
add esp, 8
test eax, eax
jne 0x590526e7
lea ecx, [ebp - 0x131c]
push ecx
call fcn.5900d0d0
add esp, 4
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.59095210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x131c]
call fcn.59095090
jmp 0x590526f3
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.59095210
cmp dword [0x59194a20], ebx
je 0x59052739
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1320]
call fcn.59099b10
mov byte [ebp - 4], 3
mov ecx, dword [eax]
push ecx
push str.strTempDir:_s
push str.CheckEmailInfoData
push 0xffffffffffffffff
push 0x591949b4
call fcn.59078030
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1320]
call fcn.5909a410
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x174]
call fcn.59094660
mov byte [ebp - 4], 4
push str..mli
lea ecx, [ebp - 0x2c]
call fcn.59095ca0
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 0x59052ac5
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 0x59052a24
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x180]
call fcn.59094760
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x180]
mov esi, dword [eax - 8]
cmp esi, 4
jbe 0x59052a15
lea ecx, [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x184]
call fcn.59094660
mov byte [ebp - 4], 7
lea edx, [ebp - 0x180]
push edx
lea ecx, [ebp - 0x184]
call fcn.59095d00
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.590976b0
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x180]
call fcn.59095210
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1328]
call fcn.59095090
lea edx, [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x180]
push eax
call fcn.590af550
add esp, 8
test eax, eax
je 0x59052a03
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.5907d46d
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x1a0], esi
cmp esi, 0xffffffff
je 0x5905298c
push 2
push 0
push esi
call fcn.5907d896
add esp, 0xc
mov dword [ebp - 0x198], eax
test eax, eax
je 0x5905298c
cmp eax, 0x8b8
jne 0x5905298c
push 0
push 0
push esi
call fcn.5907d896
push 0x8b9
call fcn.5907bdaf
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.5907dc1b
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 0x59052986
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.59056940
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 0x59052986
mov esi, dword [ebp - 0x1a0]
mov dword [ebp - 4], 7
cmp esi, 0xffffffff
je 0x590529a1
push esi
call fcn.5907d19d
add esp, 4
test ebx, ebx
je 0x590529ae
push ebx
call fcn.5907bcc6
add esp, 4
mov eax, dword [ebp - 0x1a4]
test eax, eax
jne 0x59052a01
push ecx
mov ecx, esp
mov dword [ebp - 0x132c], esp
lea eax, [ebp - 0x174]
push eax
call fcn.59094660
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.59050930
add esp, 0x14
xor ebx, ebx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x184]
call fcn.59095090
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x180]
call fcn.59095090
lea ecx, [ebp - 0x170]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebx
jne 0x5905279d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x24], ebx
jle 0x59052ab1
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.59050a80
inc ebx
add dword [ebp - 0x1358], 0x8b8
cmp ebx, dword [ebp - 0x24]
jl 0x59052a4c
xor ebx, ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x59052ac5
push eax
call fcn.5912c529
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.59095090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.59095090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.59095090
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