joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001a40
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10162550]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x10001a91
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x10001a80
push 0xffffffffffffffff
push 0x10144a60
call fcn.10003730
add esp, 8
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f6f33
mov esp, ebp
pop ebp
ret
push esi
push 0xf01ff
push str.bukedrv
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
call edi
test esi, esi
je 0x10001af8
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
test eax, eax
je 0x10001ad6
push eax
push 0x10144ab0
jmp 0x10001b01
push 0x10144aa0
call fcn.10003730
add esp, 8
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f6f33
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0
push 0x10144ac0
call fcn.10003730
mov ecx, dword [ebp - 4]
add esp, 0xc
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.100f6f33
mov esp, ebp
pop ebp
ret
Function at 0x10001b20
Capabilities:
Start service

Disassembly:
push esi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x10001b68
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
cmp eax, 5
je 0x10001b55
push eax
push 0x10144ad4
call fcn.10003730
add esp, 0xc
xor eax, eax
pop esi
ret
push 5
push 0x10144a60
call fcn.10003730
add esp, 0xc
xor eax, eax
pop esi
ret
push ebx
push edi
push 0xf01ff
push str.bukedrv
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
mov edi, eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x10001be7
call esi
cmp eax, 5
je 0x10001bd0
cmp eax, 0x7b
je 0x10001bb9
cmp eax, 0x424
jne 0x10001be7
push 0xffffffffffffffff
push eax
push 0x10144b0c
call fcn.10003730
add esp, 0xc
pop edi
pop ebx
xor eax, eax
pop esi
ret
push 0xffffffffffffffff
push 0x7b
push 0x10144afc
call fcn.10003730
add esp, 0xc
pop edi
pop ebx
xor eax, eax
pop esi
ret
push 0xffffffffffffffff
push 5
push 0x10144ae8
call fcn.10003730
add esp, 0xc
pop edi
pop ebx
xor eax, eax
pop esi
ret
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x10001c11
push edi
call ebx
push 0xffffffffffffffff
push 0x10144b24
call fcn.10003730
add esp, 8
pop edi
pop ebx
mov eax, 1
pop esi
ret
call esi
mov ecx, eax
sub ecx, 6
push 0xffffffffffffffff
je 0x10001c6b
sub ecx, 0x41a
je 0x10001c55
sub ecx, 2
je 0x10001c3d
push eax
push 0x10144c60
call fcn.10003730
add esp, 0xc
pop edi
pop ebx
xor eax, eax
pop esi
ret
push 0x422
push str.service_cannot_be_started___n_either_because_it_is_disabled_or__n_because_it_has_no_enabled_devices_associated_with_it.
call fcn.10003730
add esp, 0xc
pop edi
pop ebx
xor eax, eax
pop esi
ret
push 0x10144b34
call fcn.10003730
add esp, 8
pop edi
pop ebx
mov eax, 1
pop esi
ret
push 6
push str.The_handle_is_invalid
call fcn.10003730
add esp, 0xc
pop edi
pop ebx
xor eax, eax
pop esi
ret
Function at 0x10001c80
Capabilities:
Create service
Get common file path

Disassembly:
push esi
mov esi, dword [0x1016af84]
push 0x208
add esi, 0xb8
push 0
push esi
call fcn.100f8c70
add esp, 0xc
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.bukedrv.sys
push 0x104
push esi
call fcn.100f7b10
push 0xffffffffffffffff
push esi
call fcn.10003730
add esp, 0x14
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
jne 0x10001d08
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
cmp edx, 5
jne 0x10001cf4
push 0xffffffffffffffff
push eax
push 0x10144c74
call fcn.10003730
add esp, 0xc
push 0xffffffffffffffff
push edx
push 0x10144c8c
call fcn.10003730
add esp, 0xc
xor eax, eax
pop esi
ret
push 0
push 0
push 0
push 0
push 0
push esi
push 1
push 3
push 1
push 0xf01ff
push str.This_is_bukedrv
push str.bukedrv
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edx, eax
test edx, edx
jne 0x10001d86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
sub ecx, 0x430
push 0xffffffffffffffff
je 0x10001d70
dec ecx
je 0x10001d5c
push eax
push 0x10144ce4
call fcn.10003730
add esp, 0xc
xor eax, eax
pop esi
ret
push 0x10144cc0
call fcn.10003730
add esp, 8
mov eax, 1
pop esi
ret
push 0x430
push 0x10144cd0
call fcn.10003730
add esp, 0xc
xor eax, eax
pop esi
ret
push 0xffffffffffffffff
push 0x10144cf4
call fcn.10003730
add esp, 8
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
pop esi
ret

Function at 0x10001db0
Capabilities:
Delete service

Disassembly:
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x10001de5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x10001de1
push 0xffffffffffffffff
push eax
push 0x10144c74
call fcn.10003730
add esp, 0xc
xor eax, eax
pop edi
ret
push ebx
push esi
push 0xf01ff
push str.bukedrv
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
mov esi, eax
call ebx
test esi, esi
je 0x10001e49
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call ebx
push 0xffffffffffffffff
test edi, edi
je 0x10001e33
push edi
push 0x10144d14
call fcn.10003730
add esp, 0xc
pop esi
pop ebx
xor eax, eax
pop edi
ret
push 0x10144d04
call fcn.10003730
add esp, 8
pop esi
pop ebx
mov eax, 1
pop edi
ret
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10144d24
call fcn.10003730
add esp, 0xc
pop esi
pop ebx
xor eax, eax
pop edi
ret
Function at 0x10003270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000328b
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 0x100032c2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x100032be
jmp 0x100032b0
cmp esi, eax
jae 0x100032c2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100032b0
cmp esi, eax
jb 0x100032c9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100047ac
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10162550]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x100047f1
push 0x1011bf60
push 4
push eax
call fcn.100f84e6
push eax
call fcn.10003320
add esp, 0x10
jmp 0x10004807
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10004887
push edi
call fcn.100f86e3
mov edi, dword [eax]
call fcn.100f86e3
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.100f8680
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.100f86e3
cmp dword [eax], 0
je 0x1000485b
call fcn.100f86e3
push dword [eax]
call fcn.10004026
pop ecx
jmp 0x10004862
call fcn.100f86e3
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x10004887
cmp dword [ebp - 0x234], esi
jae 0x10004887
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x10004889
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100f6f33
leave
ret
Function at 0x10004ded
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x10162550]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.10004d54
pop ecx
cmp eax, esi
je 0x10004ed7
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x10004ed7
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.100f8c70
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x10004ed7
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x10004ed7
cmp esi, 0x14
jge 0x10004ed7
push 0x10
push 0
push edi
call fcn.100f77b1
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10004ec6
call fcn.100f86e3
cmp dword [eax], 0x22
je 0x10004ec6
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.100f7e96
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x10004e9c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x10164b18], 0
jne 0x10004f62
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x10004f8b
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.100047ac
pop ecx
pop ecx
test eax, eax
jne 0x10004f8d
inc edi
cmp edi, esi
jl 0x10004f68
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100f6f33
leave
ret 8
Function at 0x1000be84
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10162550]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1000beb9
xor eax, eax
jmp 0x1000bf0c
lea eax, [ebp - 0x210]
push eax
call fcn.100f7e96
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x1000beea
push str._0987654321_
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.100f7b10
add esp, 0xc
test eax, eax
jne 0x1000beb5
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.100f7b10
add esp, 0xc
test eax, eax
jne 0x1000beb5
lea eax, [ebp - 0x210]
push eax
call fcn.10004d54
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100f6f33
leave
ret

Function at 0x10018704
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x1001874b
call fcn.100076ed
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1001874b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10018767
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.10018204
mov esi, eax
test edi, edi
je 0x10018765
test ebx, ebx
je 0x10018765
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10018b46
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x101106ec
call fcn.100f83dc
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x10018b6b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x10018bbd
call fcn.10003911
push eax
lea ecx, [ebp - 0x10]
call fcn.100014d0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100f8549
push eax
call fcn.10003320
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001500
mov eax, esi
call fcn.100f84b4
ret 8
Function at 0x1001923e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.10018ee2
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10019288
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10005c90
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10005c61
jmp 0x10019293
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1000f124
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10019299
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.10018810
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x100192d6
call fcn.10018ee2
mov dword [esi + 0xc], 1
jmp 0x100192db
call fcn.10018ee2
cmp dword [esi], 0
je 0x10019324
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x100192fc
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10005c90
jmp 0x1001930e
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.10001330
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10005c61
jmp 0x10019348
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x10019348
push dword [esi]
push dword [ebp + 8]
call fcn.1000f124
pop esi
pop ebp
ret 0xc

Function at 0x10041433
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.100076ed
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1004146c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.10041070
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x100414ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x100414ee
cmp dword [edi + 0x74], 0
jne 0x100414ee
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.100076ed
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1004148b
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1007230b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x10072325
call fcn.100076ed
mov esi, dword [eax + 0xc]
push dword [0x10168724]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10072343
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x1007233b
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x10072370
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x1007233d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.10072239
mov esi, eax
jmp 0x10072362

Function at 0x100bd089
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.100f1656
call fcn.1000711e
cmp dword [eax + 0x14], 0
jne 0x100bd0a6
mov ecx, esi
pop esi
jmp fcn.100bcb8e
pop esi
ret

Function at 0x100c0205
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.100d1697
call fcn.1000711e
cmp dword [eax + 0x14], 0
jne 0x100c0222
mov ecx, esi
pop esi
jmp fcn.100bfbd8
pop esi
ret
Function at 0x100d2798
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x100d27b0
mov edi, dword [esi + 0xc]
jmp 0x100d27f0
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100d27c9
call fcn.1000dfb9
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x100d27de
call fcn.1000dfb9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x100d27f0
call fcn.1000dfb9
call fcn.100076ed
cmp dword [eax + 0x3c], 0
je 0x100d2805
push edi
mov ecx, ebx
call fcn.100d1653
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.100d26b2
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x100d2823
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x100d282f
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100f6f33
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10162550]
jne 0x100f6f3d
repz ret
jmp fcn.100fcd04
Function at 0x10108e9e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10162550]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100ffc62
and dword [ebp - 0x14], 0
cmp dword [0x1016aeec], 0
mov dword [ebp - 0x18], eax
jne 0x10108f51
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10108ff9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101441b8
push ebx
call edi
test eax, eax
je 0x10108ff9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x101441a8
push ebx
mov dword [0x1016aeec], eax
call edi
push eax
call esi
push 0x10144194
push ebx
mov dword [0x1016aef0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1016aef4], eax
call edi
push eax
call esi
mov dword [0x1016aefc], eax
test eax, eax
je 0x10108f51
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1016aef8], eax
mov eax, dword [0x1016aef8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10108faa
cmp dword [0x1016aefc], ecx
je 0x10108faa
push eax
call esi
push dword [0x1016aefc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10108faa
test ebx, ebx
je 0x10108faa
call edi
test eax, eax
je 0x10108fa1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10108fa1
test byte [ebp - 8], 1
jne 0x10108faa
or dword [ebp + 0x10], 0x200000
jmp 0x10108fdd
mov eax, dword [0x1016aef0]
cmp eax, dword [ebp - 0x18]
je 0x10108fdd
push eax
call esi
test eax, eax
je 0x10108fdd
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10108fdd
mov eax, dword [0x1016aef4]
cmp eax, dword [ebp - 0x18]
je 0x10108fdd
push eax
call esi
test eax, eax
je 0x10108fdd
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1016aeec]
call esi
test eax, eax
je 0x10108ff9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10108ffb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100f6f33
leave
ret
Function at 0x402ebc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x7c7b90]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402f37
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
jne 0x402f3e
cmp dword [ebp + 0x10], ebx
jne 0x402f2b
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402ebc
test eax, eax
jne 0x402f3e
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
jmp 0x402efe
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00406443
cmp eax, ebx
je 0x402f63
push ebx
push dword [0x7c7b90]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402f37
cmp dword [0x7c7b90], ebx
jne 0x402f34
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402f34
jmp 0x402f37
Function at 0x405728
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x7be4d0], 0x44
push eax
xor eax, eax
push 0x7be4d0
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405763
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4