joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101e8160
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10253129
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push 0xd8
mov dword [esp + 0x18], eax
push str..AutoString.cpp
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push eax
call fcn.100556a0
add esp, 0xc
push 0x103b7524
lea ecx, [esp + 0xc]
call fcn.10003eb0
mov dword [esp + 0x30], 2
movzx edx, word [esp + 0x26]
movzx eax, word [esp + 0x24]
movzx ecx, word [esp + 0x22]
push edx
movzx edx, word [esp + 0x24]
push eax
movzx eax, word [esp + 0x26]
push ecx
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x28]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str._04d__02d__02dT_02d:_02d:_02d._03d
push eax
call fcn.10055210
mov esi, dword [esp + 0x5c]
add esp, 0x24
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.100023b0
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
lea ecx, [esp + 8]
call fcn.10004720
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x101e8250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10253179
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0x103b7524
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.10003eb0
mov dword [esp + 0x18], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x10]
push str._I64u
push edx
call fcn.10055210
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.100023b0
mov dword [esp + 0xc], 1
mov byte [esp + 0x18], 0
lea ecx, [esp + 8]
call fcn.10004720
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x101e82f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10253179
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0x103b7524
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.10003eb0
mov dword [esp + 0x18], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x10]
push str._I64i
push edx
call fcn.10055210
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.100023b0
mov dword [esp + 0xc], 1
mov byte [esp + 0x18], 0
lea ecx, [esp + 8]
call fcn.10004720
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x101e8390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x102531c9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1037c990]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
push 0x103b7524
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0
call fcn.10003eb0
mov dword [esp + 0x38], 2
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x101e84e3
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push str._s
push ecx
call fcn.10055210
add esp, 0xc
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov edx, dword [esp + 0xc]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x101e8465
push esi
lea ecx, [esp + 0x10]
call fcn.100042e0
mov edx, dword [esp + 0xc]
lea eax, [esi + 1]
push eax
push edx
call fcn.102315e1
add esp, 8
test esi, esi
jl 0x101e84cd
mov eax, dword [esp + 0xc]
cmp esi, dword [eax - 8]
jg 0x101e84cd
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0xc]
xor ecx, ecx
lea eax, [esp + 0xc]
mov word [edx + esi*2], cx
push eax
mov ecx, edi
call fcn.100023b0
mov dword [esp + 0x14], 1
mov byte [esp + 0x38], 0
lea ecx, [esp + 0xc]
call fcn.10004720
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1022e78c
add esp, 0x30
ret
push 0
push 0x359
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.100048f0
push 0
cmp eax, 0xe
jne 0x101e84fe
push 0x1f2
push str..AutoString.cpp
push 0x8007000e
call fcn.100048f0
push 0x1f6
push str..AutoString.cpp
push eax
call fcn.100048f0
int3

Function at 0x101e8920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10253221
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
movzx ecx, byte [esp + 0x30]
neg ecx
mov dword [esp + 8], 0
mov eax, 0xb
sbb ecx, ecx
mov word [esp + 0xc], ax
mov word [esp + 0x14], cx
mov dword [esp + 0x24], 1
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
push esi
call fcn.100686e0
add esp, 8
mov dword [esp + 8], 1
mov byte [esp + 0x24], 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
Function at 0x101e8e00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x102532e8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1037c990]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x38]
mov esi, ecx
call fcn.10003840
mov edi, dword [eax]
mov ecx, esi
call fcn.100585c0
cmp eax, 0x7fffffff
ja 0x101e8f09
cmp eax, 2
jle 0x101e8e69
cmp word [edi], 0x7b
jne 0x101e8e69
cmp word [edi + eax*2 - 2], 0x7d
jne 0x101e8e69
add edi, 2
add eax, 0xfffffffe
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.100037e0
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.RPCRT4.dll_UuidFromStringW]
test eax, eax
jne 0x101e8edc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx], edx
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.10004720
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1022e78c
add esp, 0x24
ret 4
push 0
cmp eax, 0x6a9
jne 0x101e8ef9
push 0x1da
push str..AutoString.cpp
push 0x80070057
call fcn.100048f0
push 0x1de
push str..AutoString.cpp
push eax
call fcn.100048f0
push 0
push 0x29f
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVI2Defns.h
push 0x80070057
call fcn.100048f0
int3

Function at 0x101e99c0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
jne 0x101e99de
push eax
push 0x2f5
push str..NVProcess.cpp
push 0xe0e00000
call fcn.100048f0
mov ecx, dword [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x101e9a24
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 5
jne 0x101e9a12
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x101e9a12
pop edi
xor al, al
pop esi
ret 4
push 0
push 0x303
push str..NVProcess.cpp
push edi
call fcn.10054b00
mov al, 1
pop esi
ret 4
Function at 0x101ece80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10253e3f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 8]
call fcn.10002d80
xor edi, edi
mov dword [esp + 0x18], edi
lea ecx, [esi + 0xc]
call fcn.10002d80
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x10]
call fcn.10002d80
mov byte [esp + 0x18], 2
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call fcn.10002d80
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.10002d80
mov byte [esp + 0x18], 4
lea ecx, [esi + 0x3c]
call fcn.10002d80
mov byte [esp + 0x18], 5
lea ecx, [esi + 0x48]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.10002d80
mov byte [esp + 0x18], 6
lea ecx, [esi + 0x4c]
call fcn.10056ab0
mov byte [esp + 0x18], 7
lea ecx, [esi + 0x68]
call fcn.10056ab0
mov byte [esp + 0x18], 8
lea ecx, [esi + 0x84]
call fcn.10056ab0
mov byte [esp + 0x18], 9
lea ecx, [esi + 0xa0]
call fcn.10056ab0
mov byte [esp + 0x18], 0xa
lea ecx, [esi + 0xbc]
call fcn.10002d80
mov byte [esp + 0x18], 0xb
lea ecx, [esi + 0xc0]
call fcn.10002d80
mov byte [esp + 0x18], 0xc
lea ecx, [esi + 0xc4]
call fcn.10002d80
mov byte [esp + 0x18], 0xd
lea ecx, [esi + 0xc8]
call fcn.10002d80
mov byte [esp + 0x18], 0xe
lea ecx, [esi + 0xdc]
call fcn.10002d80
mov byte [esp + 0x18], 0xf
lea ecx, [esi + 0xe0]
call fcn.10002d80
mov byte [esp + 0x18], 0x10
lea ecx, [esi + 0xe4]
call fcn.10002d80
mov byte [esp + 0x18], 0x11
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], 0xa
mov byte [esp + 0x18], 0x12
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.101eb560
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x101ed120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10253ef1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.10055ee0
mov dword [esp + 0x20], 1
lea ecx, [esp + 0xc]
push ecx
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.10055f50
mov dword [esp + 8], 1
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xc]
call fcn.100560b0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 8
Function at 0x101ed790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10254050
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x14]
call fcn.100023b0
mov dword [esp + 0x38], 0
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xc]
push edx
call fcn.101ed370
add esp, 0xc
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x10]
call fcn.10002d20
lea ecx, [esp + 4]
call fcn.101e2510
test al, al
je 0x101ed803
push 1
lea ecx, [esp + 8]
call fcn.101e7950
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 4]
call fcn.100560b0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
add esp, 0x38
ret
Function at 0x101ee630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10254376
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
lea edi, [ebx + 4]
mov ecx, edi
mov dword [ebx], vtable.CAliasStringResolver.0
call fcn.10002d80
mov dword [esp + 0x24], 0
lea ebp, [ebx + 8]
mov ecx, ebp
call fcn.10002d80
mov byte [esp + 0x24], 1
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x101ee709
push 0x102acaec
push eax
call fcn.10230b48
add esp, 8
test eax, eax
je 0x101ee709
sub eax, dword [esi]
sar eax, 1
mov ebx, eax
test ebx, ebx
jle 0x101ee705
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.10094bb0
mov byte [esp + 0x24], 2
push eax
mov ecx, edi
call fcn.100036b0
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x2c]
call fcn.10004720
add ebx, 2
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.100035a0
mov byte [esp + 0x24], 3
push eax
mov ecx, ebp
call fcn.100036b0
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x2c]
call fcn.10004720
mov ebx, dword [esp + 0x14]
jmp 0x101ee762
mov ebx, dword [esp + 0x14]
push esi
mov ecx, edi
call fcn.100036b0
push esi
lea edx, [esp + 0x1c]
push 0x102b2f1c
push edx
call fcn.10002820
mov byte [esp + 0x30], 4
push 0x102b2f14
push eax
lea eax, [esp + 0x40]
push eax
call fcn.100029d0
add esp, 0x18
mov byte [esp + 0x24], 5
push eax
mov ecx, ebp
call fcn.100036b0
mov byte [esp + 0x24], 4
lea ecx, [esp + 0x2c]
call fcn.10004720
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x18]
call fcn.10004720
mov cx, word [esp + 0x30]
mov word [ebx + 0xc], cx
mov dword [esp + 0x24], 0xffffffff
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8

Function at 0x101ef910
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x10254710
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x1c], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x18], 1
mov dword [esp + 0x24], ebx
or edi, 0xffffffff
cmp dword [esi + 0x50], edi
jne 0x101ef9aa
mov eax, dword [esi + 0x4c]
push ebx
push 0x4000100
push 3
push ebx
push 7
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], 1
cmp eax, edi
jne 0x101ef9a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x101ef98d
cmp eax, 3
jne 0x101ef99c
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x10]
call fcn.101a5820
jmp 0x101ef9aa
push ebx
push ebx
call fcn.100563c0
mov dword [esp + 0x10], edi
mov dword [esi + 0x50], eax
mov dword [esp + 0x24], edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x18], bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x101ef9d0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10254740
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
xor ebx, ebx
mov byte [ebp - 0x1c], bl
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, 1
mov byte [ebp - 0x1c], al
mov dword [ebp - 4], ebx
cmp byte [ebp + 8], bl
jne 0x101efa67
cmp dword [esi + 0x50], 0xffffffff
jne 0x101efa67
mov ecx, dword [esi + 0x30]
cmp dword [ecx - 0xc], ebx
je 0x101efa67
mov byte [ebp - 4], al
mov ecx, esi
call fcn.101ef910
mov dword [ebp - 4], ebx
jmp 0x101efa67
mov eax, dword [esi + 0x50]
or edi, 0xffffffff
cmp eax, edi
je 0x101efaaa
cmp byte [ebp + 8], bl
je 0x101efa8b
push ebx
push 0xa0
push str..TempFilePath.cpp
push 0xe0e00000
call fcn.100048f0
push 0xa4
push str..TempFilePath.cpp
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call fcn.100556a0
add esp, 0xc
mov dword [esi + 0x50], edi
jmp 0x101efad2
mov eax, dword [esi + 0x30]
cmp dword [eax - 0xc], ebx
je 0x101efad2
cmp byte [ebp + 8], bl
jne 0x101efac5
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x101efad2
mov eax, dword [esi + 0x4c]
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x3c]
call fcn.10056ab0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
add eax, 0x18
push eax
call fcn.100036b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
call fcn.10056b10
mov dword [ebp - 4], edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x1c], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x101f6ea0
Capabilities:
Delete service

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x101f6ebf
push eax
push 0xd3
push str..Service.cpp
push 0xe0e00000
call fcn.100048f0
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x101f6ef7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x430
je 0x101f6f32
test eax, eax
jle 0x101f6ee5
and eax, 0xffff
or eax, 0x80070000
push 0
push 0xe2
push str..Service.cpp
push eax
call fcn.100048f0
cmp dword [esi + 8], 0
je 0x101f6f32
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x195
mov edi, eax
mov eax, dword [esi + 8]
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincHandles.h
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call fcn.100556a0
add esp, 0xc
push edi
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
ret

Function at 0x101f6f40
Capabilities:
Query service status

Disassembly:
mov ecx, dword [ecx + 8]
xor eax, eax
sub esp, 0x28
cmp ecx, eax
jne 0x101f6f61
push eax
push 0xf3
push str..Service.cpp
push 0xe0e00000
call fcn.100048f0
push 0xf9
push str..Service.cpp
lea edx, [esp + 8]
push edx
push 0x24
lea edx, [esp + 0x14]
push edx
push eax
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push eax
call fcn.100556a0
mov eax, dword [esp + 0x14]
add esp, 0xc
add esp, 0x28
ret

Function at 0x101f7040
Capabilities:
Modify service

Disassembly:
mov eax, dword [ecx + 8]
test eax, eax
jne 0x101f705c
push eax
push 0x1f5
push str..Service.cpp
push 0xe0e00000
call fcn.100048f0
mov ecx, dword [esp + 4]
push 0x202
push str..Service.cpp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push eax
call fcn.100556a0
add esp, 0xc
ret 4

Function at 0x101f7c70
Capabilities:
Modify service

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x101f7c8f
push 0
push 0x174
push str..Service.cpp
push 0xe0e00000
call fcn.100048f0
push edi
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.100585c0
test eax, eax
jne 0x101f7cb4
push eax
push 0x175
push str..Service.cpp
push 0x80070057
call fcn.100048f0
mov ecx, edi
call fcn.10002aa0
mov ecx, dword [esi + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x101f7cfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x101f7ce8
and eax, 0xffff
or eax, 0x80070000
push 0
push 0x17f
push str..Service.cpp
push eax
call fcn.100048f0
pop edi
pop esi
ret 4
Function at 0x101f7d00
Capabilities:
Modify service

Disassembly:
push 0xffffffffffffffff
push 0x10255630
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 8], 0
setne al
test al, al
jne 0x101f7d48
push 0
push 0x8d
push str..Service.cpp
push 0xe0e00000
call fcn.100048f0
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.101dc6d0
test al, al
jne 0x101f7d6d
push 0
push 0x8f
push str..Service.cpp
push 0x80070057
call fcn.100048f0
mov ecx, esi
call fcn.101dc650
shr eax, 4
not al
and al, 1
jne 0x101f7d93
push 0
push 0x90
push str..Service.cpp
push 0x80070057
call fcn.100048f0
push 0x103b7524
lea ecx, [esp + 0x18]
call fcn.10003eb0
mov dword [esp + 0x20], 1
push 1
push 0x102b2628
lea ecx, [esp + 0x1c]
call fcn.100043a0
mov edx, dword [esi + 0x18]
test edx, edx
jne 0x101f7dc4
xor eax, eax
jmp 0x101f7ddf
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x101f7dd0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.10054e60
push 1
push 0x102b2628
lea ecx, [esp + 0x1c]
call fcn.10054e60
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.10003a90
test al, al
je 0x101f7e14
mov ecx, esi
call fcn.10003840
mov ebx, dword [eax]
jmp 0x101f7e16
xor ebx, ebx
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.10003a90
test al, al
je 0x101f7e30
mov ecx, esi
call fcn.10003840
mov esi, dword [eax]
jmp 0x101f7e32
xor esi, esi
mov edi, dword [esp + 0x38]
mov ecx, edi
call fcn.10003a90
test al, al
je 0x101f7e4c
mov ecx, edi
call fcn.10003840
mov eax, dword [eax]
jmp 0x101f7e4e
xor eax, eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
mov eax, dword [esp + 0x20]
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x101f7e7e
call fcn.101f75b0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10004720
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x1c