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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5914e073
push eax
mov eax, dword [0x591ae1c8]
mov dword fs:[0], esp
sub esp, 0xc0
test eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0xd8]
push esi
mov esi, dword [esp + 0xe0]
push edi
je 0x59021b01
push esi
push ebp
push str.AnalyseQQExEMailAttach___________08x___d_
push str.MailLog
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x18
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x59021b12
mov dword [eax], 0
test ebp, ebp
je 0x590224df
test esi, esi
je 0x590224df
push 0x591af1e0
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], esi
call fcn.590a6ec0
lea eax, [esp + 0x20]
mov dword [esp + 0xd8], 0
push eax
push esi
push ebp
call fcn.5903c640
push 0x5918986c
push 0x59189870
push esi
lea ecx, [esp + 0x3c]
push ebp
push ecx
mov dword [esp + 0x34], eax
call fcn.5901c360
push 0x5918a2d4
push esi
push ebp
mov byte [esp + 0x104], 1
call fcn.5900f7b0
mov ebx, eax
add esp, 0x2c
cmp ebx, 0xffffffff
je 0x590224ba
push 0x591898d0
push str.ukey
push ebx
lea edx, [esp + 0x24]
push ebp
push edx
call fcn.5901c1f0
add esp, 0x14
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0xdc], 2
call fcn.590a6d60
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 4
call fcn.590a22e0
mov edi, 0x5918a2d4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x1c]
not ecx
dec ecx
add ebx, ecx
mov ecx, dword [eax - 8]
add ebp, ebx
sub esi, ebx
test ecx, ecx
jne 0x59021c9c
cmp esi, 0x164
jle 0x59021c66
lea ecx, [ebp + 0x144]
push 0x14
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.590cc480
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], 5
call fcn.590a77f0
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 4
call fcn.590a7660
mov eax, dword [0x591ae1c8]
test eax, eax
je 0x59021c66
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [ebp + 0x15c]
push ecx
push edx
push eax
push str.AnalyseQQExEMailAttach__1__office:_08x____s__strData_:__s___size:_s_
push str.MailLog
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x20
mov eax, dword [esp + 0x14]
cmp eax, esi
jge 0x59021c76
test eax, eax
jle 0x59021c76
add ebp, eax
sub esi, eax
mov ecx, dword [0x591ae1c8]
test ecx, ecx
je 0x59021c9c
push eax
push esi
push ebp
push str.AnalyseQQExEMailAttach_2___08x___d____d_
push str.MailLog
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x1c
lea ecx, [esp + 0x48]
call fcn.590acfe0
lea ecx, [esp + 0x58]
mov byte [esp + 0xd8], 6
call fcn.590acfe0
lea ecx, [esp + 0x68]
mov byte [esp + 0xd8], 7
call fcn.590b4e60
mov ecx, dword [0x591638bc]
mov byte [esp + 0xd8], 8
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x18]
mov bl, 9
push 0x59189be8
push edx
mov byte [esp + 0xe0], bl
call fcn.590593f0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 0xa
call fcn.590a2460
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], bl
call fcn.590a22e0
mov eax, dword [esp + 0xf4]
test eax, eax
jne 0x59021d7d
mov eax, dword [esp + 0x10]
push 0x180
push 0x8101
push eax
call fcn.5908a6ad
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x59021dd8
mov eax, dword [0x591ae1c8]
test eax, eax
je 0x59021d6c
mov ecx, dword [esp + 0x10]
push ebp
push ecx
push esi
push str.AnalyseQQExEMailAttach_3_writefile__len_:__d___astrAttachFilePath_:__S_
push str.MailLog
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x1c
push esi
push ebp
push edi
call fcn.5908a4bd
push edi
call fcn.5908a3dd
add esp, 0x10
mov edx, dword [esp + 0x6c]
push esi
push edx
lea ecx, [esp + 0x70]
call fcn.590b50a0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.590a6d60
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0xe0], 0xb
call fcn.590ad5f0
mov eax, dword [esp + 0x5c]
push str.unknow
push eax
lea ecx, [esp + 0x60]
call fcn.590ad500
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], bl
call fcn.590a7660
lea ecx, [esp + 0x10]
mov byte [esp + 0xd8], 8
call fcn.590a22e0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x59022476
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x59021e0b
mov dword [eax], 1
jmp 0x59022476
mov eax, dword [0x591ae1c8]
mov esi, dword [esp + 0x44]
test eax, eax
je 0x59021e39
mov edi, dword [esp + 0x40]
push esi
push edi
push str.AnalyseQQExEMailAttach______08x___d_
push str.MailLog
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x18
jmp 0x59021e3d
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.590a6c60
mov ebp, dword [esp + 0xec]
mov byte [esp + 0xd8], 0xc
test ebp, ebp
je 0x590223ce
mov eax, dword [esp + 0x4c]
xor ebx, ebx
test eax, eax
jle 0x590223b8
jmp 0x59021e76
mov esi, dword [esp + 0x44]
mov eax, dword [0x591638c0]
mov dword [esp + 0xa4], eax
mov byte [esp + 0xd8], 0xd
mov dword [esp + 0xa8], eax
mov byte [esp + 0xd8], 0xe
mov dword [esp + 0xac], eax
mov edx, dword [0x591638bc]
mov byte [esp + 0xd8], 0xf
mov dword [esp + 0xb4], edx
mov byte [esp + 0xd8], 0x10
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0xdc], 0x12
lea ecx, [esp + 0xa8]
mov dword [esp + 0x8c], eax
call fcn.590a77f0
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x9c]
mov dword [esp + 0x94], ecx
push eax
mov dword [esp + 0x9c], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x48]
lea edx, [ecx + ebx*4]
lea ecx, [esp + 0x3c]
push edx
call fcn.590a6c60
push 0x5c
lea ecx, [esp + 0x40]
mov byte [esp + 0xdc], 0x13
call fcn.590a8810
inc eax
lea ecx, [esp + 0x3c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.590a9950
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 0x14
push ecx
call fcn.5900d660
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0x84]
push eax
mov byte [esp + 0xdc], 0x15
call fcn.590a6d60
lea edx, [esp + 0x18]
mov byte [esp + 0xd8], 0x16
push edx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.590a7c00
lea ecx, [esp + 0x84]
mov byte [esp + 0xd8], 0x19
call fcn.590a7660
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 0x18
call fcn.590a22e0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + ebx*4]
push 3
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 0x28]
lea ecx, [esp + 0xac]
push eax
call fcn.590a77f0
push 0x2e
lea ecx, [esp + 0x2c]
call fcn.590a8810
lea ecx, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.590a9da0
push 0x5918a4a0
lea ecx, [esp + 0x38]
mov byte [esp + 0xdc], 0x1a
call fcn.590a82b0
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xa8]
lea eax, [edx + ebx*4]
push eax
call fcn.590a77f0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
push eax
mov edx, dword [ecx + ebx*4]
lea ecx, [esp + 0x80]
mov dword [esp + 0xb4], edx
call fcn.590a1b80
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xdc], 0x1b
call fcn.590a2460
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd8], 0x1a
call fcn.590a22e0
mov ecx, dword [esp + 0xb4]
push 0x180
push 0x8101
push ecx
call fcn.5908a6ad
mov edx, dword [0x591638bc]
add esp, 0xc
mov edi, eax
mov dword [esp + 0x10], edx
cmp edi, 0xffffffff
mov byte [esp + 0xd8], 0x1c
je 0x59022104
mov eax, dword [esp + 0x40]
push esi
push eax
push edi
call fcn.5908a4bd
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
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 + 0x28]
push str._r_n_r_nliTickBegin:_I64u__liTickEnd:_I64u__liTickRecord:_I64u
push ecx
call fcn.590a5140
mov edx, dword [esp + 0x30]
add esp, 0x20
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
push 0
call fcn.590a2f70
push eax
push edi
call fcn.5908a4bd
push edi
call fcn.5908a3dd
add esp, 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [0x591af024]
mov eax, dword [eax - 8]
add eax, esi
mov esi, ecx
cmp esi, ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0x2c], esi
jl 0x590222d9
lea edi, [esi + 1]
test edi, edi
jne 0x5902217f
mov edi, dword [0x591af020]
test edi, edi
je 0x5902216e
mov edx, ecx
dec ecx
test edx, edx
je 0x59022156
lea esi, [ecx + 1]
push 0
mov ecx, edi
call fcn.59060790
add edi, 0x48
dec esi
jne 0x59022143
mov esi, dword [esp + 0x2c]
mov eax, dword [0x591af020]
push eax
call fcn.5913e209
add esp, 4
mov dword [0x591af020], 0
xor eax, eax
mov dword [0x591af028], eax
mov dword [0x591af024], eax
jmp 0x590222d9
mov eax, dword [0x591af020]
test eax, eax
jne 0x590221b4
lea ecx, [edi + edi*8]
shl ecx, 3
push ecx
call fcn.5913e1e0
push edi
push eax
mov dword [0x591af020], eax
call fcn.59060d30
add esp, 0xc
mov dword [0x591af028], edi
mov dword [0x591af024], edi
jmp 0x590222d9
cmp edi, dword [0x591af028]
jg 0x59022213
cmp ecx, edi
jge 0x590221df
lea edx, [ecx + ecx*8]
sub edi, ecx
push edi
lea eax, [eax + edx*8]
push eax
call fcn.59060d30
lea eax, [esi + 1]
add esp, 8
mov dword [0x591af024], eax
jmp 0x590222d9
jle 0x59022206
lea edx, [edi + edi*8]
sub ecx, edi
lea edi, [eax + edx*8]
mov eax, ecx
dec ecx
test eax, eax
je 0x59022206
lea esi, [ecx + 1]
push 0
mov ecx, edi
call fcn.59060790
add edi, 0x48
dec esi
jne 0x590221f3
mov esi, dword [esp + 0x2c]
lea eax, [esi + 1]
mov dword [0x591af024], eax
jmp 0x590222d9
mov eax, dword [0x591af02c]
test eax, eax
jne 0x5902223f
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x59022233
mov eax, 4
jmp 0x5902223f
cmp eax, 0x400
jle 0x5902223f
mov eax, 0x400
mov ecx, dword [0x591af028]
add eax, ecx
cmp edi, eax
jge 0x59022251
mov dword [esp + 0x38], eax
jmp 0x59022257
mov dword [esp + 0x38], edi
mov eax, edi
lea edx, [eax + eax*8]
shl edx, 3
push edx
call fcn.5913e1e0
mov ecx, dword [0x591af024]
mov esi, dword [0x591af020]
mov edi, eax
mov dword [esp + 0x84], 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 + 0x30]
lea esi, [ecx + 1]
mov ecx, dword [0x591af024]
mov edx, esi
sub edx, ecx
lea ecx, [ecx + ecx*8]
push edx
lea edx, [eax + ecx*8]
push edx
call fcn.59060d30
mov eax, dword [0x591af020]
push eax
call fcn.5913e209
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x48]
mov dword [0x591af024], esi
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov dword [0x591af020], ecx
mov dword [0x591af028], edx
mov edx, dword [0x591af020]
lea ecx, [esi + esi*8]
lea eax, [esp + 0x88]
push eax
lea ecx, [edx + ecx*8]
call fcn.59060700
lea ecx, [esp + 0x10]
mov byte [esp + 0xd8], 0x1a
call fcn.590a22e0
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 0x18
call fcn.590a7660
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8], 0x14
call fcn.590a7660
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 0x13
call fcn.590a7660
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd8], 0x12
call fcn.590a7660
lea ecx, [esp + 0xcc]
mov byte [esp + 0xd8], 0x20
call fcn.590a7660
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd8], 0x1f
call fcn.590a22e0
lea ecx, [esp + 0xac]
mov byte [esp + 0xd8], 0x1e
call fcn.590a7660
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd8], 0x1d
call fcn.590a7660
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd8], 0xc
call fcn.590a7660
mov eax, dword [esp + 0x4c]
inc ebx
cmp ebx, eax
jl 0x59021e72
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 8
call fcn.590a7660
jmp 0x59022476
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 8
call fcn.590a7660
lea eax, [esp + 0x30]
push 0
push eax
call fcn.590593f0
lea ecx, [esp + 0x60]
push 1
lea edx, [esp + 0x54]
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov byte [esp + 0x10c], 0x22
call fcn.5900c510
add esp, 0x34
test eax, eax
je 0x59022465
mov ecx, dword [esp + 0x30]
push esi
push edi
push ecx
call fcn.5900c300
add esp, 0xc
test eax, eax
je 0x59022465
push 0
lea edx, [esp + 0x6c]
push 0
lea eax, [esp + 0x60]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
mov edx, dword [esp + 0x44]
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.5900e5d0
add esp, 0x44
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 8
call fcn.590a22e0
lea ecx, [esp + 0x68]
mov byte [esp + 0xd8], 7
call fcn.590b4e70
lea ecx, [esp + 0x58]
mov byte [esp + 0xd8], 6
call fcn.590acff0
lea ecx, [esp + 0x48]
mov byte [esp + 0xd8], 4
call fcn.590acff0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 1
call fcn.590a7660
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 0
call fcn.590a7660
lea ecx, [esp + 0x20]
mov dword [esp + 0xd8], 0xffffffff
call fcn.590a7660
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret