joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10103b00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014ee16
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x1018d0d0]
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 dword [ebp - 0x850], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x858], eax
mov eax, dword [ebp + 0xc]
push 0x10179110
push eax
mov dword [ebp - 0x854], ecx
call fcn.1011ff12
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10103d60
push 2
push 0
push ebx
call fcn.10120339
push ebx
call fcn.1012074c
push 0
push 0
push ebx
mov edi, eax
call fcn.10120339
add esp, 0x1c
lea esi, [ebp - 0x81c]
cmp edi, 0x800
jb 0x10103b9c
lea eax, [edi + 1]
push eax
call fcn.101160b2
add esp, 4
mov esi, eax
push ebx
push edi
push 1
push esi
call fcn.101201fe
add esp, 0x10
test eax, eax
je 0x10103d3d
cmp edi, 8
jle 0x10103d3d
xor eax, eax
mov byte [ebp - 0x1c], 0
push 8
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.10120d80
lea ecx, [ebp - 0x1c]
add esp, 0xc
lea edx, [ecx + 1]
jmp 0x10103be0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10103be0
sub ecx, edx
je 0x10103c14
push dword [ebp - 0x854]
mov ecx, dword [ebp - 0x850]
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [edi - 8]
push eax
lea eax, [esi + 8]
push eax
push dword [ebp - 0x858]
call fcn.101038a0
mov edi, eax
jmp 0x10103c17
or edi, 0xffffffff
mov ecx, dword [ebp - 0x850]
lea eax, [ebp - 0x1c]
push eax
call fcn.101043d0
test al, al
jne 0x10103d40
push 0
push 0x10178415
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x820], 0xf
mov dword [ebp - 0x824], 0
mov byte [ebp - 0x834], al
call fcn.10002130
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x838], 0xf
mov dword [ebp - 0x83c], 0
mov byte [ebp - 0x84c], 0
jne 0x10103c86
xor ecx, ecx
jmp 0x10103c99
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10103c90
sub ecx, edx
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x84c]
call fcn.10002130
mov ecx, dword [ebp - 0x850]
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x84c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x834]
push eax
push eax
push 5
call fcn.10105c50
cmp dword [ebp - 0x838], 0x10
jb 0x10103ce7
push dword [ebp - 0x84c]
call fcn.1011a1ea
add esp, 4
cmp dword [ebp - 0x820], 0x10
mov dword [ebp - 0x838], 0xf
mov dword [ebp - 0x83c], 0
mov byte [ebp - 0x84c], 0
mov dword [ebp - 4], 0xffffffff
jb 0x10103d20
push dword [ebp - 0x834]
call fcn.1011a1ea
add esp, 4
mov dword [ebp - 0x820], 0xf
mov dword [ebp - 0x824], 0
mov byte [ebp - 0x834], 0
jmp 0x10103d40
or edi, 0xffffffff
push ebx
call fcn.1011d775
lea eax, [ebp - 0x81c]
add esp, 4
cmp esi, eax
je 0x10103d5c
push esi
call fcn.1011bfcc
add esp, 4
mov eax, edi
jmp 0x10103d63
or eax, 0xffffffff
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.1011a3e5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10105b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10105bdf
mov edx, dword [ebp + 8]
cmp edx, 1
jne 0x10105bbc
push eax
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [0x1018c998]
call fcn.101038a0
pop ebp
ret 0x10
test edx, edx
jne 0x10105bd8
push eax
push edx
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [0x1018c99c]
call fcn.101038a0
pop ebp
ret 0x10
or eax, 0xffffffff
pop ebp
ret 0x10
cmp byte [ecx + 0x9a], 0
je 0x10105bf5
mov dword [ebp + 0x14], 0
pop ebp
jmp fcn.10104730
push esi
mov esi, dword [ebp + 0x10]
push edi
lea eax, [esi + 0x10]
push eax
call fcn.1011bc79
mov ecx, dword [ebp + 8]
mov edi, eax
push esi
push dword [ebp + 0xc]
mov dword [edi], ecx
lea ecx, [edi + 0xc]
push ecx
mov dword [edi + 4], 0
mov dword [edi + 8], esi
call fcn.1011b250
push 0
push 0
push edi
push 0x10104700
push 0
push 0
call fcn.1011d4dc
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x10106e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x10106e48
mov eax, dword [esi]
jmp 0x10106e4a
mov eax, esi
mov byte [eax], 0
lea eax, [ebp - 0x107]
push 0x103
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.1011a400
add esp, 0xc
mov dword [ebp - 0x114], 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 0x110], 1
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push str.svrid
push str.SoftwareClasses9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0Implemented_CategoriesA5F7140E_4311_4ef9_AABC_F55941B5EBE5
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x10106f33
cmp dword [ebp - 0x110], 1
jne 0x10106f33
cmp byte [ebp - 0x108], al
jne 0x10106ec5
xor ecx, ecx
jmp 0x10106ed9
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10106ed0
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.10002130
cmp dword [esi + 0x10], 0
jbe 0x10106f33
push 1
push 0
lea eax, [ebp - 0x10c]
mov byte [ebp - 0x10c], 0xa
push eax
mov ecx, esi
call fcn.10015e10
cmp eax, 0xffffffff
je 0x10106f1f
push 1
push eax
mov ecx, esi
call fcn.10002230
push esi
call fcn.10107e60
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x10106f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f1db
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x216]
push 0x206
push 0
push eax
call fcn.1011a400
add esp, 0xc
mov dword [ebp - 0x2a4], 0x208
xor eax, eax
mov dword [ebp - 0x2a0], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push str.firstinstalltime
push str.SOFTWAREliebao
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ax, word [ebp - 0x218]
test ax, ax
je 0x10106fee
cmp ax, 0x30
jne 0x1010703c
xor eax, eax
mov dword [ebp - 0x2a0], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2a4], 0x208
push eax
lea eax, [ebp - 0x2a0]
push eax
push str.firstinstalltime
push str.SoftwareKingsoftKBROWSER
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ax, word [ebp - 0x218]
test ax, ax
je 0x10107096
cmp ax, 0x30
je 0x10107096
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.10048c20
push dword [ebp - 0x29c]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.10018730
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x101070a4
push eax
call fcn.1011bc41
add esp, 4
jmp 0x101070a4
push 1
push 0x10179490
mov ecx, esi
call fcn.10002130
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x101070c0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101926d0]
test al, 1
jne 0x1010710d
or eax, 1
mov dword [0x101926cc], 7
mov dword [0x101926d0], eax
xor eax, eax
push 0x101514e0
mov dword [0x101926c8], 0
mov word [0x101926b8], ax
call fcn.1011a62e
add esp, 4
cmp dword [0x101926c8], 0
jne 0x101071e4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1011a400
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x101071e4
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.1011d097
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x210]
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x101071e4
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push 0x10167d30
push 0x104
push eax
call fcn.10016f90
add esp, 0x10
cmp word [ebp - 0x20c], 0
jne 0x101071ba
xor ecx, ecx
jmp 0x101071d2
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101071c3
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, 0x101926b8
call fcn.1000c2b0
mov ecx, dword [ebp - 4]
mov eax, 0x101926b8
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x10107200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f1db
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x216]
push 0x206
push 0
push eax
call fcn.1011a400
add esp, 0xc
mov dword [ebp - 0x2a4], 0x208
xor eax, eax
mov dword [ebp - 0x2a0], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push str.installtime
push str.SOFTWAREliebao
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ax, word [ebp - 0x218]
test ax, ax
je 0x1010729e
cmp ax, 0x30
jne 0x101072ec
xor eax, eax
mov dword [ebp - 0x2a0], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2a4], 0x208
push eax
lea eax, [ebp - 0x2a0]
push eax
push str.installtime
push str.SoftwareKingsoftKBROWSER
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ax, word [ebp - 0x218]
test ax, ax
je 0x10107346
cmp ax, 0x30
je 0x10107346
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.10048c20
push dword [ebp - 0x29c]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.10018730
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x10107354
push eax
call fcn.1011bc41
add esp, 4
jmp 0x10107354
push 1
push 0x10179490
mov ecx, esi
call fcn.10002130
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x10107370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f21b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.1011a400
add esp, 0xc
mov dword [ebp - 0x2a4], 0x208
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a0], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0x10152a08
push str.SOFTWAREliebao
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
jne 0x10107416
push 1
push 0x10179490
mov ecx, esi
call fcn.10002130
jmp 0x1010747c
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.10048c20
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 0
cmp byte [edx], 0
jne 0x1010744c
xor ecx, ecx
jmp 0x1010745a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107451
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.10002130
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x1010747c
push eax
call fcn.1011bc41
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret

Function at 0x101074a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f21b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.1011a400
add esp, 0xc
mov dword [ebp - 0x2a4], 0x208
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a0], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push str.spid
push str.SOFTWAREliebao
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
jne 0x10107546
push 1
push 0x10179490
mov ecx, esi
call fcn.10002130
jmp 0x101075ac
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.10048c20
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 0
cmp byte [edx], 0
jne 0x1010757c
xor ecx, ecx
jmp 0x1010758a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107581
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.10002130
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x101075ac
push eax
call fcn.1011bc41
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x10107d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f21b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.1011a400
add esp, 0xc
mov dword [ebp - 0x2a4], 0x208
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a0], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0x10167d4c
push str.SOFTWAREliebao
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
jne 0x10107dd6
push 1
push 0x10179490
mov ecx, esi
call fcn.10002130
jmp 0x10107e3c
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.10048c20
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 0
cmp byte [edx], 0
jne 0x10107e0c
xor ecx, ecx
jmp 0x10107e1a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107e11
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.10002130
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x10107e3c
push eax
call fcn.1011bc41
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret

Function at 0x10108b70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x5c]
push edi
mov edi, dword [ebp + 8]
push 0x58
push 0
push eax
call fcn.1011a400
push dword [ebp + 0x10]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
push esi
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.10108ac0
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.101082c0
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop esi
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret

Function at 0x10108bf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
sub eax, 0
je 0x10108c0a
dec eax
jne 0x10108c13
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.10108c20
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.10108cf0
pop ebp
ret
Function at 0x10108cf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 8
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x78]
call fcn.10125991
mov edi, eax
add esp, 0xc
mov esi, edi
test edi, edi
jle 0x10108d93
nop
cmp esi, 8
jge 0x10108d48
mov eax, 8
sub eax, edi
push eax
lea eax, [ebp - 0xc]
add eax, edi
push eax
push dword [ebx + 0x78]
call fcn.10125991
mov edi, eax
add esp, 0xc
test edi, edi
jle 0x10108d48
add esi, edi
jmp 0x10108d20
test esi, esi
jle 0x10108d8b
mov ecx, 8
sub ecx, esi
test ecx, ecx
jle 0x10108d70
mov eax, 8
sub eax, ecx
mov edi, edi
cmp eax, 8
jae 0x10108da4
mov byte [ebp + eax - 0xc], 0
dec ecx
inc eax
test ecx, ecx
jg 0x10108d60
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.10108db0
push 8
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x7c]
call fcn.1012395f
add esp, 0x14
test edi, edi
jg 0x10108d06
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
call fcn.1011ef87
int3
Function at 0x10109b60
Capabilities:
Query service status
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x40], ebx
cmp dword [ecx + 0x38], 0x10
jne 0x10109d37
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x10109ccf
cmp dword [ebp - 0x20], ebx
je 0x10109ccf
call fcn.1000af50
test eax, eax
jg 0x10109c2a
push ebx
push 0x22f
push str.RepairService_repair.cc
lea ecx, [ebp - 0xf0]
call fcn.1000afc0
push dword [ebp - 0x20]
add eax, 8
mov dword [ebp - 4], 1
push str.dwProcessId:
mov ebx, 2
push eax
mov dword [ebp - 0x40], ebx
call fcn.100025d0
add esp, 8
mov ecx, eax
call fcn.100058d0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x10109c41
lea ecx, [ebp - 0xf0]
call fcn.1000b010
push dword [ebp - 0x20]
mov dword [ebp - 0x14], 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test esi, esi
je 0x10109c9f
cmp esi, 0xffffffff
je 0x10109c9f
mov dword [ebp - 0x14], esi
call fcn.10006540
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.100134c0
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x10109c9f
cmp ecx, 0xffffffff
je 0x10109c9f
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x10109c9f
mov bl, 1
jmp 0x10109ca1
xor bl, bl
test ecx, ecx
je 0x10109ccb
cmp ecx, 0xffffffff
je 0x10109ccb
call fcn.10006540
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
call fcn.10013580
push dword [ebp - 0x14]
call fcn.10013480
add esp, 0x14
mov al, bl
jmp 0x10109d39
call fcn.1000af50
cmp eax, 2
jg 0x10109d20
push 2
push 0x22b
push str.RepairService_repair.cc
lea ecx, [ebp - 0x1a0]
call fcn.1000afc0
mov esi, eax
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esi + 8]
push str.QueryServiceStatusEx_failed:
push eax
call fcn.100025d0
add esp, 8
mov ecx, eax
call fcn.100058d0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x10109d37
lea ecx, [ebp - 0x1a0]
call fcn.1000b010
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x10109f60
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f528
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x1010a022
call fcn.1000af50
cmp eax, 2
jg 0x1010a007
push 2
push 0x1f8
push str.RepairService_repair.cc
lea ecx, [ebp - 0xe0]
call fcn.1000afc0
mov esi, eax
mov dword [ebp - 4], ebx
mov ebx, 1
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esi + 8]
push str.QueryServiceStatus_failed:
push eax
call fcn.100025d0
add esp, 8
mov ecx, eax
call fcn.100058d0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1010a01e
lea ecx, [ebp - 0xe0]
call fcn.1000b010
xor eax, eax
jmp 0x1010a086
call fcn.1000af50
test eax, eax
jg 0x1010a06c
push 0
push 0x1fc
push str.RepairService_repair.cc
lea ecx, [ebp - 0x190]
call fcn.1000afc0
push dword [ebp - 0x28]
add eax, 8
mov dword [ebp - 4], 1
push str.Service_state:
mov ebx, 2
push eax
mov dword [ebp - 0x30], ebx
call fcn.100025d0
add esp, 8
mov ecx, eax
call fcn.100058d0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x1010a083
lea ecx, [ebp - 0x190]
call fcn.1000b010
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret