joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417020
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x41c], eax
push 0x40e
lea eax, [esp + 0x12]
push 0
push eax
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0x104
mov word [esp + 0x18], 0
call fcn.00499a30
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x20019
push 0
push str.SOFTWARETencentQQMusic
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417116
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.Install
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41710c
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4170b0
sub eax, edx
sar eax, 1
je 0x41710c
movzx ecx, word [esp + eax*2 + 0xa]
cmp cx, 0x5c
lea eax, [esp + eax*2 + 0xa]
je 0x4170d6
cmp cx, 0x2f
jne 0x4170db
mov word [eax], 0
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00496a59
add esp, 8
test eax, eax
jne 0x41710c
mov eax, 1
mov dword [0x4ed31c], eax
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00495cb8
add esp, 0x420
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x41c]
xor ecx, esp
xor eax, eax
call fcn.00495cb8
add esp, 0x420
ret
Function at 0x4182e0
Capabilities:
Delete file

Disassembly:
sub esp, 0x824
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x820], eax
push esi
xor esi, esi
push 0x40e
lea eax, [esp + 0x41a]
push esi
push eax
mov word [esp + 0x420], si
call fcn.00499a30
push 0x40e
lea ecx, [esp + 0x16]
push esi
push ecx
mov word [esp + 0x1c], si
call fcn.00499a30
push edi
push str._sChatRoom.exe
push 0x410
lea edx, [esp + 0x438]
push 0x208
push edx
call fcn.00496163
add esp, 0x2c
lea eax, [esp + 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push str._sChat
push 0x410
lea ecx, [esp + 0x10]
push 0x208
push ecx
call fcn.00496163
lea esi, [esp + 0x18]
call fcn.00404c20
push edi
push str._sChatSkin
push 0x410
mov edx, esi
push 0x208
push edx
call fcn.00496163
call fcn.00404c20
push edi
push str._sChatRoomDll
push 0x410
mov eax, esi
push 0x208
push eax
call fcn.00496163
add esp, 0x3c
call fcn.00404c20
mov ecx, dword [esp + 0x824]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00495cb8
add esp, 0x824
ret
Function at 0x4183d0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x51c
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x518], eax
push ebx
push ebp
xor ebp, ebp
push 0x206
lea eax, [esp + 0x116]
push ebp
push eax
mov dword [esp + 0x14], ebp
mov word [esp + 0x11c], bp
call fcn.00499a30
push 0x206
lea ecx, [esp + 0x32a]
push ebp
push ecx
mov word [esp + 0x330], bp
call fcn.00499a30
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
add esp, 0x18
lea edx, [esp + 8]
push edx
push 0x19
push ebp
call ebx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x110]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea edx, [esp + 0x110]
push edx
push 0x4cdb88
push 0x208
lea eax, [esp + 0x324]
push 0x104
push eax
call fcn.00496163
push esi
lea ecx, [esp + 0x128]
push ecx
push 0x4cca7c
push 0x208
mov edx, ecx
push 0x104
push edx
call fcn.00496163
add esp, 0x2c
lea eax, [esp + 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x103
lea ecx, [esp + 0x11]
push ebp
push ecx
mov byte [esp + 0x18], 0
call fcn.00499a30
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetACP]
push 0
push 0
push 0x104
lea edx, [esp + 0x18]
push edx
mov ebp, eax
push 0xffffffffffffffff
lea eax, [esp + 0x32c]
push eax
push 0x200
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 8]
push eax
push 0x10
push 0
call ebx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x110]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x110]
push eax
push 0x4cdb88
push 0x208
lea ecx, [esp + 0x324]
push 0x104
push ecx
call fcn.00496163
push esi
lea edx, [esp + 0x128]
push edx
push 0x4cca7c
push 0x208
mov eax, edx
push 0x104
push eax
call fcn.00496163
add esp, 0x2c
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0x104
lea edx, [esp + 0x18]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x32c]
push eax
push 0x200
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x520]
pop ebp
pop ebx
xor ecx, esp
call fcn.00495cb8
add esp, 0x51c
ret
Function at 0x4185c0
Capabilities:
Delete file
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4b9b5b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e44b4]
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.00499a30
add esp, 0xc
push edi
push 0x4cadec
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00405680
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 0x41870c
lea eax, [esp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x418664
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405680
mov eax, dword [esp + 0x28]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x418692
call fcn.00496100
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x4186a1
lea eax, [esp + 0x18]
cmp word [eax + esi*2], 0x5c
je 0x4186b8
push 1
push 0x4cacf4
lea ecx, [esp + 0x1c]
call fcn.0040ea90
cmp dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x18]
jae 0x4186c7
lea ecx, [esp + 0x18]
lea edx, [esp + 0x30]
jmp 0x4186d0
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x4186d0
push ebp
lea eax, [esp + 0x34]
push eax
push 0x4cca7c
push 0x208
mov ecx, eax
push 0x104
push ecx
call fcn.00496163
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 0x4187cf
lea eax, [esp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x418727
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405680
mov eax, dword [esp + 0x28]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x418755
call fcn.00496100
mov eax, dword [esp + 0x18]
mov ebx, 8
cmp dword [esp + 0x2c], ebx
jae 0x418768
lea eax, [esp + 0x18]
cmp word [eax + esi*2], 0x5c
je 0x41877f
push 1
push 0x4cacf4
lea ecx, [esp + 0x1c]
call fcn.0040ea90
cmp dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x18]
jae 0x41878d
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 0x418791
push ebp
lea edx, [esp + 0x34]
push edx
push 0x4cca7c
push 0x208
mov eax, edx
push 0x104
push eax
call fcn.00496163
add esp, 0x18
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4187d4
mov ebx, 8
cmp dword [esp + 0x2c], ebx
jb 0x4187e7
mov edx, dword [esp + 0x18]
push edx
call fcn.00495fd1
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.00495cb8
add esp, 0x234
ret
Function at 0x418b20
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x220]
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418bef
mov edx, dword [esp + 8]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x104
lea ecx, [esp + 0x18]
push ecx
xor esi, esi
push esi
push edx
call edi
test eax, eax
jne 0x418baf
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00418b20
add esp, 8
test eax, eax
je 0x418be0
mov eax, dword [esp + 0x10]
push 0x104
lea edx, [esp + 0x18]
push edx
add esi, 1
push esi
push eax
call edi
test eax, eax
je 0x418b80
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00495cb8
add esp, 0x210
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x418bc7
mov ecx, dword [esp + 0x214]
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00495cb8
add esp, 0x210
ret

Function at 0x418c10
Capabilities:
Delete file

Disassembly:
sub esp, 0x414
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
push edi
push 0x40e
lea eax, [esp + 0xe]
push 0
push eax
mov esi, ecx
mov word [esp + 0x14], 0
call fcn.00499a30
push esi
push 0x4cdba8
push 0x410
lea ecx, [esp + 0x20]
push 0x208
push ecx
call fcn.00496163
add esp, 0x20
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 0x4cdbd0
mov esi, 0x4cb47c
call fcn.004183d0
mov edi, 0x4cdbdc
mov esi, str.CN_vQ
call fcn.004183d0
mov edi, 0x4cdbfc
mov esi, str.0W_vN
call fcn.004183d0
push 0x4cb47c
call fcn.004185c0
push str.CN_vQ
call fcn.004185c0
push 0x4cdbd0
push 0x4cdc38
mov ecx, 0x4cb47c
mov edi, 0x4cdc44
call fcn.00418810
push 0x4cdbdc
push 0x4cdc50
mov ecx, str.CN_vQ
mov edi, str.CN_vAx
call fcn.00418810
push 0x4cdc68
push 0x4cdc50
mov ecx, 0x4cdc78
call fcn.00418810
push str.SOFTWARETencentQQ
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00418b20
push str..cfc
push closesocket
call fcn.00418b20
push str.CFC.Package
push closesocket
call fcn.00418b20
push str.EMOTION.Package
push closesocket
call fcn.00418b20
add esp, 0x40
push str..eip
push closesocket
call fcn.00418b20
push str..kip
push closesocket
call fcn.00418b20
push str.SKIN.Package
push closesocket
call fcn.00418b20
push 0x4cdd30
push closesocket
call fcn.00418b20
push str.TENCENT
push closesocket
call fcn.00418b20
push str..cip
push closesocket
call fcn.00418b20
push str.SCENE.Package
push closesocket
call fcn.00418b20
push str..uip
push closesocket
call fcn.00418b20
add esp, 0x40
push str.SUPERBAG.Package
push closesocket
call fcn.00418b20
mov ecx, dword [esp + 0x420]
add esp, 8
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00495cb8
add esp, 0x414
ret
Function at 0x419380
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
push edi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00499a30
add esp, 0xc
xor eax, eax
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
push eax
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], 1
mov word [esp + 0x70], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4193ed
pop edi
add esp, 0x60
ret
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, 1
pop edi
add esp, 0x60
ret
Function at 0x41e710
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4b92c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4e44b4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.004031a0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41e765
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.0040ea90
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.004031a0
cmp dword [esp + 0x24], 8
jb 0x41e7ac
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00495fd1
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x41f5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4bbb64
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x344], eax
push ebx
mov eax, dword [0x4e44b4]
xor eax, esp
push eax
lea eax, [esp + 0x350]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x14a]
push ebx
mov dword [esp + 0x18], ebx
push eax
mov word [esp + 0x150], bx
call fcn.00499a30
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftInternet_ExplorerToolbar
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f7ac
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x148]
push eax
push ebx
push ebx
push str.29CF293A_1E7D_4069_9E11_E39698D0AF95
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f709
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xd
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.IsTBInstalled
mov byte [ecx + 4], bl
call fcn.00402d90
call fcn.00401d20
add esp, 0x20
cmp dword [0x4e8f68], 1
mov byte [esp + 0xf], al
jne 0x41f6dd
call fcn.004722e0
cmp eax, 3
jg 0x41f6dd
cmp byte [esp + 0xf], bl
jne 0x41f6dd
push 3
push 0x53
push str.R:BuildWorkTempQQ1.87HummerPack4921AutoProject_setup3HummerSetuppre_installcheck_system.cpp
lea ecx, [esp + 0xbc]
call fcn.00473160
mov dword [esp + 0x358], ebx
add eax, 4
push str.Check_failed:_result.
mov ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.004041d0
add esp, 8
test bl, 1
mov dword [esp + 0x358], 0xffffffff
je 0x41f6f9
lea ecx, [esp + 0xb0]
call fcn.00472c30
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41f7ac
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xd
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.IsTBInstalled
mov byte [ecx + 4], bl
call fcn.00402d90
call fcn.00401d20
add esp, 0x20
cmp dword [0x4e8f68], 1
mov byte [esp + 0xf], al
jne 0x41f793
call fcn.004722e0
cmp eax, 3
jg 0x41f793
cmp byte [esp + 0xf], bl
jne 0x41f793
push 3
push 0x5a
push str.R:BuildWorkTempQQ1.87HummerPack4921AutoProject_setup3HummerSetuppre_installcheck_system.cpp
lea ecx, [esp + 0x28]
call fcn.00473160
add eax, 4
push str.Check_failed:_result.
mov dword [esp + 0x35c], 1
mov ebx, 2
push eax
mov dword [esp + 0x18], ebx
call fcn.004041d0
add esp, 8
test bl, 2
mov dword [esp + 0x358], 0xffffffff
je 0x41f7ac
lea ecx, [esp + 0x1c]
call fcn.00472c30
mov ecx, dword [esp + 0x350]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x344]
xor ecx, esp
call fcn.00495cb8
add esp, 0x354
ret
Function at 0x41fce0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4bb9dd
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
mov eax, dword [0x4e44b4]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareTencentQQ2009
mov dword [esp + 0x24], ebx
push closesocket
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41fd94
mov eax, 4
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push ebx
push str.nUpdateType
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x41fd94
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
mov dword [esp + 0x30], ebx
push 0xd
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4ca298
mov byte [ecx + 4], bl
call fcn.00402d90
call fcn.00401d20
add esp, 0x20
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x41fda9
cmp eax, ebx
je 0x41fda9
mov dword [esp + 0x10], 2
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x3c], esp
push ecx
push eax
call fcn.0047b850
sub esp, 0x14
mov dword [esp + 0xf8], ebx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xa
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.UpdateType
mov byte [ecx + 4], bl
call fcn.00402d90
mov dword [esp + 0xf8], 0xffffffff
call fcn.00401980
add esp, 0x38
cmp dword [0x4e8f68], 1
mov byte [esp + 0xf], al
jne 0x41fe5b
call fcn.004722e0
cmp eax, 3
jg 0x41fe5b
cmp byte [esp + 0xf], bl
jne 0x41fe5b
push 3
push 0xd7
push str.R:BuildWorkTempQQ1.87HummerPack4921AutoProject_setup3HummerSetuppre_installcheck_system.cpp
lea ecx, [esp + 0x30]
call fcn.00473160
add eax, 4
push str.Check_failed:_result.
mov dword [esp + 0xc4], 1
mov ebx, 1
push eax
mov dword [esp + 0x1c], ebx
call fcn.004041d0
add esp, 8
test bl, 1
mov dword [esp + 0xc0], 0xffffffff
je 0x41fe74
lea ecx, [esp + 0x24]
call fcn.00472c30
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0xbc
ret
Function at 0x420170
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x848
mov eax, dword [0x4e44b4]
xor eax, esp
mov dword [esp + 0x844], eax
mov eax, dword [esp + 0x84c]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 8]
push edx
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call edi
test eax, eax
je 0x4201d1
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x844]
xor ecx, esp
call fcn.00495cb8
add esp, 0x848
ret
push ebx
push ebp
lea eax, [esp + 0x20]
push eax
push 0x20019
push esi
push str.SOFTWARETencentQQ
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x44], 4
mov dword [esp + 0x40], 0x104
call edi
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jne 0x42027e
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x650]
push edx
lea eax, [esp + 0x38]
push eax
push esi
push str.version
push ecx
call ebp
push 0x206
lea edx, [esp + 0x3a]
push esi
push edx
mov word [esp + 0x40], si
call fcn.00499a30
push 0x206
lea eax, [esp + 0x456]
push esi
push eax
mov word [esp + 0x45c], si
call fcn.00499a30
lea ecx, [esp + 0x664]
lea edi, [esp + 0x45c]
lea ebx, [esp + 0x4c]
call fcn.00404d60
mov ecx, ebx
push ecx
call fcn.00496121
add esp, 0x1c
cmp eax, esi
je 0x42027e
mov dword [0x4edad0], eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
xor edi, edi
jmp 0x420290
mov eax, dword [esp + 0x10]
push 0x104
lea edx, [esp + 0x240]
push edx
push edi
push eax
call ebx
test eax, eax
jne 0x42038f
mov eax, 0x51
cmp word [esp + 0x23c], ax
jne 0x420384
cmp word [esp + 0x23e], ax
jne 0x420384
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x248]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x420384
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.DisplayIcon
push ecx
mov dword [esp + 0x34], 4
mov dword [esp + 0x30], 0x104
call ebp
test eax, eax
jne 0x420379
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x34]
push edx
push eax
call fcn.00496a59
add esp, 8
test eax, eax
jne 0x420379
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.DisplayName
push ecx
call ebp
test eax, eax
jne 0x420379
mov eax, dword [esp + 0x24]
push 0x104
lea edx, [esp + 0x38]
push edx
push eax
call fcn.00496126
add esp, 0xc
mov esi, 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 1
test esi, esi
je 0x420290
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x854]
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00495cb8
add esp, 0x848
ret
Function at 0x420fc0
Capabilities:
Start service

Disassembly:
push ecx
push ebx
push ebp
push esi
push 4
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0x18], str.MSIServer
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x42100d
mov eax, dword [esp + 0xc]
push edi
push 0x10
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x421009
lea ecx, [esp + 0x10]
push ecx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ebx, eax
push edi
call ebp
pop edi
push esi
call ebp
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x421020
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push ebp
push esi
push edi
push 4
push 0
push 0
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4210bd
push ebx
push 4
push str.MSIServer
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
je 0x4210b9
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4210b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 5
je 0x421096
sub eax, edi
jne 0x4210a3
push str.The_specified_handle_is_invalid._n
call fcn.00496eef
add esp, 4
push ebx
xor edi, edi
call ebp
pop ebx
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
push str.The_specified_handle_was_not_opened_with_SERVICE_QUERY_STATUS_access._n
call fcn.00496eef
add esp, 4
push ebx
xor edi, edi
call ebp
pop ebx
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
mov edi, dword [esp + 0x14]
push ebx
call ebp
pop ebx
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x1c
ret