joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001731c
Capabilities:
Create process on windows

Disassembly:
push 0x74
mov eax, 0x100bd93f
call fcn.1008b701
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push 0x40
push 0
push eax
call fcn.1008df10
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x81
xor eax, eax
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x7c], xmm0
push 0x100d1f38
mov word [ebp - 0x3c], ax
call fcn.100028b0
and dword [ebp - 4], 0
lea esi, [edi + 4]
cmp dword [esi + 0x14], 8
jb 0x10017374
mov esi, dword [esi]
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.100056fa
mov esi, 0x100d1f38
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.100056fa
mov esi, 0x100d1cac
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.100056fa
push ebx
call fcn.10001a38
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.100056fa
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test ebx, ebx
je 0x10017415
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], ecx
lea ecx, [edi + 0x38]
push eax
call fcn.1001939d
cmp dword [ebp - 0x80], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1001740e
push dword [ebp - 0x80]
call esi
push dword [ebp - 0x78]
call esi
jmp 0x1001742b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.1001897a
mov dword [eax + 0x20], esi
mov dword [eax + 0x15c], esi
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10001f43
mov eax, ebx
call fcn.1008b6ab
ret 4
Function at 0x10017507
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10017618
mov ecx, edi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1001752f
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jg 0x10017618
add esi, esi
mov eax, esi
call fcn.1008b860
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.10019369
mov esi, eax
test esi, esi
je 0x10017618
push 0x20a
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.1008df10
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.10017722
push str.Txdlproxy.dat
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100175bc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x100f0424
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], ebx
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.1009e18c
add esp, 0xc
cmp dword [ebp - 0x214], ebx
je 0x10017618
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100175ea
push dword [ebp - 0x214]
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 1
push esi
call fcn.1009ef77
push dword [ebp - 0x214]
call fcn.1009f045
xor eax, eax
add esp, 0x14
inc eax
jmp 0x1001761a
xor eax, eax
lea esp, [ebp - 0x220]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 4

Function at 0x10017633
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
xor edi, edi
lea eax, [ebp - 0x210]
push edi
push eax
mov esi, ecx
call fcn.1008df10
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.10017722
push 0x100f0428
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x40
lea eax, [ebp - 0x250]
push edi
push eax
call fcn.1008df10
add esp, 0xc
mov dword [ebp - 0x254], 0x44
lea eax, [ebp - 0x264]
mov dword [ebp - 0x228], 0x80
xorps xmm0, xmm0
movups xmmword [ebp - 0x264], xmm0
push eax
lea eax, [ebp - 0x254]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x10017710
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], ecx
lea ecx, [esi + 0x38]
push eax
call fcn.1001939d
cmp dword [ebp - 0x268], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10017708
push dword [ebp - 0x268]
call esi
push dword [ebp - 0x260]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x10017760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [edi + 0x3c]
call fcn.10001dcf
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push edi
push 0x100177ed
push ebx
push ebx
mov dword [edi + 0x58], ebx
mov dword [ebp - 8], ebx
call fcn.100963ac
add esp, 0x18
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
lea ecx, [edi + 0x38]
push eax
call fcn.1001939d
cmp dword [ebp - 0xc], ebx
je 0x100177c3
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x38], ebx
je 0x100177d8
push 0xffffffffffffffff
push dword [edi + 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x58]
jmp 0x100177da
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 4

Function at 0x100179df
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push 0x14
mov eax, 0x100bd96f
call fcn.1008b701
mov edi, ecx
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100179f2
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x10017a10
mov edi, ebx
jmp 0x10017a27
add esi, esi
mov eax, esi
call fcn.1008b860
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.10019369
mov edi, eax
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10017a2c
sub esi, ecx
mov edx, edi
push esi
call fcn.1001a2b5
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
call fcn.1001add1
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
mov edx, eax
mov dword [esp], str.TxdlService.dat
call fcn.10001464
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.100018e3
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10017a81
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x100f0424
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
call fcn.1009e18c
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x10017ac8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 1
push 4
push eax
call fcn.1009ef77
push dword [ebp - 0x1c]
lea eax, [esi + 1]
push eax
push 1
push edi
call fcn.1009ef77
push dword [ebp - 0x1c]
call fcn.1009f045
add esp, 0x24
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100018e3
xor eax, eax
inc eax
lea esp, [ebp - 0x30]
call fcn.1008b6ab
ret
Function at 0x10017af2
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10017b20
xor eax, eax
jmp 0x10017b6c
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x10017b5f
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10095e49
pop ecx
pop ecx
xor ecx, ecx
inc ecx
test eax, eax
lea eax, [ebp - 0x230]
push eax
push edi
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10017b3a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x100184ad
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x1010f7c0
mov edi, 0xd2
push esi
push str.EntryPoint__g_szCmdline_s
push edi
mov ebx, str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlPackageLauncher.cpp
push ebx
call fcn.1006a644
mov ecx, esi
add esp, 0x10
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x100184e6
sub ecx, edx
sar ecx, 1
jne 0x10018508
push str.EntryPoint__g_szCmdline_is_empty
push edi
push ebx
call fcn.1006a644
add esp, 0xc
jmp 0x10018560
push 0x40
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.1008df10
add esp, 0xc
mov dword [ebp - 0x48], 0x44
xor eax, eax
mov dword [ebp - 0x1c], 0x81
mov word [ebp - 0x18], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x1010f7c0
push esi
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10018560
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10018573
Capabilities:
Get common file path

Disassembly:
push 0x42c
mov eax, 0x100bdab4
call fcn.1008b701
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x438]
mov ebx, 0x100d1f38
push ebx
call fcn.100028b0
and dword [ebp - 4], 0
lea eax, [esi + 4]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x438]
call fcn.10002a95
push ebx
call fcn.10001a38
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x438]
call fcn.100056fa
mov esi, 0x100d1cac
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.100056fa
push edi
call fcn.10001a38
pop ecx
push eax
push edi
lea ecx, [ebp - 0x438]
call fcn.100056fa
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov edi, 0x208
cmovae eax, dword [ebp - 0x438]
push eax
push edi
push 0x1010f7c0
call fcn.1009578b
push edi
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.1008df10
add esp, 0x18
lea eax, [ebp - 0x218]
mov esi, 0x104
push esi
push eax
push dword [0x1010fbfc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push str._EntryPoint
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1009600a
push edi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.1008df10
add esp, 0x18
lea eax, [ebp - 0x420]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.rundll32.exe
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ecx
push ebx
push ecx
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x420]
call fcn.1001afb6
add esp, 0xc
lea ecx, [ebp - 0x438]
mov esi, eax
push ebx
push 1
call fcn.10001f43
mov eax, esi
call fcn.1008b6ab
ret 4

Function at 0x10018791
Capabilities:
Get session user name
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001879a
Function at 0x1001879a
Capabilities:
Get session user name
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push esi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x220], esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x10018965
lea eax, [ebp - 0x21c]
push eax
push 0x100f0848
push 1
push esi
push 0x100f0828
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x10018926
mov eax, dword [ebp - 0x21c]
mov esi, str.qminstall_task
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
push edx
push 0x100f0858
push 0x100f0838
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x10018926
lea edx, [ebx + 4]
cmp dword [edx + 0x14], 8
jb 0x10018841
mov edx, dword [edx]
mov eax, dword [ebp - 0x218]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
xor ebx, ebx
test edi, edi
je 0x1001887d
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1001885c
sub ecx, edx
sar ecx, 1
je 0x1001887d
mov eax, dword [ebp - 0x218]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x218]
push 0x2002
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1008df10
add esp, 0xc
mov dword [ebp - 0x210], 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x20c]
push ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x220]
push edx
push 0x100c5740
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x10018926
mov eax, dword [ebp - 0x220]
push 1
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
js 0x10018926
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x10018936
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x10018946
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x10018956
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
not esi
shr esi, 0x1f
mov eax, esi
jmp 0x10018967
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 4
Function at 0x100190f1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x1010b070]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [esp + 0x10]
stosd dword es:[edi], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
xor edi, edi
or eax, 0x2001f
mov dword [esp + 0x10], edi
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.10003d33
mov esi, eax
test esi, esi
jne 0x100191b1
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10019189
lea eax, [esp + 0x28]
push eax
call fcn.100190f1
mov esi, eax
test esi, esi
jne 0x100191b1
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call edi
lea ecx, [esp + 0x10]
test eax, eax
je 0x10019164
call fcn.10003d19
push dword [esp + 0xc]
mov ecx, ebx
call fcn.10019078
mov esi, eax
lea ecx, [esp + 0x10]
call fcn.10003d19
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 4

Function at 0x100191d3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
lea edi, [ebp - 0x10]
xor eax, eax
stosd dword es:[edi], eax
push ecx
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx + 4]
xor edi, edi
or eax, 0x2001f
mov dword [ebp - 0x10], edi
push eax
push ecx
push ecx
push str.LocalServer32
push dword [ecx]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.100192df
mov esi, eax
test esi, esi
jne 0x10019253
test ebx, ebx
jne 0x10019227
push 0xd
pop esi
jmp 0x10019253
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x1001922c
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push edi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.10003d19
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001945c
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 2
xor esi, esi
mov dword [ebp - 8], edx
push esi
push esi
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x1001948d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100194e8
push esi
push esi
push esi
push esi
push str.COM_Infrastructure
push edi
push 1
push 3
push 0x110
push 0xf01ff
push str.Installer_Service
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
jne 0x100194c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x100194df
lea eax, [ebp - 8]
mov dword [ebp - 8], str.Installer_Service
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret

Function at 0x10019560
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20a
xor esi, esi
mov edi, str.InstallerSvcEx2014
push esi
push edi
mov ebx, ecx
call fcn.1008df10
push 0x104
push ebx
push edi
call fcn.10095a99
add esp, 0x18
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
jne 0x100195ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10019645
push 0xf01ff
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x100195d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1001963e
push esi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x100195ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10019637
mov dword [ebp - 0x28], 7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1001962c
cmp dword [ebp - 0x1c], 4
je 0x10019634
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
test eax, eax
jg 0x100195f5
jmp 0x10019634
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov edi, dword [ebp - 0x24]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x1001a2b5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
test edx, edx
je 0x1001a3aa
mov esi, dword [ebp + 8]
test esi, esi
jle 0x1001a3aa
or ecx, 0xffffffff
cmp esi, 8
jl 0x1001a388
push edi
mov edi, esi
shr edi, 3
imul eax, edi, 0xfffffff8
add esi, eax
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d2820]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d2820]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d2820]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d2820]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d2820]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d2820]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d2820]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d2820]
sub edi, 1
jne 0x1001a2e4
pop edi
test esi, esi
je 0x1001a3a4
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d2820]
inc edx
sub esi, 1
jne 0x1001a38c
not ecx
mov eax, ecx
jmp 0x1001a3ac
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001a3b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
push edi
push dword [esi]
call ebx
push dword [esi + 4]
mov dword [ebp - 8], eax
call ebx
mov ebx, eax
mov dword [ebp - 4], 0x10
xor esi, esi
push dword [esi + str.37k_IF__y_d]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + esi - 0x18], eax
add esi, 4
cmp esi, 0x10
jl 0x1001a3d9
mov edi, dword [ebp - 8]
xor edx, edx
mov ecx, ebx
lea edx, [edx - 0x61c88647]
shl ecx, 4
mov eax, ebx
add ecx, dword [ebp - 0x18]
shr eax, 5
add eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add ebx, ecx
sub dword [ebp - 4], 1
jne 0x1001a3f6
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
mov esi, dword [ebp + 8]
push ebx
mov dword [esi], eax
call edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001a44f
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
push dword [esi]
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call edi
mov dword [ebp - 4], eax
xor esi, esi
mov dword [ebp - 8], 0x10
push dword [esi + str.37k_IF__y_d]
call edi
mov dword [ebp + esi - 0x1c], eax
add esi, 4
cmp esi, 0x10
jl 0x1001a478
mov ebx, dword [ebp - 0xc]
mov esi, 0xe3779b90
mov edx, dword [ebp - 4]
mov ecx, ebx
mov eax, ebx
shr ecx, 5
add ecx, dword [ebp - 0x10]
shl eax, 4
add eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [esi + ebx]
xor ecx, eax
sub edx, ecx
mov ecx, edx
mov eax, edx
shl ecx, 4
add ecx, dword [ebp - 0x1c]
shr eax, 5
add eax, dword [ebp - 0x18]
xor ecx, eax
lea eax, [esi + edx]
xor ecx, eax
lea esi, [esi + 0x61c88647]
sub ebx, ecx
sub dword [ebp - 8], 1
jne 0x1001a497
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
mov dword [ebp - 4], edx
call edi
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
push eax
call edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret