Function at 0x590213e0
Capabilities:
Move file
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5914d0e0
push eax
mov eax, dword [0x591ac718]
mov dword fs:[0], esp
sub esp, 0xc4
test eax, eax
push ebx
mov ebx, dword [esp + 0xd8]
push ebp
mov ebp, dword [esp + 0xe0]
push esi
push edi
je 0x59021431
push ebp
push ebx
push str.AnalyseOutlookLiveEMailAttach___________08x___d_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x18
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x59021447
mov dword [eax], 1
jmp 0x59021f20
test ebx, ebx
je 0x59021f20
test ebp, ebp
je 0x59021f20
push 0x591892bc
mov esi, ebp
push ebp
push ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x7c], esi
call fcn.5900f930
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x59021f20
mov edi, 0x591892bc
or ecx, 0xffffffff
xor eax, eax
push 0x59188854
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x38]
push 0x59188858
not ecx
dec ecx
push esi
add edx, ecx
lea ecx, [esp + 0x34]
push eax
push ecx
add ebx, edx
sub ebp, edx
call fcn.5901c620
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xf0], 0
push edx
call fcn.59088937
mov edi, eax
mov eax, dword [0x591ac718]
add esp, 0x18
test eax, eax
je 0x590214e8
push ebp
push edi
push str.AnalyseOutlookLiveEMailAttach1___d__d_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x18
cmp edi, ebp
jne 0x59021f0c
push 0x591ad730
lea ecx, [esp + 0x28]
call fcn.590a5aa0
push 0x591ac690
lea ecx, [esp + 0x34]
mov byte [esp + 0xe0], 1
call fcn.590a0590
push 0x591ac690
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 2
call fcn.590a0590
push 0x591ac690
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe0], 3
call fcn.590a0590
mov eax, dword [esp + 0x34]
push 0x59188854
push 0x5918aab4
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0xf0], 4
call fcn.5901c620
add esp, 0x14
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 5
call fcn.590a1040
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 4
call fcn.590a0ec0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
test eax, eax
je 0x590216a2
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.590a0490
lea ecx, [esp + 0x24]
mov byte [esp + 0xe0], 4
push ecx
call fcn.5900b190
mov eax, dword [esp + 0x28]
push 0x591888d8
push str._Name_:_
lea edx, [esp + 0x20]
mov ecx, dword [eax - 8]
mov byte [esp + 0xec], 7
push ecx
push eax
push edx
call fcn.5901c620
add esp, 0x1c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe0], 8
call fcn.590a1040
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 7
call fcn.590a0ec0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.590a0490
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 7
push ecx
call fcn.590306f0
add esp, 8
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xe0], 0xa
call fcn.590a63d0
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 7
call fcn.590a6240
mov eax, dword [esp + 0x20]
push 0x591888d8
push str._CancellationId_:_
lea edx, [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
call fcn.5901c620
add esp, 0x14
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xe0], 0xb
call fcn.590a1040
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 7
call fcn.590a0ec0
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], 4
call fcn.590a0ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 3
call fcn.590a0ec0
mov eax, dword [0x591ac718]
test eax, eax
je 0x590216e7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
mov eax, dword [eax - 8]
push edx
push eax
push str.AnalyseOutlookLiveEMailAttach_2___d____S____s_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x1c
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59021ed9
lea ecx, [esp + 0x4c]
call fcn.590abbc0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 0xc
call fcn.590abbc0
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 0xd
call fcn.590b3a40
mov ecx, dword [0x5916287c]
mov byte [esp + 0xdc], 0xe
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x10]
push 0x59188bd0
push edx
mov byte [esp + 0xe4], 0xf
call fcn.59059db0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], 0x10
call fcn.590a1040
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 0xf
call fcn.590a0ec0
mov eax, dword [esp + 0x14]
push 0x180
push 0x8101
push eax
call fcn.5908928d
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x5902182b
mov eax, dword [0x591ac718]
test eax, eax
je 0x590217bb
mov ecx, dword [esp + 0x14]
push ebx
push ecx
push ebp
push str.AnalyseOutlookLiveEMailAttach_3_writefile__len_:__d___astrAttachFilePath_:__S_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x1c
push ebp
push ebx
push edi
call fcn.5908909d
push edi
call fcn.59088fbd
mov edx, dword [esp + 0x8c]
add esp, 0x10
lea ecx, [esp + 0x78]
push ebp
push edx
call fcn.590b3c80
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push eax
call fcn.590a5940
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0xe4], 0x11
call fcn.590ac1d0
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.590ac1d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xdc], 0xf
call fcn.590a6240
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 0xe
call fcn.590a0ec0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x59021ea6
mov eax, dword [0x591ac718]
test eax, eax
je 0x59021872
mov edi, dword [esp + 0x34]
push esi
push edi
push str.AnalyseOutlookLiveEMailAttach______08x___d_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x18
jmp 0x59021876
mov edi, dword [esp + 0x34]
push 0x591ad730
lea ecx, [esp + 0x30]
call fcn.590a5aa0
mov ebp, dword [esp + 0xf0]
mov byte [esp + 0xdc], 0x12
test ebp, ebp
je 0x59021dfe
mov eax, dword [esp + 0x50]
xor ebx, ebx
test eax, eax
jle 0x59021de8
jmp 0x590218af
mov esi, dword [esp + 0x70]
mov eax, dword [0x59162880]
mov dword [esp + 0xa8], eax
mov byte [esp + 0xdc], 0x13
mov dword [esp + 0xac], eax
mov byte [esp + 0xdc], 0x14
mov dword [esp + 0xb0], eax
mov edx, dword [0x5916287c]
mov byte [esp + 0xdc], 0x15
mov dword [esp + 0xb8], edx
mov byte [esp + 0xdc], 0x16
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0xe0], 0x18
lea ecx, [esp + 0xac]
mov dword [esp + 0x90], eax
call fcn.590a63d0
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0xa0]
mov dword [esp + 0x98], ecx
push eax
mov dword [esp + 0xa0], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + ebx*4]
lea ecx, [esp + 0x3c]
push edx
call fcn.590a5840
push 0x5c
lea ecx, [esp + 0x40]
mov byte [esp + 0xe0], 0x19
call fcn.590a73f0
inc eax
lea ecx, [esp + 0x3c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.590a8530
lea ecx, [esp + 0x88]
mov byte [esp + 0xdc], 0x1a
push ecx
call fcn.5900d7e0
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x74]
push eax
mov byte [esp + 0xe0], 0x1b
call fcn.590a5940
lea edx, [esp + 0x10]
mov byte [esp + 0xdc], 0x1c
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.590a67e0
lea ecx, [esp + 0x74]
mov byte [esp + 0xdc], 0x1f
call fcn.590a6240
lea ecx, [esp + 0x88]
mov byte [esp + 0xdc], 0x1e
call fcn.590a0ec0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + ebx*4]
push 3
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 0x18]
lea ecx, [esp + 0xb0]
push eax
call fcn.590a63d0
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.590a73f0
lea ecx, [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.590a8980
push 0x59189488
lea ecx, [esp + 0x44]
mov byte [esp + 0xe0], 0x20
call fcn.590a6e90
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0xac]
lea eax, [edx + ebx*4]
push eax
call fcn.590a63d0
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x40]
push eax
mov edx, dword [ecx + ebx*4]
lea ecx, [esp + 0x70]
mov dword [esp + 0xb8], edx
call fcn.590a0760
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0xe0], 0x21
call fcn.590a1040
lea ecx, [esp + 0x6c]
mov byte [esp + 0xdc], 0x20
call fcn.590a0ec0
mov ecx, dword [esp + 0xb8]
push 0x180
push 0x8101
push ecx
call fcn.5908928d
mov edx, dword [0x5916287c]
add esp, 0xc
mov edi, eax
mov dword [esp + 0x14], edx
cmp edi, 0xffffffff
mov byte [esp + 0xdc], 0x22
je 0x59021b3a
mov eax, dword [esp + 0x34]
push esi
push eax
push edi
call fcn.5908909d
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 4]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push str._r_n_r_nliTickBegin:_I64u__liTickEnd:_I64u__liTickRecord:_I64u
push ecx
call fcn.590a3d20
mov edx, dword [esp + 0x34]
add esp, 0x20
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
push eax
push 0
call fcn.590a1b50
push eax
push edi
call fcn.5908909d
push edi
call fcn.59088fbd
add esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [0x591ad574]
mov eax, dword [eax - 8]
add eax, esi
mov esi, ecx
cmp esi, ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0x20], esi
jl 0x59021d09
lea edi, [esi + 1]
test edi, edi
jne 0x59021bb5
mov edi, dword [0x591ad570]
test edi, edi
je 0x59021ba4
mov edx, ecx
dec ecx
test edx, edx
je 0x59021b8c
lea esi, [ecx + 1]
push 0
mov ecx, edi
call fcn.590610c0
add edi, 0x48
dec esi
jne 0x59021b79
mov esi, dword [esp + 0x20]
mov eax, dword [0x591ad570]
push eax
call fcn.5913d2f9
add esp, 4
mov dword [0x591ad570], 0
xor eax, eax
mov dword [0x591ad578], eax
mov dword [0x591ad574], eax
jmp 0x59021d09
mov eax, dword [0x591ad570]
test eax, eax
jne 0x59021bea
lea ecx, [edi + edi*8]
shl ecx, 3
push ecx
call fcn.5913d2d0
push edi
push eax
mov dword [0x591ad570], eax
call fcn.59061660
add esp, 0xc
mov dword [0x591ad578], edi
mov dword [0x591ad574], edi
jmp 0x59021d09
cmp edi, dword [0x591ad578]
jg 0x59021c49
cmp ecx, edi
jge 0x59021c15
lea edx, [ecx + ecx*8]
sub edi, ecx
push edi
lea eax, [eax + edx*8]
push eax
call fcn.59061660
lea eax, [esi + 1]
add esp, 8
mov dword [0x591ad574], eax
jmp 0x59021d09
jle 0x59021c3c
lea edx, [edi + edi*8]
sub ecx, edi
lea edi, [eax + edx*8]
mov eax, ecx
dec ecx
test eax, eax
je 0x59021c3c
lea esi, [ecx + 1]
push 0
mov ecx, edi
call fcn.590610c0
add edi, 0x48
dec esi
jne 0x59021c29
mov esi, dword [esp + 0x20]
lea eax, [esi + 1]
mov dword [0x591ad574], eax
jmp 0x59021d09
mov eax, dword [0x591ad57c]
test eax, eax
jne 0x59021c75
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x59021c69
mov eax, 4
jmp 0x59021c75
cmp eax, 0x400
jle 0x59021c75
mov eax, 0x400
mov ecx, dword [0x591ad578]
add eax, ecx
cmp edi, eax
jge 0x59021c87
mov dword [esp + 0x44], eax
jmp 0x59021c8d
mov dword [esp + 0x44], edi
mov eax, edi
lea edx, [eax + eax*8]
shl edx, 3
push edx
call fcn.5913d2d0
mov ecx, dword [0x591ad574]
mov esi, dword [0x591ad570]
mov edi, eax
mov dword [esp + 0x4c], eax
lea ecx, [ecx + ecx*8]
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
lea esi, [ecx + 1]
mov ecx, dword [0x591ad574]
mov edx, esi
sub edx, ecx
lea ecx, [ecx + ecx*8]
push edx
lea edx, [eax + ecx*8]
push edx
call fcn.59061660
mov eax, dword [0x591ad570]
push eax
call fcn.5913d2f9
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov dword [0x591ad574], esi
mov esi, dword [esp + 0x30]
add esp, 0x10
mov dword [0x591ad570], ecx
mov dword [0x591ad578], edx
mov edx, dword [0x591ad570]
lea ecx, [esi + esi*8]
lea eax, [esp + 0x8c]
push eax
lea ecx, [edx + ecx*8]
call fcn.59061030
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 0x20
call fcn.590a0ec0
lea ecx, [esp + 0x40]
mov byte [esp + 0xdc], 0x1e
call fcn.590a6240
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 0x1a
call fcn.590a6240
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 0x19
call fcn.590a6240
lea ecx, [esp + 0x3c]
mov byte [esp + 0xdc], 0x18
call fcn.590a6240
lea ecx, [esp + 0xd0]
mov byte [esp + 0xdc], 0x26
call fcn.590a6240
lea ecx, [esp + 0xb8]
mov byte [esp + 0xdc], 0x25
call fcn.590a0ec0
lea ecx, [esp + 0xb0]
mov byte [esp + 0xdc], 0x24
call fcn.590a6240
lea ecx, [esp + 0xac]
mov byte [esp + 0xdc], 0x23
call fcn.590a6240
lea ecx, [esp + 0xa8]
mov byte [esp + 0xdc], 0x12
call fcn.590a6240
mov eax, dword [esp + 0x50]
inc ebx
cmp ebx, eax
jl 0x590218ab
lea ecx, [esp + 0x2c]
mov byte [esp + 0xdc], 0xe
call fcn.590a6240
jmp 0x59021ea6
lea ecx, [esp + 0x2c]
mov byte [esp + 0xdc], 0xe
call fcn.590a6240
lea eax, [esp + 0x38]
push 0
push eax
call fcn.59059db0
lea ecx, [esp + 0x64]
push 1
lea edx, [esp + 0x58]
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov byte [esp + 0x110], 0x28
call fcn.5900c690
add esp, 0x34
test eax, eax
je 0x59021e95
mov ecx, dword [esp + 0x38]
push esi
push edi
push ecx
call fcn.5900c480
add esp, 0xc
test eax, eax
je 0x59021e95
push 0
lea edx, [esp + 0x7c]
push 0
lea eax, [esp + 0x64]
push edx
lea ecx, [esp + 0x58]
push eax
push ecx
mov edx, dword [esp + 0x4c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 2
push 1
push edx
push esi
push edi
call fcn.5900e750
add esp, 0x44
lea ecx, [esp + 0x38]
mov byte [esp + 0xdc], 0xe
call fcn.590a0ec0
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 0xd
call fcn.590b3a50
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 0xc
call fcn.590abbd0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xdc], 3
call fcn.590abbd0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdc], 2
call fcn.590a0ec0
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 1
call fcn.590a0ec0
lea ecx, [esp + 0x24]
mov byte [esp + 0xdc], 0
call fcn.590a6240
lea ecx, [esp + 0x28]
mov dword [esp + 0xdc], 0xffffffff
call fcn.590a0ec0
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd0
ret