Function at 0x59050f90
Capabilities:
Move file
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x59142c73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
lea eax, [esp + 0x8d8]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x54], 0
call fcn.590af440
add esp, 8
push 0x591949a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 1
call fcn.59094760
push 0x59177ea8
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 2
call fcn.59094760
push 0x591949a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 3
call fcn.59094760
mov edx, dword [esp + 0x90c]
push 0x591949a0
push edx
mov byte [esp + 0x54], 4
call fcn.5907de59
add esp, 8
test eax, eax
jne 0x59051052
lea eax, [esp + 0x14]
push eax
call fcn.5900d0d0
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 5
call fcn.59095210
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 4
call fcn.59095090
jmp 0x59051063
lea ecx, [esp + 0x90c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.59095210
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str._s_s._s
push edx
call fcn.59097ef0
mov eax, dword [0x59194a20]
add esp, 0x14
test eax, eax
je 0x590510ca
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.59099b10
mov ecx, dword [eax]
mov byte [esp + 0x4c], 6
push ecx
push str.AnalyseEmailInfoData_astrFileName:_s
push str.winncap
push 0xffffffffffffffff
push 0x591949b4
call fcn.59078030
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 4
call fcn.5909a410
cmp dword [esp + 0x70], 3
je 0x590511a1
push 0x591949a0
lea ecx, [esp + 0x18]
call fcn.59094760
lea edx, [esp + 0x24]
mov bl, 7
push edx
mov byte [esp + 0x50], bl
call fcn.5900d050
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push 0x59177d10
push ecx
push edx
lea eax, [esp + 0x20]
push str._s_s._s
push eax
mov byte [esp + 0x60], 8
call fcn.59097ef0
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], bl
call fcn.59095090
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov eax, dword [esp + 0x70]
mov ecx, 2
dec eax
je 0x59051151
dec eax
je 0x5905114a
sub eax, ecx
jne 0x59051156
mov ecx, 2
jmp 0x59051156
mov ecx, 1
push 0
push ecx
push ecx
lea eax, [esp + 0xe4]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.59099c70
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x60], 9
call fcn.59094660
mov ecx, esi
mov byte [esp + 0x5c], bl
call fcn.5904ea10
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 4
call fcn.59095090
jmp 0x590512dd
mov eax, dword [esp + 0x10]
push 0x180
push 0x8000
push eax
xor esi, esi
call fcn.5907d46d
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x590512dd
push 2
push esi
push esi
push ebp
call fcn.5907e3ca
add esp, 0x10
mov ebx, eax
test edx, edx
jg 0x59051227
jl 0x590511e2
cmp ebx, 0x6400000
jae 0x59051227
test edx, edx
jl 0x59051227
jg 0x590511ec
test ebx, ebx
jbe 0x59051227
lea edi, [ebx + 1]
push edi
call fcn.5907bdaf
mov esi, eax
add esp, 4
test esi, esi
je 0x59051227
push 0
push 0
push ebp
call fcn.5907d896
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push esi
rep stosb byte es:[edi], al
push ebp
call fcn.5907dc1b
add esp, 0x18
push ebp
call fcn.5907d19d
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x34], ecx
add esp, 4
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [0x591959c0]
cmp ecx, eax
je 0x59051299
mov edi, dword [esp + 0x8f8]
mov ecx, dword [esp + 0x8fc]
mov edx, edi
or edx, ecx
je 0x59051299
mov ecx, dword [esp + 0x900]
mov edx, dword [esp + 0x904]
mov ebp, ecx
or ebp, edx
je 0x59051299
mov eax, dword [esp + 0x8fc]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
lea eax, [esp + 0x2c]
mov edx, dword [esp + 0x54]
sub esp, 0x10
mov ecx, esp
push eax
mov eax, dword [esp + 0x88]
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
push eax
push ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x78]
push esi
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x80]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x44]
call fcn.5904f430
test esi, esi
je 0x590512dd
push esi
call fcn.5907bcc6
add esp, 4
push ecx
lea edx, [esp + 0x910]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.59094660
mov ecx, dword [esp + 0x8dc]
mov edx, dword [esp + 0x8e0]
sub esp, 0x10
mov byte [esp + 0x60], 4
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8f4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x8f8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.59050930
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 3
call fcn.59095090
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 2
call fcn.59095090
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 1
call fcn.59095090
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 0
call fcn.59095090
lea ecx, [esp + 0x90c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.59095090
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret 0x8bc