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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5914d3a0
push eax
mov eax, dword [esp + 0x24]
mov dword fs:[0], esp
sub esp, 0xcc
test eax, eax
je 0x59022be9
mov dword [eax], 0
push ebx
mov ebx, dword [esp + 0xe0]
push ebp
push esi
test ebx, ebx
push edi
je 0x5902365c
mov ebp, dword [esp + 0xf0]
test ebp, ebp
je 0x5902365c
mov eax, dword [0x591ac718]
test eax, eax
je 0x59022c2f
push ebp
push ebx
push str.AnalyseCoreMailDesayEMailAttach___________08x___d_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x18
push 0x591892bc
mov esi, ebp
push ebp
push ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x70], esi
call fcn.5900f930
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x5902365c
mov edi, 0x591892bc
or ecx, 0xffffffff
xor eax, eax
push 0x59188854
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x30]
push 0x59188858
not ecx
dec ecx
push esi
add edx, ecx
lea ecx, [esp + 0x2c]
add ebx, edx
push eax
push ecx
mov dword [esp + 0x100], ebx
sub ebp, edx
call fcn.5901c620
mov edx, dword [esp + 0x34]
xor ebx, ebx
push edx
mov dword [esp + 0xfc], ebx
call fcn.59088937
mov edi, eax
mov eax, dword [0x591ac718]
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x14], edi
je 0x59022cc9
push ebp
push edi
push str.AnalyseCoreMailDesayEMailAttach___d__d_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x18
cmp edi, ebp
jne 0x59023648
mov eax, dword [esp + 0x100]
cmp eax, ebx
je 0x59022ce7
mov dword [eax], 1
jmp 0x59023648
push 0x591ad730
lea ecx, [esp + 0x1c]
call fcn.590a5aa0
push 1
push 0x591ad6b0
lea ecx, [esp + 0xd8]
mov byte [esp + 0xec], 1
call fcn.590b48a0
mov eax, dword [0x591ad6a4]
mov ecx, dword [0x591ad694]
cmp eax, ecx
mov byte [esp + 0xe4], 2
je 0x59022d41
push 0xffffffffffffffff
push ebx
mov ecx, 0x591ad6a0
call fcn.590abc30
push 0xffffffffffffffff
push ebx
mov ecx, 0x591ad690
call fcn.590b3a60
mov eax, dword [0x591ad694]
xor edi, edi
test eax, eax
je 0x59022d93
mov eax, dword [0x591ad690]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
cmp edx, ecx
je 0x59022d61
inc edi
add eax, 4
jmp 0x59022d51
mov edx, dword [0x591ad6a0]
lea ecx, [esp + 0x18]
mov ebx, 1
lea eax, [edx + edi*4]
push eax
call fcn.590a63d0
push ebx
push edi
mov ecx, 0x591ad690
call fcn.590b3d60
push ebx
push edi
mov ecx, 0x591ad6a0
call fcn.590ac7a0
jmp 0x59022da1
push str.unknow
lea ecx, [esp + 0x1c]
call fcn.590a64c0
mov eax, dword [0x591ac718]
test eax, eax
je 0x59022dce
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push ebx
push edx
push str.AnalyseCoreMailDesayEMailAttach__nFileLen:_d___bMatch:_d___wstrAttachFileName:_s_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x1c
lea ecx, [esp + 0xd0]
mov byte [esp + 0xe4], 1
call fcn.590b4900
push 0x591ac690
lea ecx, [esp + 0x28]
call fcn.590a0590
mov eax, dword [esp + 0x2c]
push 0x59188924
push 0x5918af40
push esi
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0xf8], 3
call fcn.5901c620
add esp, 0x14
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xe8], 4
call fcn.590a1040
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 3
call fcn.590a0ec0
lea ecx, [esp + 0x44]
call fcn.590abbc0
lea ecx, [esp + 0x54]
mov byte [esp + 0xe4], 5
call fcn.590abbc0
lea ecx, [esp + 0x78]
mov byte [esp + 0xe4], 6
call fcn.590b3a40
mov edx, dword [0x5916287c]
mov byte [esp + 0xe4], 7
mov dword [esp + 0x10], edx
lea eax, [esp + 0x1c]
mov bl, 8
push 0x59188bd0
push eax
mov byte [esp + 0xec], bl
call fcn.59059db0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 9
call fcn.590a1040
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], bl
call fcn.590a0ec0
mov ecx, dword [esp + 0x10]
push 0x180
push 0x8101
push ecx
call fcn.5908928d
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x59022f7a
mov eax, dword [0x591ac718]
test eax, eax
je 0x59022f04
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0x10]
push edx
push eax
push ebp
push str.AnalyseCoreMailDesayEMailAttach_3_writefile__len_:__d___astrAttachFilePath_:__S_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x1c
mov ecx, dword [esp + 0xec]
push ebp
push ecx
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 + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.590a5940
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xec], 0xa
call fcn.590ac1d0
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.590ac1d0
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], bl
call fcn.590a6240
lea ecx, [esp + 0x10]
mov byte [esp + 0xe4], 7
call fcn.590a0ec0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x590235f3
mov eax, dword [0x591ac718]
test eax, eax
je 0x59022fc1
mov edi, dword [esp + 0x2c]
push esi
push edi
push str.AnalyseCoreMailDesayEMailAttach______08x___d_
push str.MailLog
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x18
jmp 0x59022fc5
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push edx
call fcn.590a5940
mov ebp, dword [esp + 0xf8]
mov byte [esp + 0xe4], 0xb
test ebp, ebp
je 0x5902354b
mov eax, dword [esp + 0x48]
xor ebx, ebx
test eax, eax
jle 0x59023535
jmp 0x59022ffe
mov esi, dword [esp + 0x64]
mov eax, dword [0x59162880]
mov dword [esp + 0xa4], eax
mov byte [esp + 0xe4], 0xc
mov dword [esp + 0xa8], eax
mov byte [esp + 0xe4], 0xd
mov dword [esp + 0xac], eax
mov ecx, dword [0x5916287c]
mov byte [esp + 0xe4], 0xe
mov dword [esp + 0xb4], ecx
mov byte [esp + 0xe4], 0xf
mov dword [esp + 0xcc], eax
mov edx, dword [esp + 0xf4]
lea eax, [esp + 0x14]
mov byte [esp + 0xe4], 0x11
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0x8c], edx
call fcn.590a63d0
mov edx, dword [ebp + 4]
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x9c]
mov dword [esp + 0x94], eax
push edx
mov dword [esp + 0x9c], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x44]
lea ecx, [eax + ebx*4]
push ecx
lea ecx, [esp + 0x44]
call fcn.590a5840
push 0x5c
lea ecx, [esp + 0x44]
mov byte [esp + 0xe8], 0x12
call fcn.590a73f0
inc eax
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x48]
call fcn.590a8530
lea eax, [esp + 0x70]
mov byte [esp + 0xe4], 0x13
push eax
call fcn.5900d7e0
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x68]
push eax
mov byte [esp + 0xe8], 0x14
call fcn.590a5940
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
mov byte [esp + 0xf0], 0x15
call fcn.590a67e0
lea ecx, [esp + 0x68]
mov byte [esp + 0xe4], 0x18
call fcn.590a6240
lea ecx, [esp + 0x70]
mov byte [esp + 0xe4], 0x17
call fcn.590a0ec0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + ebx*4]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea edx, [esp + 0x28]
lea ecx, [esp + 0xac]
push edx
call fcn.590a63d0
push 0x2e
lea ecx, [esp + 0x2c]
call fcn.590a73f0
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
call fcn.590a8980
push 0x59189488
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe8], 0x19
call fcn.590a6e90
mov ecx, dword [esp + 0x54]
lea edx, [ecx + ebx*4]
lea ecx, [esp + 0xa8]
push edx
call fcn.590a63d0
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x38]
push edx
mov ecx, dword [eax + ebx*4]
mov dword [esp + 0xb4], ecx
lea ecx, [esp + 0x70]
call fcn.590a0760
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe8], 0x1a
call fcn.590a1040
lea ecx, [esp + 0x6c]
mov byte [esp + 0xe4], 0x19
call fcn.590a0ec0
mov eax, dword [esp + 0xb4]
push 0x180
push 0x8101
push eax
call fcn.5908928d
mov ecx, dword [0x5916287c]
add esp, 0xc
mov edi, eax
mov dword [esp + 0x10], ecx
cmp edi, 0xffffffff
mov byte [esp + 0xe4], 0x1b
je 0x59023283
mov edx, dword [esp + 0x2c]
push esi
push edx
push edi
call fcn.5908909d
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [ebp + 0xc]
add esp, 0xc
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 4]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push str._r_n_r_nliTickBegin:_I64u__liTickEnd:_I64u__liTickRecord:_I64u
push eax
call fcn.590a3d20
mov ecx, dword [esp + 0x30]
add esp, 0x20
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
push 0
call fcn.590a1b50
push eax
push edi
call fcn.5908909d
push edi
call fcn.59088fbd
add esp, 0x10
mov edx, dword [esp + 0x10]
mov ecx, dword [0x591ad574]
mov eax, dword [edx - 8]
add eax, esi
mov esi, ecx
cmp esi, ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0x30], esi
jl 0x59023456
lea edi, [esi + 1]
test edi, edi
jne 0x590232ff
mov edi, dword [0x591ad570]
test edi, edi
je 0x590232ee
mov eax, ecx
dec ecx
test eax, eax
je 0x590232d5
lea esi, [ecx + 1]
push 0
mov ecx, edi
call fcn.590610c0
add edi, 0x48
dec esi
jne 0x590232c2
mov esi, dword [esp + 0x30]
mov ecx, dword [0x591ad570]
push ecx
call fcn.5913d2f9
add esp, 4
mov dword [0x591ad570], 0
xor eax, eax
mov dword [0x591ad578], eax
mov dword [0x591ad574], eax
jmp 0x59023456
mov eax, dword [0x591ad570]
test eax, eax
jne 0x59023334
lea edx, [edi + edi*8]
shl edx, 3
push edx
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 0x59023456
cmp edi, dword [0x591ad578]
jg 0x59023393
cmp ecx, edi
jge 0x5902335f
sub edi, ecx
lea ecx, [ecx + ecx*8]
push edi
lea edx, [eax + ecx*8]
push edx
call fcn.59061660
lea eax, [esi + 1]
add esp, 8
mov dword [0x591ad574], eax
jmp 0x59023456
jle 0x59023386
lea edx, [edi + edi*8]
sub ecx, edi
lea edi, [eax + edx*8]
mov eax, ecx
dec ecx
test eax, eax
je 0x59023386
lea esi, [ecx + 1]
push 0
mov ecx, edi
call fcn.590610c0
add edi, 0x48
dec esi
jne 0x59023373
mov esi, dword [esp + 0x30]
lea eax, [esi + 1]
mov dword [0x591ad574], eax
jmp 0x59023456
mov eax, dword [0x591ad57c]
test eax, eax
jne 0x590233bf
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x590233b3
mov eax, 4
jmp 0x590233bf
cmp eax, 0x400
jle 0x590233bf
mov eax, 0x400
mov ecx, dword [0x591ad578]
add eax, ecx
cmp edi, eax
jge 0x590233d1
mov dword [esp + 0x3c], eax
jmp 0x590233d7
mov dword [esp + 0x3c], 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 + 0x78], 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 + 0x34]
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 + 0x84]
mov edx, dword [esp + 0x4c]
mov dword [0x591ad574], esi
mov esi, dword [esp + 0x40]
add esp, 0x10
mov dword [0x591ad570], ecx
mov dword [0x591ad578], edx
mov edx, dword [0x591ad570]
lea ecx, [esi + esi*8]
lea eax, [esp + 0x88]
push eax
lea ecx, [edx + ecx*8]
call fcn.59061030
lea ecx, [esp + 0x10]
mov byte [esp + 0xe4], 0x19
call fcn.590a0ec0
lea ecx, [esp + 0x38]
mov byte [esp + 0xe4], 0x17
call fcn.590a6240
lea ecx, [esp + 0x28]
mov byte [esp + 0xe4], 0x13
call fcn.590a6240
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 0x12
call fcn.590a6240
lea ecx, [esp + 0x40]
mov byte [esp + 0xe4], 0x11
call fcn.590a6240
lea ecx, [esp + 0xcc]
mov byte [esp + 0xe4], 0x1f
call fcn.590a6240
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe4], 0x1e
call fcn.590a0ec0
lea ecx, [esp + 0xac]
mov byte [esp + 0xe4], 0x1d
call fcn.590a6240
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe4], 0x1c
call fcn.590a6240
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe4], 0xb
call fcn.590a6240
mov eax, dword [esp + 0x48]
inc ebx
cmp ebx, eax
jl 0x59022ffa
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 7
call fcn.590a6240
jmp 0x590235f3
lea ecx, [esp + 0x14]
mov byte [esp + 0xe4], 7
call fcn.590a6240
lea eax, [esp + 0x34]
push 0
push eax
call fcn.59059db0
lea ecx, [esp + 0x5c]
push 1
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov byte [esp + 0x118], 0x21
call fcn.5900c690
add esp, 0x34
test eax, eax
je 0x590235e2
mov ecx, dword [esp + 0x34]
push esi
push edi
push ecx
call fcn.5900c480
add esp, 0xc
test eax, eax
je 0x590235e2
push 0
lea edx, [esp + 0x7c]
push 0
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
mov edx, dword [esp + 0x48]
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 + 0x34]
mov byte [esp + 0xe4], 7
call fcn.590a0ec0
lea ecx, [esp + 0x78]
mov byte [esp + 0xe4], 6
call fcn.590b3a50
lea ecx, [esp + 0x54]
mov byte [esp + 0xe4], 5
call fcn.590abbd0
lea ecx, [esp + 0x44]
mov byte [esp + 0xe4], 3
call fcn.590abbd0
lea ecx, [esp + 0x24]
mov byte [esp + 0xe4], 1
call fcn.590a0ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 0
call fcn.590a6240
lea ecx, [esp + 0x20]
mov dword [esp + 0xe4], 0xffffffff
call fcn.590a0ec0
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret