joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c8a0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x41c8e3
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0xc], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x41c8fb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00424e88
add esp, 0x230
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push str.QQCRM.exe
lea ecx, [esp + 0x30]
push ecx
call edi
test eax, eax
je 0x41c941
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41c902
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00424e88
add esp, 0x230
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00424e88
add esp, 0x230
ret

Function at 0x41c970
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x230
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x22c], eax
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41c9b3
lea eax, [esp + 4]
push eax
push edi
mov dword [esp + 0xc], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x41c9cb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00424e88
add esp, 0x230
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push str.TXPlatform.exe
lea ecx, [esp + 0x30]
push ecx
call esi
test eax, eax
je 0x41ca11
lea edx, [esp + 8]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41c9d2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00424e88
add esp, 0x230
ret
mov eax, dword [esp + 0x10]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov ecx, dword [esp + 0x234]
pop esi
pop edi
xor ecx, esp
mov eax, 1
call fcn.00424e88
add esp, 0x230
ret
Function at 0x41cff0
Capabilities:
Check if file exists
Move file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebx
test eax, eax
je 0x41d02d
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00424e88
add esp, 0x20c
ret
push esi
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.00429d70
mov esi, 1
push esi
push edi
push str._s_d
push 0x208
lea ecx, [esp + 0x24]
push 0x104
push ecx
call fcn.00425032
add esp, 0x24
lea edx, [esp + 8]
push edx
call ebx
test eax, eax
je 0x41d0f2
add esi, 1
push esi
push edi
push str._s_d
push 0x208
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.00425032
add esp, 0x18
lea ecx, [esp + 8]
push ecx
call ebx
test eax, eax
jne 0x41d074
cmp esi, 1
jle 0x41d0f2
add esi, 0xffffffff
push esi
push edi
push str._s_d
push 0x208
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.00425032
add esp, 0x18
push edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x41d0f2
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00424e88
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00424e88
add esp, 0x20c
ret
Function at 0x41d6a0
Capabilities:
Delete file
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x43deab
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a2b8]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24c]
xor edi, edi
push 0x206
lea eax, [esp + 0x36]
push edi
push eax
mov word [esp + 0x3c], di
call fcn.00429d70
add esp, 0xc
push edi
push 0x441b18
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00401d00
push 1
push 7
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x250], edi
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
call ebx
test eax, eax
je 0x41d7ec
lea eax, [esp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d744
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x34]
push edx
lea esi, [esp + 0x1c]
call fcn.00401d00
mov eax, dword [esp + 0x28]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x41d772
call fcn.0042588d
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x41d781
lea eax, [esp + 0x18]
cmp word [eax + esi*2], 0x5c
je 0x41d798
push 1
push 0x4420e8
lea ecx, [esp + 0x1c]
call fcn.0040ff40
cmp dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x18]
jae 0x41d7a7
lea ecx, [esp + 0x18]
lea edx, [esp + 0x30]
jmp 0x41d7b0
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x41d7b0
push ebp
lea eax, [esp + 0x34]
push eax
push 0x441ab4
push 0x208
mov ecx, eax
push 0x104
push ecx
call fcn.00425032
add esp, 0x18
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push 0x18
lea eax, [esp + 0x38]
push eax
push edi
call ebx
test eax, eax
je 0x41d8af
lea eax, [esp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d807
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x34]
push ecx
lea esi, [esp + 0x1c]
call fcn.00401d00
mov eax, dword [esp + 0x28]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x41d835
call fcn.0042588d
mov eax, dword [esp + 0x18]
mov ebx, 8
cmp dword [esp + 0x2c], ebx
jae 0x41d848
lea eax, [esp + 0x18]
cmp word [eax + esi*2], 0x5c
je 0x41d85f
push 1
push 0x4420e8
lea ecx, [esp + 0x1c]
call fcn.0040ff40
cmp dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x18]
jae 0x41d86d
lea ecx, [esp + 0x18]
lea edx, [esp + 0x30]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x41d871
push ebp
lea edx, [esp + 0x34]
push edx
push 0x441ab4
push 0x208
mov eax, edx
push 0x104
push eax
call fcn.00425032
add esp, 0x18
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41d8b4
mov ebx, 8
cmp dword [esp + 0x2c], ebx
jb 0x41d8c7
mov edx, dword [esp + 0x18]
push edx
call fcn.004250ac
add esp, 4
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00424e88
add esp, 0x234
ret
Function at 0x41d8f0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0x16]
push edi
push eax
mov dword [esp + 0x18], edi
mov word [esp + 0x1c], di
call fcn.00429d70
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x19
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
call edi
mov eax, dword [esp + 0xc]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea edx, [esp + 0x10]
push edx
push eax
call ebx
push esi
lea ecx, [esp + 0x14]
push ecx
push 0x441ab4
push 0x208
mov edx, ecx
push 0x104
push edx
call fcn.00425032
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x18
lea eax, [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0xc]
push ecx
push 0x10
push 0
call edi
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push eax
call ebx
push esi
lea ecx, [esp + 0x14]
push ecx
push 0x441ab4
push 0x208
mov edx, ecx
push 0x104
push edx
call fcn.00425032
add esp, 0x18
lea eax, [esp + 0x10]
push eax
call ebp
mov ecx, dword [esp + 0x218]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00424e88
add esp, 0x210
ret

Function at 0x41d9d0
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
sub esp, 0xa30
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0xa2c], eax
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push ebp
lea eax, [esp + 8]
push eax
push 0x17
push 0
mov dword [esp + 0x14], 0
call ebx
mov edx, dword [esp + 8]
mov ebp, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [esp + 0xc]
push ecx
push edx
call ebp
push edi
push esi
lea eax, [esp + 0x14]
push eax
push str._s_s_s
push 0x410
lea ecx, [esp + 0x228]
push 0x208
push ecx
call fcn.00425032
add esp, 0x1c
lea edx, [esp + 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea eax, [esp + 0x10]
push eax
push 0x441ab4
push 0x410
lea ecx, [esp + 0x634]
push 0x208
push ecx
call fcn.00425032
add esp, 0x18
lea edx, [esp + 0x624]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [esp + 8]
push eax
push 2
push 0
call ebx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
call ebp
push edi
push esi
lea eax, [esp + 0x14]
push eax
push str._s_s_s
push 0x410
lea ecx, [esp + 0x228]
push 0x208
push ecx
call fcn.00425032
add esp, 0x1c
lea edx, [esp + 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea eax, [esp + 0x10]
push eax
push 0x441ab4
push 0x410
lea ecx, [esp + 0x634]
push 0x208
push ecx
call fcn.00425032
add esp, 0x18
lea edx, [esp + 0x624]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop ebp
pop ebx
mov ecx, dword [esp + 0xa2c]
xor ecx, esp
call fcn.00424e88
add esp, 0xa30
ret
Function at 0x41db10
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x210
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
mov ebx, ecx
xor esi, esi
cmp ebx, esi
jne 0x41db47
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00424e88
add esp, 0x210
ret
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41db50
sub eax, edx
sar eax, 1
push edi
mov edi, eax
cmp edi, 0x104
jb 0x41db84
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00424e88
add esp, 0x210
ret
push ebp
push 0x208
lea eax, [esp + 0x16]
push esi
push eax
mov word [esp + 0x1c], si
call fcn.00429d70
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
cmp edi, esi
jbe 0x41dbef
lea ecx, [esp + 0x10]
sub ebx, ecx
lea ecx, [ecx]
cmp esi, 0x104
jge 0x41dbef
lea edx, [ebx + esi*2]
movzx eax, word [esp + edx + 0x10]
cmp ax, 0x5c
mov word [esp + esi*2 + 0x10], ax
jne 0x41dbe8
lea eax, [esp + 0x10]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x41dbe8
push 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41dc1d
add esi, 1
cmp esi, edi
jb 0x41dbb0
cmp word [esp + edi*2 + 0xe], 0x5c
lea eax, [esp + edi*2 + 0x10]
je 0x41dc21
lea edx, [esp + 0x10]
push edx
mov word [eax], 0x5c
call ebp
cmp eax, 0xffffffff
jne 0x41dc21
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41dc21
xor eax, eax
jmp 0x41dc26
mov eax, 1
mov ecx, dword [esp + 0x21c]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00424e88
add esp, 0x210
ret
Function at 0x41dc40
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
lea eax, [esp + 0x20]
push eax
push 0x202
mov esi, ecx
mov ebx, edx
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x41dc85
push 6
push 1
push 2
call sub.WS2_32.dll_socket
mov edi, eax
cmp edi, 0xffffffff
jne 0x41dc9f
call sub.WS2_32.dll_WSACleanup
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.00424e88
add esp, 0x2b8
ret
push str.121.14.102.16
mov word [esp + 0x14], 2
call sub.WS2_32.dll_inet_addr
push 0x1bb
mov dword [esp + 0x18], eax
call sub.WS2_32.dll_htons
push 0x10
lea ecx, [esp + 0x14]
push ecx
push edi
mov word [esp + 0x1e], ax
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x41dc80
test esi, esi
jle 0x41dcf2
lea esp, [esp]
push 0
push esi
push ebx
push edi
call sub.WS2_32.dll_send
sub esi, eax
add ebx, eax
test esi, esi
jg 0x41dce0
push 0x103
lea edx, [esp + 0x1b5]
push 0
push edx
mov byte [esp + 0x1bc], 0
call fcn.00429d70
add esp, 0xc
push 0
push 0x104
lea eax, [esp + 0x1b8]
push eax
push edi
call sub.WS2_32.dll_recv
lea ecx, [esp + 0x1b0]
push str.RESULT:
push ecx
call fcn.00426210
add esp, 8
test eax, eax
je 0x41dd5b
add eax, 7
cmp byte [eax], 0x20
jne 0x41dd4f
add eax, 1
cmp byte [eax], 0x20
je 0x41dd47
xor edx, edx
cmp byte [eax], 0x31
sete dl
mov esi, edx
jmp 0x41dd5d
xor esi, esi
push edi
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
mov ecx, dword [esp + 0x2bc]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00424e88
add esp, 0x2b8
ret
Function at 0x41e570
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x210], eax
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.00429d70
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push closesocket
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e613
mov ecx, dword [esp]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push str.Start_Page
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41e5ed
mov edx, dword [esp]
push edx
jmp 0x41e60d
mov edx, str.QQ.COM
lea ecx, [esp + 8]
call fcn.0041e010
test eax, eax
jl 0x41e609
mov dword [0x44f014], 1
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00424e88
add esp, 0x214
ret
Function at 0x41f1b0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x624
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x620], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x21e]
push ebx
push eax
mov word [esp + 0x224], bx
call fcn.00429d70
push 0x206
lea ecx, [esp + 0x22]
push ebx
push ecx
mov word [esp + 0x28], bx
call fcn.00429d70
push 0x206
lea edx, [esp + 0x43e]
push ebx
push edx
mov word [esp + 0x444], bx
call fcn.00429d70
mov eax, 0x44fc48
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f225
sub eax, edx
sar eax, 1
je 0x41f29c
mov eax, 0x44fc48
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f240
sub eax, edx
sar eax, 1
movzx ecx, word [eax*2 + 0x44fc46]
cmp cx, 0x2f
je 0x41f27b
movzx ecx, cx
cmp cx, 0x5c
je 0x41f27b
cmp eax, ebx
jle 0x41f29c
movzx ecx, word [eax*2 + 0x44fc44]
sub eax, 1
cmp cx, 0x2f
jne 0x41f260
cmp eax, ebx
jle 0x41f29c
mov ecx, eax
shr ecx, 1
mov esi, 0x44fc48
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
cmp eax, ebx
rep movsw word es:[edi], word [esi]
jle 0x41f29c
mov word [esp + eax*2 + 0xe], bx
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f2a3
sub eax, edx
sar eax, 1
je 0x41f3ed
lea eax, [esp + 0x10]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f2c0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0xe], 0x5c
jne 0x41f2f4
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f2e0
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0xe], bx
lea eax, [esp + 0x10]
push eax
push str._sSharedAccountConfigConfig.ini
push 0x208
lea ecx, [esp + 0x224]
push 0x104
push ecx
call fcn.00425032
lea eax, [esp + 0x22c]
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f322
sub eax, edx
sar eax, 1
je 0x41f3ed
lea edx, [esp + 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f3ed
lea eax, [esp + 0x218]
push eax
push 0x64
lea ecx, [esp + 0x428]
push ecx
push 0x441b18
push str.HomePage
push str.Startup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x420]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f380
sub eax, edx
sar eax, 1
je 0x41f3ed
mov edx, str.QQ.COM
lea ecx, [esp + 0x420]
call fcn.0041e010
test eax, eax
jl 0x41f3c5
mov dword [0x44f014], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.00424e88
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], ebx
je 0x41f3e7
lea edx, [esp + 0x218]
push edx
push str.http:__www.qq.com_
push str.HomePage
push str.Startup
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [0x44f014], ebx
mov ecx, dword [esp + 0x62c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00424e88
mov esp, ebp
pop ebp
ret
Function at 0x41fe50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x210], eax
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.00429d70
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerToolbar
push closesocket
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41fee1
mov ecx, dword [esp]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push str.29CF293A_1E7D_4069_9E11_E39698D0AF95
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41fed7
mov edx, dword [esp]
mov dword [0x451508], 1
push edx
jmp 0x41fedb
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00424e88
add esp, 0x214
ret
Function at 0x41ff00
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xa38
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0xa34], eax
push ebx
xor ebx, ebx
push 0x40e
lea eax, [esp + 0x62e]
push ebx
push eax
mov dword [esp + 0x18], ebx
mov word [esp + 0x634], bx
call fcn.00429d70
push 0x40e
lea ecx, [esp + 0x22a]
push ebx
push ecx
mov word [esp + 0x230], bx
call fcn.00429d70
push 0x207
lea edx, [esp + 0x2d]
push ebx
push edx
mov byte [esp + 0x34], bl
call fcn.00429d70
add esp, 0x24
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ff89
pop ebx
mov ecx, dword [esp + 0xa34]
xor ecx, esp
call fcn.00424e88
add esp, 0xa38
ret
push ebp
push 0x44cb80
push str._sProcDll.dll
push 0x410
lea eax, [esp + 0x638]
push 0x208
push eax
call fcn.00425032
add esp, 0x14
lea ecx, [esp + 0x62c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
cmp ebp, ebx
jne 0x41ffdb
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xa34]
xor ecx, esp
call fcn.00424e88
add esp, 0xa38
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsProcRunning
push ebp
call esi
push str.WaitKillProcRunning
push ebp
mov dword [esp + 0x14], eax
call esi
mov esi, dword [esp + 0xc]
cmp esi, ebx
mov dword [esp + 0x10], eax
je 0x4200db
cmp eax, ebx
je 0x4200db
push edi
push 0x441d18
push 0x410
lea edx, [esp + 0x22c]
push 0x208
push edx
call fcn.00425032
add esp, 0x14
push ebx
push ebx
push 0x208
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x234]
push ecx
push 0x200
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x220]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x420060
sub eax, edx
sar eax, 1
cmp eax, 0x104
ja 0x4200db
lea eax, [esp + 0x220]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x420080
sub eax, edx
sar eax, 1
je 0x4200db
push 1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call esi
add esp, 0xc
cmp eax, ebx
je 0x4200db
lea ecx, [esp + 0x18]
push 0x7d0
push ecx
call dword [esp + 0x18]
add esp, 8
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xa34]
xor ecx, esp
call fcn.00424e88
add esp, 0xa38
ret
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0xa40]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00424e88
add esp, 0xa38
ret
Function at 0x421bb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x43d9db
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44a2b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00437fa3
push 4
mov dword [esp + 0x20], 0
call fcn.00424f32
mov edi, eax
add esp, 4
test edi, edi
je 0x421c30
call fcn.00437a26
mov dword [edi], eax
call fcn.0043785a
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00437f70
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x421c25
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00437f91
jmp 0x421c32
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x4224f0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x210
mov eax, dword [0x44a2b8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
push edi
push 0x828
push 0
push 0x451528
mov esi, ecx
call fcn.00429d70
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
cmp dword [esp + 0xc], esi
mov edi, eax
jle 0x42255d
mov ecx, dword [edi + esi*4]
push 0x445ab4
push ecx
call fcn.004255c9
add esp, 8
test eax, eax
je 0x422553
add esi, 1
cmp esi, dword [esp + 0xc]
jl 0x422533
jmp 0x42255d
mov dword [0x451528], 1
mov edx, dword [esp + 0xc]
push 0x45152c
push edx
push edi
mov ebx, str.path
call fcn.00422390
mov eax, dword [esp + 0x18]
push 0x451734
push eax
push edi
mov ebx, str.path2
call fcn.00422390
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push edx
push edi
mov ebx, str.notify
call fcn.00422390
lea eax, [esp + 0x34]
push eax
call fcn.00425664
mov ecx, dword [esp + 0x34]
push 0x451940
push ecx
push edi
mov ebx, 0x445ae4
mov dword [0x45193c], eax
call fcn.00422390
mov edx, dword [esp + 0x40]
push 0x451b48
push edx
push edi
mov ebx, str.para
call fcn.00422390
mov ecx, dword [esp + 0x258]
add esp, 0x40
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00424e88
add esp, 0x210
ret