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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f14c3
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
cmovae eax, dword [ebp + 0xc]
push eax
push str.SYSTEMCurrentControlSet_serviceseventlog
lea eax, [ebp - 0x834]
push 0x10103040
push eax
call fcn.10039f20
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x838]
cmp dword [ebp - 0x820], 8
lea eax, [ebp - 0x834]
push ecx
cmovae eax, dword [ebp - 0x834]
push 0x20019
push 0
push eax
push 0x80000002
mov dword [ebp - 0x838], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002ddb6
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegOpenKeyEx_fail_lasterror:0x_x_ret__0x_x
push 1
push 0x28
push 0x10103078
push 0x101030b0
call fcn.100e13e0
add esp, 0x1c
xor bl, bl
jmp 0x1002de92
xor eax, eax
xor bl, bl
push 0x7fe
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x81c], 0x800
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x818], 1
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push str.EventMessageFile
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002de62
cmp word [ebp - 0x814], ax
jne 0x1002de34
xor ecx, ecx
lea eax, [ebp - 0x814]
push ecx
push eax
mov ecx, esi
call fcn.10001e10
mov bl, 1
jmp 0x1002de86
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002de40
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10001e10
mov bl, 1
jmp 0x1002de86
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegQueryValueEx_fail_lasterror:0x_x_ret__0x_x
push 1
push 0x37
push 0x10103134
push str.CEventProviderManager::QueryEventMessageFile
call fcn.100e13e0
add esp, 0x1c
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x820], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x1002deac
push dword [ebp - 0x834]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x820], 7
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x824], 0
mov word [ebp - 0x834], ax
jb 0x1002ded7
push dword [ebp + 0xc]
call esi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10032170
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x2c
mov esi, eax
lea eax, [ebp - 0x30]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x34], 0x30
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x10032160
mov dword [ebp - 0x20], esi
push eax
mov dword [ebp - 0xc], 0x10104adc
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x10032203
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10104af8
push 3
push 0x2f
push 0x10104b38
push 0x10104b84
call fcn.100e1770
add esp, 0x18
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
push 0
push esi
push 0
push 0
push 0x64
push 0x64
push 0x64
push 0x64
push 0xcf0000
push 0x10104b98
push 0x10104bb4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x10032260
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10104bd0
push 3
push 0x35
push 0x10104c10
push str.CreateWnd
call fcn.100e1770
add esp, 0x18
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
Function at 0x10035470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10035489
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100354c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100354c0
lea ebx, [ebx]
cmp esi, edx
jae 0x100354c4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x100354b0
cmp esi, edx
jb 0x100354cb
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1003acc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2328
mov eax, dword fs:[0]
push eax
push ebx
mov eax, dword [0x1012d034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.1003ad30
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
cmp dword [ebp + 0x1c], 8
jb 0x1003ad1b
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10040680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [edi], 0
cmp dword [0x1012dce8], 0
je 0x100406d7
mov eax, dword [0x101318a0]
test eax, eax
je 0x100406b0
push eax
call dword [0x1012dd40]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.1003dd20
mov eax, dword [0x101318a0]
test eax, eax
je 0x100406d2
push eax
call dword [0x1012dd48]
mov esi, dword [ebp - 4]
jmp 0x100406e1
mov esi, dword [ebp - 4]
jmp 0x100406e4
push 0x14
call dword [0x1012dd10]
mov esi, eax
add esp, 4
test esi, esi
jne 0x100406f2
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x1012dcec], 0
mov ebx, dword [ebp + 8]
je 0x1004073d
mov eax, dword [0x1012ddf0]
test eax, eax
je 0x10040715
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x1004073d
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x10040650
push 0
push 0
mov dword [esi + 0xc], ebx
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x1004074b
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x10040764
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100616b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
mov ecx, ebx
call fcn.10054430
mov edi, dword [ebx + 0x18]
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], eax
movsx eax, byte [ebx + 0x44]
mov dword [ebp - 0x14], esi
mov esi, dword [ebx + 0x1c]
mov eax, dword [ebx + eax*4 + 0x78]
mov ecx, dword [eax + 0x3c]
movzx eax, word [ebx + 0x20]
sub ecx, edi
cmp eax, ecx
cmovb ecx, eax
cmp esi, ecx
ja 0x10061701
mov eax, 0x1010
mov dword [ebp - 0x24], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x28], esi
jmp 0x10061720
lea eax, [ebp - 0x34]
xor edx, edx
push eax
push esi
mov ecx, ebx
call fcn.1005c610
add esp, 8
test eax, eax
jne 0x100617e1
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov al, byte [edi]
cmp al, 0x80
jae 0x1006172b
movzx ebx, al
jmp 0x10061738
lea edx, [ebp - 8]
mov ecx, edi
call fcn.10042070
mov ebx, dword [ebp - 8]
cmp ebx, 3
jb 0x100617a7
cmp ebx, esi
jg 0x100617a7
lea ecx, [edi - 1]
add ecx, ebx
mov al, byte [ecx]
cmp al, 0x80
jae 0x10061751
movzx edx, al
jmp 0x1006175c
lea edx, [ebp - 8]
call fcn.10042070
mov edx, dword [ebp - 8]
lea eax, [edx - 1]
cmp eax, 8
ja 0x100617a7
cmp edx, 7
je 0x100617a7
movzx ecx, byte [edx + 0x10107900]
lea eax, [ecx + ebx]
cmp esi, eax
jb 0x100617a7
sub esi, ecx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [edi + esi]
call fcn.100604d0
mov ecx, dword [ebp + 8]
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x34]
call fcn.1005bcf0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x2c], 0x2460
jne 0x100617b6
cmp dword [ebp - 0x1c], 0
je 0x100617be
lea ecx, [ebp - 0x34]
call fcn.1005bc50
push 0x1011b174
push 0x12800
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10040470
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007b730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ecx + 0x14]
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
jmp 0x1007b750
xor edi, edi
test eax, eax
jle 0x1007b7dd
lea ebx, [ebx]
mov ecx, edi
cmp edi, 2
jge 0x1007b76f
xor ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x1007b772
mov dword [ebp - 0xc], edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1007b826
mov bl, byte [esi]
mov edx, ecx
mov ecx, dword [ebp - 8]
add edx, edx
mov eax, esi
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*8]
movzx ecx, bl
movzx esi, byte [ecx + 0x101069e0]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x101069e0]
sub esi, ecx
jne 0x1007b7d4
sub edx, eax
mov dword [ebp - 0x14], edx
jmp 0x1007b7b0
test bl, bl
je 0x1007b81f
movzx ecx, byte [edx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x101069e0]
mov bl, byte [eax]
movzx ecx, bl
movzx esi, byte [ecx + 0x101069e0]
sub esi, edx
mov edx, dword [ebp - 0x14]
je 0x1007b7b0
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x1007b760
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x101069e0]
sub eax, 0x73
jne 0x1007b816
mov esi, str.sqlite_master
sub esi, ebx
test dl, dl
je 0x1007b853
movzx eax, byte [esi + ebx + 1]
inc ebx
movzx ecx, byte [eax + 0x101069e0]
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x101069e0]
sub eax, ecx
je 0x1007b7f5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x1007b7d4
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
add ecx, ecx
mov edx, ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.10042990
add esp, 4
test eax, eax
je 0x1007b7d7
mov eax, dword [eax + 8]
test eax, eax
jne 0x1007b818
jmp 0x1007b7d7
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x10]
test edi, edi
jne 0x1007b869
neg edx
sbb edx, edx
jmp 0x1007b8b3
test edx, edx
je 0x1007b816
movzx eax, byte [edx]
mov esi, edi
mov bl, byte [edi]
movzx ecx, byte [eax + 0x101069e0]
movzx eax, bl
movzx eax, byte [eax + 0x101069e0]
sub eax, ecx
jne 0x1007b8b1
sub edx, edi
jmp 0x1007b890
test bl, bl
je 0x1007b8b1
movzx eax, byte [edx + esi + 1]
inc esi
movzx ecx, byte [eax + 0x101069e0]
mov bl, byte [esi]
movzx eax, bl
movzx eax, byte [eax + 0x101069e0]
sub eax, ecx
je 0x1007b890
mov edx, eax
test edx, edx
jne 0x1007b816
mov eax, dword [ebp - 0x10]
mov ebx, str.sqlite_temp_master
mov dword [ebp - 4], ebx
jmp 0x1007b750
Function at 0x1007ba80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov dword [ebp - 0xc], edx
xor eax, eax
mov edx, dword [ecx + 0x14]
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edx
test edx, edx
jle 0x1007bb3b
mov edx, dword [ecx + 0x10]
push ebx
mov dword [ebp - 0x14], edx
push esi
mov eax, edi
cmp edi, 2
jge 0x1007bab1
xor eax, 1
shl eax, 4
mov ecx, dword [eax + edx + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1007bb16
mov ebx, dword [eax + edx]
mov esi, ecx
mov al, byte [ecx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x101069e0]
movzx ecx, al
movzx ecx, byte [ecx + 0x101069e0]
sub ecx, edx
jne 0x1007bb04
sub ebx, esi
test al, al
je 0x1007bb12
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x101069e0]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x101069e0]
sub ecx, edx
je 0x1007bae3
mov eax, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0x10]
jge 0x1007bb39
mov edx, dword [ebp - 0x14]
jmp 0x1007baa7
test ecx, ecx
jne 0x1007bb04
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
add ecx, 0x18
push eax
call fcn.10042990
add esp, 4
test eax, eax
je 0x1007bb40
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
je 0x1007bb07
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x1007bb07
Function at 0x100b6ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
mov dword [ebp - 8], edx
test edi, edi
jne 0x100b6bb7
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 2
push 0
push edi
call dword [sym.imp.MSVCR120.dll_fseek]
push edi
call dword [sym.imp.MSVCR120.dll_ftell]
push edi
mov ebx, eax
call dword [sym.imp.MSVCR120.dll_rewind]
add esp, 0x14
test ebx, ebx
jne 0x100b6bec
push edi
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
lea esi, [ebx + 1]
push esi
call dword [sym.imp.MSVCR120.dll_malloc]
push esi
push 0
push eax
mov dword [ebp - 4], eax
call sub.MSVCR120.dll_memset
mov esi, dword [ebp - 4]
push edi
push ebx
push 1
push esi
call dword [sym.imp.MSVCR120.dll_fread]
push edi
call dword [sym.imp.MSVCR120.dll_fclose]
mov eax, dword [ebp - 8]
add esp, 0x24
test eax, eax
je 0x100b6c24
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100b6f80
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f24c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [ecx + 4]
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xb
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010a0f0
mov word [ecx], ax
call fcn.10001e10
lea ecx, [esp + 0x30]
call fcn.100bcbd0
add esp, 0x18
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
call fcn.100bc9f0
mov dword [esp + 0x28], 0xffffffff
mov bl, al
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100b7026
or edi, 0xffffffff
lea edx, [esi + 4]
mov ecx, edi
lock xadd dword [edx], ecx
jne 0x100b7026
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100b7026
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b7930
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2572
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x1012d034]
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 edi, ecx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, eax
push eax
push ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xa0], 1
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x98], 0x67452301
mov dword [ebp - 0x94], 0xefcdab89
mov dword [ebp - 0x90], 0x98badcfe
mov dword [ebp - 0x8c], 0x10325476
call fcn.100c0c30
lea ecx, [ebp - 0x98]
call fcn.100c0d30
lea ecx, [ebp - 0x98]
call fcn.100c0e40
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
xor esi, esi
mov dword [ebp - 0x9c], eax
movzx eax, byte [esi + eax]
push eax
lea eax, [ebp - 0x28]
push 0x1010a178
push eax
call fcn.10039df0
add esp, 0xc
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.10007bd0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
jb 0x100b7a4e
push dword [ebp - 0x28]
call ebx
add esp, 4
mov eax, dword [ebp - 0x9c]
inc esi
cmp esi, 0x10
jl 0x100b7a13
cmp dword [ebp + 0x1c], 8
jb 0x100b7a68
push dword [ebp + 8]
call ebx
add esp, 4
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.100ebd7b
mov esp, ebp
pop ebp
ret
Function at 0x100b87e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2766
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x41
push str.C:Program_Files__x86_Windows_Assistant_AppMVConfiguration.ini
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
call fcn.100080d0
push 0x3ff
lea eax, [ebp - 0x40f]
mov dword [ebp - 4], 0
push 0
push eax
mov byte [ebp - 0x410], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 0x10
cmovae eax, dword [ebp - 0x440]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0
push str.UniquePC
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x410], 0
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
jne 0x100b88c4
xor ecx, ecx
jmp 0x100b88d9
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b88d0
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.100080d0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea eax, [ebp - 0x428]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10007d40
mov ecx, edi
call fcn.1003a1d0
add esp, 0x18
cmp dword [ebp - 0x414], 0x10
jb 0x100b8938
push dword [ebp - 0x428]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x42c], 0x10
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
jb 0x100b896b
push dword [ebp - 0x440]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
Function at 0x100b9200
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100b937f
push 0x228
lea eax, [ebp - 0x24c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x250], 0x22c
lea eax, [ebp - 0x250]
mov dword [ebp - 0x254], 0xffffffff
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100b9319
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jmp 0x100b9280
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [ebp - 0x22c], ax
je 0x100b92b5
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100b92a6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001e10
push 0xd
push 0
push 0x1010a4e0
lea ecx, [ebp - 0x1c]
call fcn.10006d30
cmp eax, 0xffffffff
jne 0x100b92ff
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp dword [ebp - 8], 8
mov esi, eax
jb 0x100b92f9
push dword [ebp - 0x1c]
call ebx
add esp, 4
test esi, esi
jne 0x100b9280
jmp 0x100b9319
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x254], eax
jb 0x100b9319
push dword [ebp - 0x1c]
call ebx
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x254]
cmp esi, 0xffffffff
jne 0x100b935a
push str.find_service_process_fail_
push 1
push 0x1ef
push 0x1010a518
push 0x1010a538
call fcn.100e13e0
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
push str.kill_service_process_
push 1
push 0x1f2
push 0x1010a564
push str.KillServiceProcess
call fcn.100e13e0
add esp, 0x14
mov ecx, esi
call fcn.100d5210
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
Function at 0x100bb440
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f24c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [ecx + 4]
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xc
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010a888
mov word [ecx], ax
call fcn.10001e10
lea ecx, [esp + 0x30]
call fcn.100bcbd0
add esp, 0x18
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
call fcn.100bc9f0
mov dword [esp + 0x28], 0xffffffff
mov bl, al
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100bb4e6
or edi, 0xffffffff
lea edx, [esi + 4]
mov ecx, edi
lock xadd dword [edx], ecx
jne 0x100bb4e6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100bb4e6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret