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

Disassembly:
push 0xffffffffffffffff
push 0x59155c2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x8e0]
lea ecx, [esp + 0x1c]
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x5c], ebp
call fcn.590cca30
add esp, 8
push 0x591ae140
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 1
call fcn.590a19b0
push 0x59190214
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 2
call fcn.590a19b0
push 0x591ae140
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 3
call fcn.590a19b0
mov edx, dword [esp + 0x914]
push 0x591ae140
push edx
mov byte [esp + 0x5c], 4
call fcn.5908b099
add esp, 8
test eax, eax
jne 0x5905a440
lea eax, [esp + 0x24]
push eax
call fcn.5900d660
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 5
call fcn.590a2460
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 4
call fcn.590a22e0
jmp 0x5905a451
lea ecx, [esp + 0x914]
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a2460
mov edx, dword [esp + 0x28]
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.590a5140
mov eax, dword [0x591ae1c8]
add esp, 0x14
cmp eax, ebp
je 0x5905a4bd
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
call fcn.590a6d60
mov ecx, dword [eax]
mov edx, dword [esp + 0x78]
push ecx
push edx
push str.AnalyseEmailInfoData_Type:_d_astrFileName:_s
push str.winncap
push 0xffffffffffffffff
push 0x591ae15c
mov byte [esp + 0x6c], 6
call fcn.590851e0
add esp, 0x18
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 4
call fcn.590a7660
cmp dword [esp + 0x78], 3
je 0x5905a618
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
xor esi, esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
call fcn.590a6d60
mov eax, dword [eax]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push edx
push eax
mov byte [esp + 0x60], 7
call fcn.5900d9e0
add esp, 0xc
lea ecx, [esp + 0x14]
mov ebx, eax
mov byte [esp + 0x54], 4
call fcn.590a7660
cmp ebx, ebp
je 0x5905a523
cmp dword [esp + 0x20], ebp
ja 0x5905a51e
cmp dword [esp + 0x24], 0x6400000
jbe 0x5905a523
mov esi, 1
cmp dword [0x591ae1c8], ebp
je 0x5905a545
push esi
push str.AnalyseEmailInfoData_TooLarge:_d
push str.winncap
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x14
cmp esi, ebp
jne 0x5905a757
push 0x591ae140
lea ecx, [esp + 0x18]
call fcn.590a19b0
lea eax, [esp + 0x2c]
mov bl, 8
push eax
mov byte [esp + 0x58], bl
call fcn.5900d5e0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push 0x59190028
push ecx
push edx
lea eax, [esp + 0x20]
push str._s_s._s
push eax
mov byte [esp + 0x68], 9
call fcn.590a5140
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], bl
call fcn.590a22e0
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 + 0x78]
mov ecx, 2
dec eax
je 0x5905a5c9
dec eax
je 0x5905a5c2
sub eax, ecx
jne 0x5905a5ce
mov ecx, 2
jmp 0x5905a5ce
mov ecx, 1
push ebp
push ecx
push ecx
lea eax, [esp + 0xec]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.590a6ec0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x68], 0xa
call fcn.590a18b0
mov ecx, edi
mov byte [esp + 0x64], bl
call fcn.59057c10
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 4
call fcn.590a22e0
jmp 0x5905a757
mov eax, dword [esp + 0x10]
push 0x180
push 0x8000
push eax
xor esi, esi
call fcn.5908a6ad
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x5905a757
push 2
push esi
push esi
push ebp
call fcn.5908b63a
add esp, 0x10
mov ebx, eax
test edx, edx
jg 0x5905a69e
jl 0x5905a659
cmp ebx, 0x6400000
jae 0x5905a69e
test edx, edx
jl 0x5905a69e
jg 0x5905a663
test ebx, ebx
jbe 0x5905a69e
lea edi, [ebx + 1]
push edi
call fcn.59088f8f
mov esi, eax
add esp, 4
test esi, esi
je 0x5905a69e
push 0
push 0
push ebp
call fcn.5908aad6
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.5908ae5b
add esp, 0x18
push ebp
call fcn.5908a3dd
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x3c], ecx
add esp, 4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [0x591af1dc]
cmp ecx, eax
je 0x5905a710
mov ebp, dword [esp + 0x900]
mov ecx, dword [esp + 0x904]
mov edx, ebp
or edx, ecx
je 0x5905a710
mov ecx, dword [esp + 0x908]
mov edx, dword [esp + 0x90c]
mov edi, ecx
or edi, edx
je 0x5905a710
mov eax, dword [esp + 0x904]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x5c]
sub esp, 0x10
mov ecx, esp
push eax
mov eax, dword [esp + 0x90]
mov dword [ecx], edx
mov edx, dword [esp + 0x74]
push eax
push ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x80]
push esi
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x88]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x4c]
call fcn.59058680
test esi, esi
je 0x5905a757
push esi
call fcn.59088ea6
add esp, 4
push ecx
lea edx, [esp + 0x918]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.590a18b0
mov ecx, dword [esp + 0x8e4]
mov edx, dword [esp + 0x8e8]
sub esp, 0x10
mov byte [esp + 0x68], 4
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8fc]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x900]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.59059d30
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 3
call fcn.590a22e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 2
call fcn.590a22e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call fcn.590a22e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 0
call fcn.590a22e0
lea ecx, [esp + 0x914]
mov dword [esp + 0x54], 0xffffffff
call fcn.590a22e0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 0x8bc