joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010a620
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f6ac
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
push ebx
push esi
push edi
mov eax, dword [0x1018d0d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.1000af50
test eax, eax
jg 0x1010a6a2
push ebx
push 0x1b2
push str.RepairService_repair.cc
lea ecx, [ebp - 0xd8]
call fcn.1000afc0
mov dword [ebp - 4], ebx
lea edi, [esi + 8]
add eax, 8
mov ebx, 1
push str.Installing_service
push eax
mov dword [ebp - 0x10], ebx
call fcn.100025d0
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x1010a698
mov edi, dword [edi]
push edi
push eax
call fcn.1000b860
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1010a6bc
lea ecx, [ebp - 0xd8]
and ebx, 0xfffffffe
call fcn.1000b010
lea eax, [esi + 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1010cc00
add esp, 8
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov dword [ebp - 4], 1
jb 0x1010a6dd
mov ecx, dword [ecx]
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x1010a6e8
mov eax, dword [eax]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
jb 0x1010a6f3
mov edx, dword [edx]
push 0
push 0
push 0
push 0
push 0
push ecx
push dword [esi + 0x40]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push 0xf01ff
push eax
push edx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
mov eax, dword [esi + 4]
cmp eax, edi
je 0x1010a75e
test eax, eax
je 0x1010a752
call fcn.10006540
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], 1
test bl, 8
je 0x1010a74b
lea ecx, [ebp - 0x188]
and ebx, 0xfffffff7
call fcn.1000b010
mov dword [esi + 4], 0
test edi, edi
je 0x1010a75e
mov dword [esi + 4], edi
call fcn.10006540
cmp dword [ebp - 0x14], 8
mov dword [ebp - 4], 0xffffffff
jb 0x1010a776
push dword [ebp - 0x28]
call fcn.1011a1ea
add esp, 4
cmp dword [esi + 4], 0
jne 0x1010a7f6
call fcn.1000af50
cmp eax, 2
jg 0x1010a7cb
push 2
push 0x1c3
push str.RepairService_repair.cc
lea ecx, [ebp - 0xd8]
call fcn.1000afc0
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esi + 8]
push str.CreateService_failed:
push eax
call fcn.100025d0
add esp, 8
mov ecx, eax
call fcn.100058d0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x1010a7e2
lea ecx, [ebp - 0xd8]
call fcn.1000b010
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1000af50
test eax, eax
jg 0x1010a834
push 0
push 0x1c7
push str.RepairService_repair.cc
lea ecx, [ebp - 0x188]
call fcn.1000afc0
add eax, 8
mov dword [ebp - 4], 4
push str.Service_installed_successfully
or ebx, 4
push eax
mov dword [ebp - 0x10], ebx
call fcn.100025d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x1010a84b
lea ecx, [ebp - 0x188]
call fcn.1000b010
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1010b320
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f834
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
mov dword [ebp - 0x14], ebx
call fcn.1010b520
add esp, 4
test al, al
jne 0x1010b36a
lea eax, [ebx + 2]
jmp 0x1010b451
xor eax, eax
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0x10168270
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x88]
push eax
call fcn.10109900
add esp, 4
lea ecx, [ebp - 0x14]
add eax, 4
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1010b3b9
cmp dword [ebp - 0x14], 0
setne byte [ebp - 0x15]
lea ecx, [ebp - 0x88]
call fcn.10044080
cmp byte [ebp - 0x15], 0
jne 0x1010b41f
call fcn.1000af50
cmp eax, 2
jg 0x1010b408
push 2
push 0xf2
push str.RepairService_repair.cc
lea ecx, [ebp - 0xd8]
call fcn.1000afc0
add eax, 8
mov byte [ebp - 4], 1
push str.User_seems_not_in_Administrators_group__continue_anyway
mov ebx, 1
push eax
mov dword [ebp - 0x14], ebx
call fcn.100025d0
add esp, 8
mov dword [ebp - 4], 0
test bl, 1
je 0x1010b41f
lea ecx, [ebp - 0xd8]
call fcn.1000b010
call fcn.1010b6f0
test al, al
jne 0x1010b42f
mov esi, 3
jmp 0x1010b445
push esi
call fcn.1010b940
add esp, 4
test al, al
jne 0x1010b443
mov esi, 7
jmp 0x1010b445
xor esi, esi
push 0
call fcn.1011a1ea
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x1010be30
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014fa38
mov eax, dword fs:[0]
push eax
sub esp, 0x180
push ebx
push esi
push edi
mov eax, dword [0x1018d0d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call fcn.1000af50
test eax, eax
jg 0x1010beb2
push ebx
push 0x1ce
push str.RepairService_repair.cc
lea ecx, [ebp - 0xdc]
call fcn.1000afc0
mov dword [ebp - 4], ebx
lea edi, [esi + 8]
add eax, 8
mov ebx, 1
push str.Restoring_configuration_for_service
push eax
mov dword [ebp - 0x14], ebx
call fcn.100025d0
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x1010bea8
mov edi, dword [edi]
push edi
push eax
call fcn.1000b860
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1010becc
lea ecx, [ebp - 0xdc]
and ebx, 0xfffffffe
call fcn.1000b010
lea eax, [esi + 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1010cc00
lea ecx, [esi + 0x20]
add esp, 8
cmp dword [ecx + 0x14], 8
jb 0x1010bee7
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 8
jb 0x1010beef
mov eax, dword [eax]
push ecx
push 0
push 0
push 0
push 0
push 0
push eax
push dword [esi + 0x40]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
sete al
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0xd], al
jb 0x1010bf29
push dword [ebp - 0x2c]
call fcn.1011a1ea
mov al, byte [ebp - 0xd]
add esp, 4
test al, al
je 0x1010bfa7
call fcn.1000af50
cmp eax, 2
jg 0x1010bf7c
push 2
push 0x1dc
push str.RepairService_repair.cc
lea ecx, [ebp - 0x18c]
call fcn.1000afc0
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esi + 8]
push str.ChangeServiceConfig_failed:
push eax
call fcn.100025d0
add esp, 8
mov ecx, eax
call fcn.100058d0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x1010bf93
lea ecx, [ebp - 0x18c]
call fcn.1000b010
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1010c030
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014fab4
mov eax, dword fs:[0]
push eax
sub esp, 0x164
push ebx
push esi
push edi
mov eax, dword [0x1018d0d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.1000af50
test eax, eax
jg 0x1010c0b2
push ebx
push 0x250
push str.RepairService_repair.cc
lea ecx, [ebp - 0xc0]
call fcn.1000afc0
mov dword [ebp - 4], ebx
lea esi, [edi + 8]
add eax, 8
mov ebx, 1
push str.Asynchronously_starting_service
push eax
mov dword [ebp - 0x10], ebx
call fcn.100025d0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x1010c0a8
mov esi, dword [esi]
push esi
push eax
call fcn.1000b860
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1010c0cc
lea ecx, [ebp - 0xc0]
and ebx, 0xfffffffe
call fcn.1000b010
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1010c156
call fcn.1000af50
test eax, eax
jg 0x1010c12b
push 0
push 0x253
push str.RepairService_repair.cc
lea ecx, [ebp - 0xc0]
call fcn.1000afc0
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esi + 8]
push str.StartService_failed:
push eax
call fcn.100025d0
add esp, 8
mov ecx, eax
call fcn.100058d0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x1010c142
lea ecx, [ebp - 0xc0]
call fcn.1000b010
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1000af50
test eax, eax
jg 0x1010c1b4
push 0
push 0x257
push str.RepairService_repair.cc
lea ecx, [ebp - 0x170]
call fcn.1000afc0
add eax, 8
mov dword [ebp - 4], 2
push str.Service
or ebx, 4
lea esi, [edi + 8]
push eax
mov dword [ebp - 0x10], ebx
call fcn.100025d0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x1010c19f
mov esi, dword [esi]
push esi
push eax
call fcn.1000b860
push str._start_pending...
push eax
call fcn.100025d0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x1010c1cb
lea ecx, [ebp - 0x170]
call fcn.1000b010
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1010c440
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014fb8c
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.1000af50
test eax, eax
jg 0x1010c4e2
push 0
push 0x20e
push str.RepairService_repair.cc
lea ecx, [ebp - 0xe0]
call fcn.1000afc0
add eax, 8
mov dword [ebp - 4], 0
push str.Stopping_service
push eax
mov dword [ebp - 0x30], 1
lea esi, [ebx + 8]
call fcn.100025d0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x1010c4d8
mov esi, dword [esi]
push esi
push eax
call fcn.1000b860
add esp, 8
test byte [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
je 0x1010c4fa
lea ecx, [ebp - 0xe0]
call fcn.1000b010
mov edi, dword [sym.imp.ADVAPI32.dll_ControlService]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebx + 4]
call edi
test eax, eax
je 0x1010c526
push 0x1f4
call esi
cmp dword [ebp - 0x28], 1
jne 0x1010c506
mov al, 1
jmp 0x1010c528
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret

Function at 0x1010c550
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014fbdc
mov eax, dword fs:[0]
push eax
sub esp, 0x164
push ebx
push esi
push edi
mov eax, dword [0x1018d0d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.1000af50
test eax, eax
jg 0x1010c5d2
push ebx
push 0x1e6
push str.RepairService_repair.cc
lea ecx, [ebp - 0xc0]
call fcn.1000afc0
mov dword [ebp - 4], ebx
lea edi, [esi + 8]
add eax, 8
mov ebx, 1
push str.Uninstalling_service
push eax
mov dword [ebp - 0x10], ebx
call fcn.100025d0
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x1010c5c8
mov edi, dword [edi]
push edi
push eax
call fcn.1000b860
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1010c5ec
lea ecx, [ebp - 0xc0]
and ebx, 0xfffffffe
call fcn.1000b010
mov ecx, esi
call fcn.1010c440
test al, al
jne 0x1010c5fe
mov ecx, esi
call fcn.10109b60
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
cmp dword [esi + 4], 0
je 0x1010c639
call fcn.10006540
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x1010c632
lea ecx, [ebp - 0x170]
call fcn.1000b010
mov dword [esi + 4], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1010cc80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014fd4b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x228], edx
push 0x2001f
push eax
push dword [ecx]
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], edx
call fcn.1004dd90
mov edi, dword [ebp - 0x230]
test eax, eax
je 0x1010ccfe
xor bl, bl
jmp 0x1010cd74
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1011a400
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
jmp 0x1010cd20
lea eax, [ebp - 0x224]
mov dword [ebp - 0x21c], 0x208
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x1010cd72
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], edi
push eax
lea eax, [ebp - 0x21c]
inc esi
push eax
call fcn.1010cc80
add esp, 8
test al, al
jne 0x1010cd20
xor bl, bl
jmp 0x1010cd74
mov bl, 1
test edi, edi
je 0x1010cd7f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x1010cda0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014fd8b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x230]
push eax
push 0x60000
push 4
push edi
push dword [esi]
call ebx
test eax, eax
je 0x1010ce3e
lea eax, [ebp - 0x230]
push eax
push 0x60000
push 0
push edi
push dword [esi]
call ebx
test eax, eax
je 0x1010ce3e
xor al, al
jmp 0x1010cf15
mov edi, dword [ebp - 0x230]
xor eax, eax
push 2
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x224]
push 8
push eax
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push 0
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x20000004
push 4
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1011a400
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
mov dword [ebp - 0x21c], 0x208
nop
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x1010cf06
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x230]
inc esi
push eax
call fcn.1010cda0
add esp, 8
jmp 0x1010cec0
mov bl, 1
test edi, edi
je 0x1010cf13
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x1010de40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.1011bf70
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0xffe
push eax
mov word [ebp - 0x1004], ax
mov edi, ecx
lea eax, [ebp - 0x1002]
push eax
call fcn.1011a400
add esp, 0xc
lea eax, [ebp - 0x1004]
push 0x400
push eax
push str.LIEBAO_EXE_PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1010deb8
push 1
push 0x10000000
push esi
mov ecx, edi
call fcn.100522d0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret 4
cmp word [ebp - 0x1004], 0
jne 0x1010dec6
xor ecx, ecx
jmp 0x1010dedf
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010ded0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1004]
mov ecx, esi
push eax
call fcn.1000c2b0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret 4

Function at 0x1010e420
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10149ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor bl, bl
call fcn.10014230
cmp eax, 5
jl 0x1010e459
xor al, al
jmp 0x1010e4ce
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1007bcd0
mov ecx, eax
call fcn.1010de40
test eax, eax
jne 0x1010e4bb
push 0xb
push str.liebao.exe
lea ecx, [ebp - 0x28]
call fcn.1000c1d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1010e4ad
xor bl, bl
jmp 0x1010e4bb
lea eax, [ebp - 0x28]
push eax
call fcn.10112eb0
add esp, 4
mov bl, al
cmp dword [ebp - 0x14], 8
jb 0x1010e4cc
push dword [ebp - 0x28]
call fcn.1011a1ea
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x1010e520
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015007b
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov esi, 0x10168e10
xor eax, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.1000fa30
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
push 0x20019
push dword [esi]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
push closesocket
call fcn.1000fa90
test eax, eax
jne 0x1010e5ba
lea eax, [ebp - 0x34]
push eax
push dword [esi + 4]
lea ecx, [ebp - 0x1c]
call fcn.1000fbb0
test eax, eax
jne 0x1010e5ba
cmp dword [ebp - 0x24], eax
je 0x1010e5ba
or edi, dword [esi + 8]
cmp dword [ebp - 0x20], 8
jb 0x1010e5cb
push dword [ebp - 0x34]
call fcn.1011a1ea
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 0xffffffff
call fcn.1000fa50
add esi, 0xc
cmp esi, 0x10168e58
jne 0x1010e555
push 0x23c
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.1011a400
add esp, 0xc
lea ecx, [ebp - 0x270]
push 0
call fcn.100190e0
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], 2
call fcn.10019150
test eax, eax
je 0x1010e66c
mov esi, 0x101690b0
lea ebx, [eax + 0x24]
mov edi, edi
push dword [esi]
push ebx
call fcn.1011a277
add esp, 8
test eax, eax
jne 0x1010e652
or edi, dword [esi + 4]
add esi, 8
cmp esi, str.360Safe.exe
jne 0x1010e640
lea ecx, [ebp - 0x270]
call fcn.10019150
test eax, eax
jne 0x1010e636
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], 0xffffffff
call fcn.10019140
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x1010e7b0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101500c0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.1000fa30
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
push 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push closesocket
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1000fa90
test eax, eax
jne 0x1010e843
lea eax, [ebp - 0x34]
push eax
push str.360Safetray
lea ecx, [ebp - 0x1c]
call fcn.1000fbb0
test eax, eax
jne 0x1010e843
cmp dword [ebp - 0x24], eax
setne bl
jmp 0x1010e845
xor bl, bl
cmp dword [ebp - 0x20], 8
jb 0x1010e856
push dword [ebp - 0x34]
call fcn.1011a1ea
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 0xffffffff
call fcn.1000fa50
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x10110bd0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x10110d9e
push esi
push edi
push dword [ebp - 0x21c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
xor eax, eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
push str.SoftwareClassesLiebao.HTMLShellEx
mov dword [ebp - 0x228], closesocket
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
call fcn.101128f0
mov esi, dword [ebp - 0x228]
test esi, esi
je 0x10110c60
push esi
call edi
xor esi, esi
xor eax, eax
lea ecx, [ebp - 0x228]
push ebx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
push str.SoftwareClassesLiebao.HTMLShellEx
mov dword [ebp - 0x228], closesocket
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
call fcn.101128f0
mov ebx, dword [ebp - 0x228]
test ebx, ebx
je 0x10110caa
push ebx
call edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x214], 0
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.1011a400
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x1016a894
push str.SoftwareTencentTraveler
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10110d2b
push 0x10152a48
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10110d2b
push 0x1016a894
push str.SoftwareTencentTraveler
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x1016a894
push str.SoftwareTencentTraveler
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10110d8d
push 0x10152a48
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10110d8d
push 0x1016a894
push str.SoftwareTencentTraveler
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test ebx, ebx
je 0x10110d94
push ebx
call edi
pop ebx
test esi, esi
je 0x10110d9c
push esi
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret