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

Disassembly:
push 0xffffffffffffffff
push 0x59154ed3
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.590cbcc0
add esp, 8
push 0x591ac690
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 1
call fcn.590a0590
push 0x5918f19c
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 2
call fcn.590a0590
push 0x591ac690
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 3
call fcn.590a0590
mov edx, dword [esp + 0x90c]
push 0x591ac690
push edx
mov byte [esp + 0x54], 4
call fcn.59089c79
add esp, 8
test eax, eax
jne 0x5905ae02
lea eax, [esp + 0x14]
push eax
call fcn.5900d7e0
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 5
call fcn.590a1040
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 4
call fcn.590a0ec0
jmp 0x5905ae13
lea ecx, [esp + 0x90c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a1040
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.590a3d20
mov eax, dword [0x591ac718]
add esp, 0x14
test eax, eax
je 0x5905ae7a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.590a5940
mov ecx, dword [eax]
mov byte [esp + 0x4c], 6
push ecx
push str.AnalyseEmailInfoData_astrFileName:_s
push str.winncap
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 4
call fcn.590a6240
cmp dword [esp + 0x70], 3
je 0x5905af51
push 0x591ac690
lea ecx, [esp + 0x18]
call fcn.590a0590
lea edx, [esp + 0x24]
mov bl, 7
push edx
mov byte [esp + 0x50], bl
call fcn.5900d760
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push 0x5918f004
push ecx
push edx
lea eax, [esp + 0x20]
push str._s_s._s
push eax
mov byte [esp + 0x60], 8
call fcn.590a3d20
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], bl
call fcn.590a0ec0
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 0x5905af01
dec eax
je 0x5905aefa
sub eax, ecx
jne 0x5905af06
mov ecx, 2
jmp 0x5905af06
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.590a5aa0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x60], 9
call fcn.590a0490
mov ecx, esi
mov byte [esp + 0x5c], bl
call fcn.59058620
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 4
call fcn.590a0ec0
jmp 0x5905b08d
mov eax, dword [esp + 0x10]
push 0x180
push 0x8000
push eax
xor esi, esi
call fcn.5908928d
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x5905b08d
push 2
push esi
push esi
push ebp
call fcn.5908a21a
add esp, 0x10
mov ebx, eax
test edx, edx
jg 0x5905afd7
jl 0x5905af92
cmp ebx, 0x6400000
jae 0x5905afd7
test edx, edx
jl 0x5905afd7
jg 0x5905af9c
test ebx, ebx
jbe 0x5905afd7
lea edi, [ebx + 1]
push edi
call fcn.59087b6f
mov esi, eax
add esp, 4
test esi, esi
je 0x5905afd7
push 0
push 0
push ebp
call fcn.590896b6
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.59089a3b
add esp, 0x18
push ebp
call fcn.59088fbd
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 [0x591ad72c]
cmp ecx, eax
je 0x5905b049
mov edi, dword [esp + 0x8f8]
mov ecx, dword [esp + 0x8fc]
mov edx, edi
or edx, ecx
je 0x5905b049
mov ecx, dword [esp + 0x900]
mov edx, dword [esp + 0x904]
mov ebp, ecx
or ebp, edx
je 0x5905b049
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.59059040
test esi, esi
je 0x5905b08d
push esi
call fcn.59087a86
add esp, 4
push ecx
lea edx, [esp + 0x910]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.590a0490
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.5905a6f0
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 3
call fcn.590a0ec0
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 2
call fcn.590a0ec0
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 1
call fcn.590a0ec0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 0
call fcn.590a0ec0
lea ecx, [esp + 0x90c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.590a0ec0
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