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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push 1
push ebx
push 0x1002aa8
push 0x80000002
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10106b3
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push 0x1002a70
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10106b3
cmp dword [ebp - 0xc], 4
jbe 0x10106b3
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
pop ebx
je 0x10106c2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
leave
ret

Function at 0x101088a
Capabilities:
Shutdown system

Disassembly:
mov eax, 0x1027d07
call fcn.01022df8
sub esp, 0x18
push ebx
push esi
push edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push 0x28
mov ebx, ecx
mov dword [ebp - 0x10], esi
call dword [0x1001174]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10108e3
push 0x1e1
push 0x1002ba0
call fcn.0100c9d4
call dword [fcn.010010e4]
push eax
push 0x1002d94
jmp 0x10109b2
lea eax, [ebp - 0x20]
push eax
push 0x1002d6c
push esi
mov dword [ebp - 0x24], 1
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1010915
push 0x1f1
push 0x1002ba0
call fcn.0100c9d4
call dword [fcn.010010e4]
jmp 0x101094a
push esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edi, dword [fcn.010010e4]
call edi
test eax, eax
je 0x1010952
push 0x202
push 0x1002ba0
call fcn.0100c9d4
call edi
push eax
push 0x1002d48
jmp 0x10109b2
mov ecx, dword [ebx + 0xc4]
push 0x4ea4
lea eax, [ebp - 0x14]
push eax
call fcn.0100cd2b
push 0x80020004
push 1
push esi
push 0x1e
push esi
mov ecx, eax
mov dword [ebp - 4], esi
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
inc bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x10109b9
push 0x216
push 0x1002ba0
call fcn.0100c9d4
call edi
push eax
push 0x1002d24
call fcn.0100cb4a
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [fcn.0100116c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10109d6
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x102e77c]
push esi
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
xor esi, esi
push esi
call dword [0x1001174]
push eax
call fcn.01023208
test eax, eax
jbe 0x1010aa8
push edi
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x25c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x21c], esi
lea edi, [ebp - 0x218]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x260]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x260], 0x44
mov dword [ebp - 0x234], 1
mov word [ebp - 0x230], 5
call dword [0x10010bc]
test eax, eax
pop edi
je 0x1010a86
push dword [ebp - 0x21c]
mov esi, dword [fcn.0100116c]
call esi
push dword [ebp - 0x218]
call esi
jmp 0x1010aa8
push 0x250
push 0x1002ba0
call fcn.0100c9d4
call dword [fcn.010010e4]
push eax
push 0x1002db4
call fcn.0100cb2d
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop esi
call fcn.0102222e
leave
ret

Function at 0x101179a
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x102e77c]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
xor esi, esi
push eax
inc esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x101180c
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call sub.ADVAPI32.dll_CheckTokenMembership
test eax, eax
je 0x1011803
cmp dword [ebp - 0x14], ebx
je 0x1011803
xor esi, esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
call fcn.0102222e
leave
ret
Function at 0x1012789
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x1027fed
call fcn.01022df8
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x98c]
xor edi, edi
inc edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], 0x2a
mov eax, dword [esi + eax*8 + 0x560]
push 0x462
push 0x10033fc
mov dword [ebp - 0x14], 8
lea ebx, [esi + eax*8 + 0x520]
call fcn.0100c9d4
push dword [esi + 0x98c]
push 0x1003668
call fcn.0100cb2d
cmp dword [esi + 0x988], 2
pop ecx
pop ecx
jne 0x1012872
push dword [ebx + 4]
mov ecx, dword [esi + 0x64]
lea eax, [ebp - 0x1c]
push eax
call fcn.0100cd2b
and dword [ebp - 4], 0
push 0
mov ecx, eax
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
mov ecx, dword [esi + 0x64]
call fcn.0100d3f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x98c]
push dword [esi + eax*8 + 0x564]
mov ecx, dword [esi + 0x64]
lea eax, [ebp - 0x20]
push eax
call fcn.0100cd2b
push 0
mov ecx, eax
mov dword [ebp - 4], edi
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
mov ecx, dword [esi + 0x64]
call fcn.0100d454
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
mov edi, dword [fcn.010010b0]
call edi
mov ebx, dword [ebx]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push dword [esi + 0x98c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp dword [esi + 0x988], 2
mov ebx, eax
sete al
push eax
call edi
sub eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, 0x3e8
div ecx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [esi + 0x98c]
push ebx
call fcn.01010bb1
mov ecx, eax
call fcn.01025c03
push 0x47e
push 0x10033fc
call fcn.0100c9d4
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push ebx
push 0x100362c
call fcn.0100cb2d
xor edi, edi
add esp, 0x10
cmp ebx, edi
jge 0x1012901
push ebx
mov ecx, esi
call fcn.0101167c
push 8
jmp 0x1012990
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x64]
call fcn.0100d8ae
mov eax, dword [esi + 0x98c]
cmp eax, edi
jne 0x101292c
cmp dword [ebp - 0x10], edi
jne 0x1012929
mov dword [esi + 0x998], 3
push 2
jmp 0x1012990
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x10], edi
je 0x101297a
cmp dword [ebp - 0x10], 2
je 0x101297a
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x990], eax
lea eax, [eax + eax*2]
mov eax, dword [esi + eax*4 + 0x628]
test al, 1
je 0x1012960
and eax, 0x100
or eax, 0x400
shr eax, 8
mov dword [ebp - 0x14], eax
jmp 0x101298d
test al, 2
je 0x101296d
mov dword [ebp - 0x14], 3
jmp 0x101298d
test al, 4
je 0x101298d
mov dword [ebp - 0x14], 7
jmp 0x101298d
inc eax
xor ecx, ecx
cmp eax, 0x19
sete cl
mov dword [esi + 0x98c], eax
inc ecx
mov dword [ebp - 0x14], ecx
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0101161f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x1012adc
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x1028014
call fcn.01022df8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x990]
push edi
xor ebx, ebx
lea eax, [eax + eax*2]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0x2a
mov eax, dword [esi + eax*4 + 0x62c]
push 0x50f
push 0x10033fc
lea edi, [esi + eax*8 + 0x520]
call fcn.0100c9d4
push dword [esi + 0x990]
push 0x10037d4
call fcn.0100cb2d
mov eax, dword [esi + 0x990]
pop ecx
add eax, 0x84
pop ecx
mov ecx, dword [esi + 0x64]
lea eax, [eax + eax*2]
push dword [esi + eax*4]
lea eax, [ebp - 0x1c]
push eax
call fcn.0100cd2b
push ebx
mov ecx, eax
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x64]
push eax
push 0x4e8f
lea eax, [ebp - 0x18]
push eax
call fcn.0100cd2b
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push 3
push dword [esi + 0x64]
call fcn.0100d4b2
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
call dword [fcn.010010b0]
mov ecx, dword [edi]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x10]
push edx
push dword [esi + 0x990]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, eax
call fcn.01010bb1
mov ecx, eax
call fcn.01025eae
cmp eax, ebx
jne 0x1012be1
call dword [fcn.010010b0]
sub eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, 0x3e8
div ecx
push ebx
push eax
push dword [ebp - 0x10]
push dword [esi + 0x990]
push edi
call fcn.01010bb1
mov ecx, eax
call fcn.01025d84
push 0x527
push 0x10033fc
call fcn.0100c9d4
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push edi
push 0x1003798
call fcn.0100cb2d
add esp, 0x10
cmp edi, ebx
jge 0x1012c2c
push edi
jmp 0x1012c90
cmp dword [ebp - 0x10], 1
jne 0x1012c36
push 6
jmp 0x1012ca3
mov ecx, dword [esi + 0x64]
push 0x4e92
lea eax, [ebp - 0x20]
push eax
call fcn.0100cd2b
push ebx
mov ecx, eax
mov dword [ebp - 4], 2
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push 1
push dword [esi + 0x64]
call fcn.0100d4b2
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp - 0x14]
lea ecx, [eax + eax*2]
test byte [esi + ecx*4 + 0x628], 4
jne 0x1012c9b
push 0x8000ffff
mov ecx, esi
call fcn.0101167c
push 8
jmp 0x1012ca5
push 7
mov dword [esi + 0x990], eax
pop ecx
push ecx
mov ecx, esi
call fcn.0101161f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x1014208
Capabilities:
Send icmp echo request

Disassembly:
mov eax, 0x1028098
call fcn.01022df8
sub esp, 0x40
push ebx
push esi
push edi
push 0xd
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [ebp - 0x4c], ebx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
call fcn.01014134
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], bl
xor esi, esi
cmp esi, 3
jae 0x1014285
push 0xbb8
push 0x38
lea eax, [ebp - 0x4c]
push eax
push ebx
push 1
push 0x1003c6e
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.01023118
test eax, eax
je 0x10142be
cmp dword [ebp - 0x48], ebx
jne 0x10142be
lea eax, [esi + 1]
push eax
push 0x4ef2
push ebx
mov byte [ebp - 0xd], 1
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0x10
inc esi
cmp byte [ebp - 0xd], bl
je 0x1014237
cmp byte [ebp - 0xd], bl
jne 0x101429e
push 0x4ef3
push ebx
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01013e58
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
mov byte [ebp - 0xd], bl
jmp 0x101427f
Function at 0x1015260
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x102819f
call fcn.01022df8
sub esp, 0x30
mov eax, dword [0x102e77c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x1003a34
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x21], bl
call dword [0x100163c]
mov esi, eax
cmp esi, ebx
je 0x1015373
mov byte [edi], 1
mov dword [ebp - 0x3c], 0x1003c04
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov eax, dword [esi + 0xc]
cmp dword [eax], ebx
mov dword [ebp - 4], ebx
je 0x10152ff
mov dword [ebp - 0x28], ebx
xor eax, eax
lea edi, [ebp - 0x1e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x50
mov word [ebp - 0x20], 2
call dword [0x10015ec]
mov edi, dword [ebp - 0x28]
mov word [ebp - 0x1e], ax
mov eax, dword [esi + 0xc]
mov eax, dword [edi + eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x3c]
call fcn.01014860
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], ebx
mov dword [ebp - 0x28], edi
jne 0x10152b8
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.01014a53
cmp al, bl
mov byte [ebp - 0x21], al
lea ecx, [ebp - 0x28]
push 0x1003a34
je 0x1015333
call fcn.010229be
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x4efd
push ebx
jmp 0x101534c
call fcn.010229be
push ebx
mov ecx, eax
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x4efc
push 1
call fcn.0100dcc2
push eax
call fcn.0100d552
lea ecx, [ebp - 0x28]
add esp, 0x10
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.010146dd
jmp 0x10153bc
push 0x1003a34
lea ecx, [ebp - 0x28]
call fcn.010229be
mov esi, eax
mov dword [ebp - 4], 3
call dword [int.01001640]
push eax
push ebx
mov ecx, esi
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x4efb
push 1
call fcn.0100dcc2
push eax
call fcn.0100d7f3
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString
mov byte [edi], bl
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x21]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0102222e
leave
ret 4
Function at 0x10171d2
Capabilities:
Initialize winsock library

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x102e77c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0xe8
push 0x1004c98
mov esi, ecx
mov dword [ebp - 0x198], eax
call fcn.0100c9d4
push 0x1004df8
call fcn.0100cb2d
cmp dword [esi + 8], 0
pop ecx
jne 0x1017270
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [0x1001638]
test eax, eax
je 0x1017269
mov ebx, 0x3a9b
sub ebx, 0x3a99
mov dword [edi], 1
je 0x1017337
dec ebx
mov eax, dword [ebp - 0x198]
je 0x101732f
dec ebx
je 0x1017327
dec ebx
je 0x101731f
mov dword [eax], 0x16
jmp 0x101733d
mov dword [esi + 8], 1
push 1
call fcn.01017d48
mov ebx, eax
test ebx, ebx
je 0x1017284
push 0x4fe7
jmp 0x10172fa
push 0x4fe8
push 0
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0xc
push 0
push 1
call fcn.010185a1
mov ebx, eax
test ebx, ebx
je 0x10172af
push 0x4fe9
jmp 0x10172fa
push 0x4fea
push 0
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0xc
add esi, 0xc
push esi
call fcn.01016e02
mov ebx, eax
test ebx, ebx
je 0x10172fe
cmp ebx, 0x3a99
jne 0x10172f5
push 0x4ff9
push 2
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0xc
jmp 0x1017231
push 0x4feb
push 2
jmp 0x1017305
push 0x4fec
push 0
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0xc
test ebx, ebx
jne 0x1017231
and dword [edi], ebx
jmp 0x101733d
mov dword [eax], 6
jmp 0x101733d
mov dword [eax], 5
jmp 0x101733d
mov dword [eax], 7
jmp 0x101733d
mov dword [edi], 2
push 0x14d
push 0x1004c98
call fcn.0100c9d4
push 0x1004dd0
call fcn.0100cb2d
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.0102222e
leave
ret 8

Function at 0x10176cd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x101773e
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 0xc], ebx
push dword [ebp - 4]
call esi
mov edi, eax
cmp edi, ebx
jne 0x101773d
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
call sub.MFC42u.DLL_operatornew
cmp eax, ebx
pop ecx
mov dword [ebp + 8], eax
jne 0x1017754
push 8
pop edi
cmp dword [ebp + 8], ebx
je 0x101773d
push dword [ebp + 8]
call sub.MFC42u.DLL_operatordelete
pop ecx
pop esi
cmp dword [ebp - 4], ebx
je 0x101774c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 0x14
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call esi
mov edi, eax
cmp edi, ebx
jne 0x101772f
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
je 0x101777b
mov edi, 0x70c
jmp 0x101772f
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x101773d
Function at 0x10182f5
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0x102847f
call fcn.01022df8
sub esp, 0x2a4
mov eax, dword [0x102e77c]
push ebx
push esi
push edi
push 0x1001938
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x10], eax
xor ebx, ebx
call sub.MFC42u.DLL_CString::CString_3
xor eax, eax
lea edi, [ebp - 0x26c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x2b0]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2b0], 0x44
call dword [0x100115c]
test eax, eax
jne 0x1018369
call dword [fcn.010010e4]
jmp 0x1018437
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
push 0x1005308
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
push 0x10
pop ecx
lea eax, [ebp - 0x26c]
push eax
mov esi, 0x10052c8
lea edi, [ebp - 0x50]
lea eax, [ebp - 0x2b0]
push eax
rep movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x25c]
call dword [0x10010bc]
cmp eax, edi
jne 0x10183db
call dword [fcn.010010e4]
mov esi, eax
cmp esi, edi
mov ebx, esi
jle 0x1018433
and ebx, 0xffff
or ebx, 0x80070000
jmp 0x1018433
push 0x7530
push dword [ebp - 0x26c]
call dword [fcn.010010c4]
mov esi, eax
cmp esi, 0x102
jne 0x10183fd
mov ebx, 0x80070102
jmp 0x101841b
cmp esi, edi
je 0x101841b
call dword [fcn.010010e4]
mov esi, eax
cmp esi, edi
mov ebx, esi
jle 0x101841b
and ebx, 0xffff
or ebx, 0x80070000
push dword [ebp - 0x26c]
mov edi, dword [fcn.0100116c]
call edi
push dword [ebp - 0x268]
call edi
xor edi, edi
cmp ebx, edi
jne 0x101844e
push 0x4ff7
push 3
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0xc
jmp 0x1018464
push esi
push 0x4ff6
push 2
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ebx
pop ebx
call fcn.0102222e
leave
ret

Function at 0x1018491
Capabilities:
Create thread
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push esi
push edi
push 0x101820a
push esi
push esi
call dword [0x1001168]
mov ebx, eax
cmp ebx, esi
jne 0x10184d8
push 0x567
push 0x1004f98
call fcn.0100c9d4
call dword [fcn.010010e4]
push eax
push 0x1005358
call fcn.0100cb4a
pop ecx
pop ecx
jmp 0x1018529
push 0x1388
push ebx
call dword [fcn.010010c4]
test eax, eax
jne 0x10184f8
lea eax, [ebp + 8]
push eax
push ebx
call dword [0x1001164]
mov esi, dword [ebp + 8]
jmp 0x1018522
push 0x57c
push 0x1004f98
call fcn.0100c9d4
add edi, 0x74
push edi
push 0x1005324
call fcn.0100cb4a
pop ecx
pop ecx
push esi
push ebx
call dword [0x1001160]
or esi, 0xffffffff
push ebx
call dword [fcn.0100116c]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x101a133
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0xc]
push 0
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [esi + 8]
xor ecx, ecx
mov cx, word [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [esi]
mov dword [ebp - 0xc], 1
push ecx
push eax
call fcn.010231e4
push 0x7a
push 0x1005740
mov dword [esi + 0x10], eax
call fcn.0100c9d4
push dword [esi + 0x10]
mov edi, dword [esi]
push dword [esi + 0xc]
call dword [fcn.010015fc]
push eax
push dword [esi + 8]
movzx eax, word [esi + 4]
push eax
push edi
push 0x1005778
call fcn.0100cb2d
add esp, 0x18
cmp dword [ebp - 4], 0
mov byte [esi + 0x14], 1
je 0x101a1b4
push 1
push dword [ebp - 4]
call fcn.010231d8
mov eax, dword [esi + 0x10]
pop edi
pop esi
leave
ret
Function at 0x101a20f
Capabilities:
Query service status

Disassembly:
mov eax, 0x1028700
call fcn.01022df8
sub esp, 0x64
push ebx
push esi
push edi
xor ebx, ebx
inc ebx
push ebx
push 0
push 0
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x101a289
call dword [fcn.010010e4]
push eax
push 0xaa
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x1005740
call fcn.010229be
and dword [ebp - 4], esi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x1005808
call fcn.010229be
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.01019f4d
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.01018b3e
push 0x102a874
lea eax, [ebp - 0x24]
jmp 0x101a384
mov eax, dword [edi]
push 4
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x101a2fe
call dword [fcn.010010e4]
push esi
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x10057ec
lea ecx, [ebp + 8]
call fcn.010229be
push ebx
push 0xb2
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x1005740
mov dword [ebp - 4], 2
call fcn.010229be
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
lea ecx, [ebp + 8]
push ecx
push edi
push eax
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.01019f4d
mov byte [ebp - 4], 4
jmp 0x101a273
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x101a38a
call dword [fcn.010010e4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp + 8], eax
call esi
push ebx
call esi
push 0x10057c8
lea ecx, [ebp - 0x10]
call fcn.010229be
push dword [ebp + 8]
mov dword [ebp - 4], 5
push 0xba
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x1005740
call fcn.010229be
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp - 0x10]
push ecx
push edi
push eax
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.01019f4d
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.01018b3e
push 0x102a874
lea eax, [ebp - 0x34]
push eax
call sub.msvcrt.dll__CxxThrowException
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
mov eax, dword [ebp + 8]
push 7
pop ecx
lea esi, [ebp - 0x70]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4