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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5913f0f6
push eax
mov eax, dword [esp + 0x24]
mov dword fs:[0], esp
sub esp, 0xe4
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x590349dd
mov dword [eax], 0
mov esi, dword [esp + 0x104]
test esi, esi
je 0x59035598
mov ebp, dword [esp + 0x108]
test ebp, ebp
je 0x59035598
push 0x591732f8
push ebp
push esi
call fcn.5900f220
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x59035598
mov edi, 0x591732f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
add edx, ebx
add edx, esi
xor esi, esi
cmp byte [edx], 0xd
je 0x59034a5b
mov eax, ebp
sub eax, ebx
mov dword [esp + 0x24], eax
mov edi, 0x591732f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x24]
not ecx
dec ecx
sub eax, ecx
cmp esi, eax
jge 0x59034a5b
mov al, byte [esi + edx + 1]
inc esi
cmp al, 0xd
jne 0x59034a39
mov edi, 0x591732f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, ebp
dec ecx
sub eax, ebx
sub eax, ecx
cmp esi, eax
jge 0x59035598
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.59099ec0
mov ecx, dword [esp + 0x10]
push 0xa
push 0
push ecx
mov dword [esp + 0x108], 0
call fcn.5907ce12
add esp, 0xc
cmp eax, 0x164
jbe 0x59035584
push str.UnknowQQbigAttach
lea ecx, [esp + 0x1c]
call fcn.59099c70
mov edx, dword [esp + 0x104]
push 0x59173d00
push ebp
push edx
mov byte [esp + 0x108], 1
call fcn.5900f220
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x59035573
mov edi, 0x59173d00
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x5914f850]
not ecx
dec ecx
mov dword [esp + 0x14], eax
add ebx, ecx
mov esi, dword [esp + 0x104]
lea ecx, [esp + 0x14]
push ecx
push ebp
push esi
mov byte [esp + 0x108], 2
call fcn.59032fa0
add esp, 0xc
test eax, eax
jle 0x59035562
lea edi, [eax + ebx]
add edi, esi
mov esi, ebp
sub esi, eax
mov dword [esp + 0x24], edi
sub esi, ebx
test esi, esi
jle 0x59035562
mov eax, dword [esp + 0x118]
test eax, eax
je 0x59034b4e
mov dword [eax], 1
jmp 0x59035562
mov edx, dword [esp + 0x114]
mov ebx, dword [esp + 0x110]
push edx
push ebx
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.59099a10
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x110]
push ecx
push esi
push edi
push ebp
push edx
mov byte [esp + 0x11c], 2
call fcn.59010640
add esp, 0x20
test eax, eax
jne 0x59035562
mov eax, dword [0x5914f850]
mov dword [esp + 0x48], eax
mov byte [esp + 0xfc], 4
mov dword [esp + 0x50], eax
mov byte [esp + 0xfc], 5
mov dword [esp + 0x40], eax
mov byte [esp + 0xfc], 6
mov dword [esp + 0x54], eax
mov byte [esp + 0xfc], 7
mov dword [esp + 0x4c], eax
mov byte [esp + 0xfc], 8
mov dword [esp + 0x38], eax
mov byte [esp + 0xfc], 9
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xfc], 0xa
call fcn.5909fd90
lea ecx, [esp + 0xe0]
mov byte [esp + 0xfc], 0xb
call fcn.5909fd90
lea ecx, [esp + 0xc8]
mov byte [esp + 0xfc], 0xc
call fcn.590a6450
lea eax, [esp + 0x30]
push 0x59173628
push eax
mov byte [esp + 0x104], 0xd
call fcn.5904fff0
add esp, 8
mov ecx, dword [esp + 0x30]
push 0x180
push 0x8101
push ecx
mov byte [esp + 0x108], 0xe
call fcn.5907d46d
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x59034ce1
mov edx, dword [esp + 0x24]
push esi
push edx
push edi
call fcn.5907d27d
push edi
call fcn.5907d19d
mov eax, dword [esp + 0xdc]
add esp, 0x10
lea ecx, [esp + 0xc8]
push esi
push eax
call fcn.590a6690
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x2c]
call fcn.59099b10
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x104], 0xf
call fcn.590a03a0
mov edx, dword [esp + 0xe4]
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0xe8]
call fcn.590a03a0
lea ecx, [esp + 0x28]
mov byte [esp + 0xfc], 0xe
call fcn.5909a410
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x590354a1
mov eax, dword [0x5914f850]
mov dword [esp + 0x5c], eax
test ebx, ebx
mov byte [esp + 0xfc], 0x10
je 0x59035447
xor esi, esi
test ecx, ecx
mov dword [esp + 0x28], esi
jle 0x59035490
jmp 0x59034d26
mov eax, dword [0x5914f850]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x108]
mov dword [esp + 0x90], eax
mov byte [esp + 0xfc], 0x11
mov dword [esp + 0x94], eax
mov byte [esp + 0xfc], 0x12
mov dword [esp + 0x98], eax
mov ecx, dword [0x5914f84c]
mov byte [esp + 0xfc], 0x13
mov dword [esp + 0xa0], ecx
mov byte [esp + 0xfc], 0x14
mov dword [esp + 0xb8], eax
mov edi, dword [esp + 0x114]
mov byte [esp + 0xfc], 0x16
test edi, edi
je 0x59034dab
mov edx, edi
mov eax, dword [edx]
mov dword [esp + 0xa8], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0xac], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0xb0], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0x10c]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x78], edx
call fcn.5909a5a0
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x88]
mov dword [esp + 0x80], eax
push edx
mov dword [esp + 0x88], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x64]
lea ecx, [eax + esi*4]
push ecx
lea ecx, [esp + 0x5c]
call fcn.59099a10
push 0x5c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x100], 0x17
call fcn.5909b5c0
inc eax
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x60]
call fcn.5909c700
lea eax, [esp + 0xd8]
mov byte [esp + 0xfc], 0x18
push eax
call fcn.5900d0d0
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 0xc4]
push eax
mov byte [esp + 0x100], 0x19
call fcn.59099b10
lea ecx, [esp + 0x24]
lea edx, [esp + 0x34]
push ecx
push eax
push edx
mov byte [esp + 0x108], 0x1a
call fcn.5909a9b0
lea ecx, [esp + 0xc4]
mov byte [esp + 0xfc], 0x1d
call fcn.5909a410
lea ecx, [esp + 0xd8]
mov byte [esp + 0xfc], 0x1c
call fcn.59095090
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
push 3
push ecx
mov eax, dword [eax + esi*4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea edx, [esp + 0x34]
lea ecx, [esp + 0x98]
push edx
call fcn.5909a5a0
push 0x2e
lea ecx, [esp + 0x38]
call fcn.5909b5c0
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x3c]
call fcn.5909cb50
push 0x59173ecc
lea ecx, [esp + 0x64]
mov byte [esp + 0x100], 0x1e
call fcn.5909b060
mov ecx, dword [esp + 0xe0]
lea edx, [ecx + esi*4]
lea ecx, [esp + 0x94]
push edx
call fcn.5909a5a0
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x60]
push edx
mov ecx, dword [eax + esi*4]
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0xc4]
call fcn.59094930
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x100], 0x1f
call fcn.59095210
lea ecx, [esp + 0xc0]
mov byte [esp + 0xfc], 0x1e
call fcn.59095090
lea eax, [esp + 0x14]
lea ecx, [esp + 0xb8]
push eax
call fcn.5909a5a0
mov ecx, dword [esp + 0xa0]
push 0x180
push 0x8101
push ecx
call fcn.5907d46d
mov edx, dword [0x5914f84c]
add esp, 0xc
mov esi, eax
mov dword [esp + 0x2c], edx
cmp esi, 0xffffffff
mov byte [esp + 0xfc], 0x20
je 0x5903502c
mov eax, dword [esp + 0x104]
push ebp
push eax
push esi
call fcn.5907d27d
lea ecx, [esp + 0xe8]
push edi
push ecx
call fcn.590af440
add esp, 0x14
mov edx, dword [eax]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 8]
push ecx
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
lea eax, [esp + 0x48]
push str._r_n_r_nliTickBegin:_I64u__liTickEnd:_I64u__liTickRecord:_I64u__GUID:_s
push eax
mov byte [esp + 0x120], 0x21
call fcn.59097ef0
add esp, 0x24
lea ecx, [esp + 0xdc]
mov byte [esp + 0xfc], 0x20
call fcn.59095090
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x2c]
push eax
push 0
call fcn.59095d20
push eax
push esi
call fcn.5907d27d
push esi
call fcn.5907d19d
add esp, 0x10
mov edx, dword [esp + 0x2c]
mov ecx, dword [0x59195874]
mov edi, ecx
mov eax, dword [edx - 8]
mov dword [esp + 0x1c], edi
add eax, ebp
cmp edi, ecx
mov dword [esp + 0xa4], eax
jl 0x590352c9
lea ebp, [edi + 1]
test ebp, ebp
jne 0x590350a2
mov esi, dword [0x59195870]
test esi, esi
je 0x59035091
mov eax, ecx
dec ecx
test eax, eax
je 0x59035078
lea ebp, [ecx + 1]
mov ecx, esi
call fcn.59013160
add esi, 0x48
dec ebp
jne 0x5903506b
mov ecx, dword [0x59195870]
push ecx
call fcn.5912c529
add esp, 4
mov dword [0x59195870], 0
xor eax, eax
mov dword [0x59195878], eax
mov dword [0x59195874], eax
jmp 0x590352c9
mov eax, dword [0x59195870]
test eax, eax
jne 0x59035118
lea edi, [ebp + ebp*8]
shl edi, 3
push edi
call fcn.5912c500
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [0x59195870], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x20], esi
rep stosb byte es:[edi], al
mov dword [esp + 0x44], esi
test esi, esi
mov byte [esp + 0xfc], 0x22
je 0x590350f2
mov ecx, esi
call fcn.590130e0
add esi, 0x48
mov byte [esp + 0xfc], 0x20
dec ebp
mov dword [esp + 0x20], esi
jne 0x590350db
mov eax, dword [esp + 0x1c]
inc eax
mov dword [0x59195878], eax
mov dword [0x59195874], eax
jmp 0x590352c5
mov esi, dword [0x59195878]
cmp ebp, esi
jg 0x590351c3
cmp ecx, ebp
jge 0x59035194
mov edx, ebp
sub edx, ecx
lea ecx, [ecx + ecx*8]
lea ebp, [eax + ecx*8]
lea ecx, [edx + edx*8]
shl ecx, 3
mov esi, ecx
xor eax, eax
mov edi, ebp
mov dword [esp + 0x20], ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x59035183
lea esi, [edx + 1]
mov dword [esp + 0x44], ebp
test ebp, ebp
mov byte [esp + 0xfc], 0x23
je 0x59035171
mov ecx, ebp
call fcn.590130e0
add ebp, 0x48
mov byte [esp + 0xfc], 0x20
dec esi
mov dword [esp + 0x20], ebp
jne 0x5903515a
mov edi, dword [esp + 0x1c]
lea eax, [edi + 1]
mov dword [0x59195874], eax
jmp 0x590352c9
jle 0x59035187
lea edx, [ebp + ebp*8]
sub ecx, ebp
lea esi, [eax + edx*8]
mov eax, ecx
dec ecx
test eax, eax
je 0x59035187
lea ebp, [ecx + 1]
mov ecx, esi
call fcn.59013160
add esi, 0x48
dec ebp
jne 0x590351a9
lea eax, [edi + 1]
mov dword [0x59195874], eax
jmp 0x590352c9
mov eax, dword [0x5919587c]
test eax, eax
jne 0x590351ef
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x590351e3
mov eax, 4
jmp 0x590351ef
cmp eax, 0x400
jle 0x590351ef
mov eax, 0x400
add eax, esi
cmp ebp, eax
jl 0x590351f7
mov eax, ebp
lea ecx, [eax + eax*8]
mov dword [esp + 0x20], eax
shl ecx, 3
push ecx
call fcn.5912c500
mov ecx, dword [0x59195874]
mov esi, dword [0x59195870]
mov edi, eax
mov dword [esp + 0x48], eax
lea ecx, [ecx + ecx*8]
add esp, 4
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x59195874]
sub edx, ecx
lea ecx, [ecx + ecx*8]
lea esi, [eax + ecx*8]
lea ecx, [edx + edx*8]
shl ecx, 3
mov ebp, ecx
xor eax, eax
mov edi, esi
mov dword [esp + 0xbc], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x59035298
lea edi, [edx + 1]
mov dword [esp + 0xf0], esi
test esi, esi
mov byte [esp + 0xfc], 0x24
je 0x59035283
mov ecx, esi
call fcn.590130e0
add esi, 0x48
mov byte [esp + 0xfc], 0x20
dec edi
mov dword [esp + 0xbc], esi
jne 0x59035269
mov ecx, dword [0x59195870]
push ecx
call fcn.5912c529
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
add esp, 4
inc eax
mov dword [0x59195870], edx
mov dword [0x59195874], eax
mov dword [0x59195878], ecx
mov edi, dword [esp + 0x1c]
mov eax, dword [0x59195870]
mov ecx, dword [esp + 0x74]
lea edx, [edi + edi*8]
lea esi, [esp + 0x78]
lea ebp, [eax + edx*8]
lea edx, [esp + 0x90]
push edx
mov dword [ebp], ecx
lea edi, [ebp + 4]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x1c]
call fcn.5909a5a0
lea eax, [esp + 0x94]
lea ecx, [ebp + 0x20]
push eax
call fcn.5909a5a0
lea ecx, [esp + 0x98]
push ecx
lea ecx, [ebp + 0x24]
call fcn.5909a5a0
mov edx, dword [esp + 0x9c]
lea eax, [esp + 0xa0]
push eax
lea ecx, [ebp + 0x2c]
mov dword [ebp + 0x28], edx
call fcn.59095210
mov ecx, dword [esp + 0xa4]
lea edx, [ebp + 0x34]
mov dword [ebp + 0x30], ecx
mov eax, dword [esp + 0xa8]
mov dword [edx], eax
mov ecx, dword [esp + 0xac]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0xb0]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0xb4]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0xb8]
push edx
lea ecx, [ebp + 0x44]
call fcn.5909a5a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0x1e
call fcn.59095090
lea ecx, [esp + 0x60]
mov byte [esp + 0xfc], 0x1c
call fcn.5909a410
lea ecx, [esp + 0x34]
mov byte [esp + 0xfc], 0x18
call fcn.5909a410
lea ecx, [esp + 0x24]
mov byte [esp + 0xfc], 0x17
call fcn.5909a410
lea ecx, [esp + 0x58]
mov byte [esp + 0xfc], 0x16
call fcn.5909a410
lea ecx, [esp + 0xb8]
mov byte [esp + 0xfc], 0x28
call fcn.5909a410
lea ecx, [esp + 0xa0]
mov byte [esp + 0xfc], 0x27
call fcn.59095090
lea ecx, [esp + 0x98]
mov byte [esp + 0xfc], 0x26
call fcn.5909a410
lea ecx, [esp + 0x94]
mov byte [esp + 0xfc], 0x25
call fcn.5909a410
lea ecx, [esp + 0x90]
mov byte [esp + 0xfc], 0x10
call fcn.5909a410
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
inc eax
mov dword [esp + 0x28], eax
cmp eax, ecx
jl 0x59034d16
jmp 0x59035490
lea eax, [esp + 0xc8]
lea ecx, [esp + 0xe0]
push eax
lea edx, [esp + 0x68]
push ecx
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x124]
lea eax, [esp + 0x68]
push edx
push eax
push ebp
push ecx
call fcn.5901fd50
add esp, 0x30
lea ecx, [esp + 0x5c]
mov byte [esp + 0xfc], 0xe
call fcn.5909a410
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0xd
call fcn.59095090
lea ecx, [esp + 0xc8]
mov byte [esp + 0xfc], 0xc
call fcn.590a6460
lea ecx, [esp + 0xe0]
mov byte [esp + 0xfc], 0xb
call fcn.5909fda0
lea ecx, [esp + 0x64]
mov byte [esp + 0xfc], 0xa
call fcn.5909fda0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xfc], 9
call fcn.5909a410
lea ecx, [esp + 0x38]
mov byte [esp + 0xfc], 8
call fcn.5909a410
lea ecx, [esp + 0x4c]
mov byte [esp + 0xfc], 7
call fcn.5909a410
lea ecx, [esp + 0x54]
mov byte [esp + 0xfc], 6
call fcn.5909a410
lea ecx, [esp + 0x40]
mov byte [esp + 0xfc], 5
call fcn.5909a410
lea ecx, [esp + 0x50]
mov byte [esp + 0xfc], 4
call fcn.5909a410
lea ecx, [esp + 0x48]
mov byte [esp + 0xfc], 2
call fcn.5909a410
lea ecx, [esp + 0x14]
mov byte [esp + 0xfc], 1
call fcn.5909a410
lea ecx, [esp + 0x18]
mov byte [esp + 0xfc], 0
call fcn.5909a410
lea ecx, [esp + 0x10]
mov dword [esp + 0xfc], 0xffffffff
call fcn.5909a410
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xf0
ret