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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59148635
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1348
call fcn.59083230
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 0x5919cc20
lea ecx, [ebp - 0x2c]
call fcn.590994d0
mov byte [ebp - 4], 1
push 0x5919cc20
mov eax, dword [ebp + 8]
push eax
call fcn.59082bc9
add esp, 8
test eax, eax
jne 0x59056ad7
lea ecx, [ebp - 0x131c]
push ecx
call fcn.5900d240
add esp, 4
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.59099f80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x131c]
call fcn.59099e00
jmp 0x59056ae3
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.59099f80
cmp dword [0x5919cca0], ebx
je 0x59056b29
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1320]
call fcn.5909e880
mov byte [ebp - 4], 3
mov ecx, dword [eax]
push ecx
push str.strTempDir:_s
push str.CheckEmailInfoData
push 0xffffffffffffffff
push 0x5919cc34
call fcn.5907cd70
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1320]
call fcn.5909f180
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x174]
call fcn.590993d0
mov byte [ebp - 4], 4
push str..mli
lea ecx, [ebp - 0x2c]
call fcn.5909aa10
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 0x59056eb5
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 0x59056e14
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x180]
call fcn.590994d0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x180]
mov esi, dword [eax - 8]
cmp esi, 4
jbe 0x59056e05
lea ecx, [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x184]
call fcn.590993d0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x180]
push edx
lea ecx, [ebp - 0x184]
call fcn.5909aa70
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.5909c420
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x180]
call fcn.59099f80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1328]
call fcn.59099e00
lea edx, [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x180]
push eax
call fcn.590b45a0
add esp, 8
test eax, eax
je 0x59056df3
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.590821dd
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x1a0], esi
cmp esi, 0xffffffff
je 0x59056d7c
push 2
push 0
push esi
call fcn.59082606
add esp, 0xc
mov dword [ebp - 0x198], eax
test eax, eax
je 0x59056d7c
cmp eax, 0x8b8
jne 0x59056d7c
push 0
push 0
push esi
call fcn.59082606
push 0x8b9
call fcn.59080b1f
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.5908298b
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 0x59056d76
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.5905adc0
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 0x59056d76
mov esi, dword [ebp - 0x1a0]
mov dword [ebp - 4], 7
cmp esi, 0xffffffff
je 0x59056d91
push esi
call fcn.59081f0d
add esp, 4
test ebx, ebx
je 0x59056d9e
push ebx
call fcn.59080a36
add esp, 4
mov eax, dword [ebp - 0x1a4]
test eax, eax
jne 0x59056df1
push ecx
mov ecx, esp
mov dword [ebp - 0x132c], esp
lea eax, [ebp - 0x174]
push eax
call fcn.590993d0
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.59054d20
add esp, 0x14
xor ebx, ebx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x184]
call fcn.59099e00
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x180]
call fcn.59099e00
lea ecx, [ebp - 0x170]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebx
jne 0x59056b8d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x24], ebx
jle 0x59056ea1
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.59054e70
inc ebx
add dword [ebp - 0x1358], 0x8b8
cmp ebx, dword [ebp - 0x24]
jl 0x59056e3c
xor ebx, ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x59056eb5
push eax
call fcn.591315d9
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.59099e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.59099e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.59099e00
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