joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10043600
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10043633
push esi
call fcn.10046700
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1004362c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x100436b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x100436a2
mov eax, dword [esi + 8]
test eax, eax
je 0x10043657
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1004369e
cmp eax, 2
je 0x100436a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004364a
cmp eax, 3
je 0x1004367d
cmp eax, 1
jne 0x1004364a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1004364a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1004364a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.100436e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x100436c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.100436e0
add esp, 4
pop esi
ret

Function at 0x1004eb00
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x1006e66b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, dword [esp + 0x144]
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.10060a24
mov eax, dword [esp + 0x148]
test eax, eax
jne 0x1004ebd2
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1004eb6a
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100609b6
xor eax, eax
jmp 0x1004ec22
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1004eb85
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x1004ebd6
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1004ebd6
mov ecx, dword [esp + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.10051453
add esp, 8
test eax, eax
je 0x1004ebce
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1004eba7
jmp 0x1004ebd6
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
jne 0x1004ebf6
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100609b6
xor eax, eax
jmp 0x1004ec22
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.100609b6
mov eax, esi
mov ecx, dword [esp + 0x134]
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret 8
Function at 0x10062d5a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10062d92
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10060e11
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10060de9
jmp 0x10062d9e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1006444b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1006448d
call fcn.10069f23
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1006448d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10064484
xor eax, eax
jmp 0x10064495
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1006449b
pop edi
pop esi
pop ebx
ret 4
Function at 0x401877
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x4022d8
call fcn.00401e20
push 1
call fcn.00401905
pop ecx
test al, al
je 0x401861
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004018d3
mov byte [ebp - 0x24], al
mov eax, dword [0x403020]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x401861
test eax, eax
jne 0x40177f
mov dword [0x403020], ecx
push 0x40101c
push 0x40100c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x401762
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401851
push 0x401008
push section..text
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x403020], 2
jmp 0x401784
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00401a59
pop ecx
call fcn.00401be7
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4017b5
push esi
call fcn.004019c5
pop ecx
test al, al
je 0x4017b5
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x4040e8]
call esi
call fcn.00401bed
mov esi, eax
cmp dword [esi], edi
je 0x4017d3
push esi
call fcn.004019c5
pop ecx
test al, al
je 0x4017d3
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_wide_environment
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
push edi
push esi
push dword [eax]
call main
add esp, 0xc
mov esi, eax
call fcn.00401d13
test al, al
je 0x401868
test bl, bl
jne 0x401806
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.00401a76
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x401851
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00401bf3
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00493000
jmp 0x4016f5
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x2a270df7
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x6b6a41c0
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x100027a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x394
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x390], eax
push 0x104
lea eax, [esp + 0x88]
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100027e7
xor eax, eax
mov ecx, dword [esp + 0x390]
xor ecx, esp
call fcn.1000853f
add esp, 0x394
ret
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
je 0x100027d0
push str.DgServiceConfig.ini
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x100027d0
push esi
push 0x206
lea eax, [esp + 0x192]
push 0
push eax
mov word [esp + 0x198], 0
call fcn.10008550
push 2
lea ecx, [esp + 0x19c]
push str.UjFOWFNWUkRTQT09
push ecx
call fcn.10002020
add esp, 0x18
call dword [0x100190b0]
lea edx, [esp + 8]
mov dword [esp + 4], edx
call dword [0x100190b0]
push eax
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0xc]
call fcn.100012b0
mov edx, dword [esp + 4]
lea ecx, [esp + 0x88]
push ecx
push 0
push edx
push str.dgswitch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
cmp eax, ecx
je 0x1000289d
push eax
call fcn.100085ca
add esp, 4
mov ecx, dword [esp + 0x394]
xor eax, eax
cmp esi, 1
sete al
pop esi
xor ecx, esp
call fcn.1000853f
add esp, 0x394
ret
Function at 0x100028c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc40
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0xc3c], eax
push ebx
mov ebx, dword [esp + 0xc48]
push ebp
push esi
call dword [0x100190b0]
xor esi, esi
cmp ebx, esi
je 0x10002a36
mov ebp, dword [esp + 0xc54]
cmp ebp, esi
je 0x10002a36
push 0x206
lea eax, [esp + 0x1e]
push esi
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov word [esp + 0x24], si
call fcn.10008550
push 0x81e
lea ecx, [esp + 0x43a]
push esi
push ecx
mov dword [esp + 0x2c], 0x208
mov word [esp + 0x440], si
call fcn.10008550
push 0x100138a4
lea edx, [esp + 0x444]
push str.ZHhxY2B2ZXJrek5zRV5BUkVEa3NFXkFSRXBSWV5CRA
push edx
call fcn.10002250
add esp, 0x24
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x42c]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10002a36
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push esi
push 0x10013838
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x10002a36
push 0x206
lea ecx, [esp + 0x226]
push esi
push ecx
mov word [esp + 0x22c], si
call fcn.10008550
push 0x10013834
lea edx, [esp + 0x230]
push str.JQYyBBMXCAIETwQZBA
push edx
call fcn.10002250
add esp, 0x18
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10002a36
lea edx, [esp + 0x18]
push esi
push edx
call fcn.10009189
add esp, 8
test eax, eax
jne 0x10002a36
lea eax, [esp + 0x18]
push eax
push ebp
push ebx
call fcn.10009096
add esp, 0xc
lea eax, [esi + 1]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc3c]
xor ecx, esp
call fcn.1000853f
add esp, 0xc40
ret
mov ecx, dword [esp + 0xc48]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1000853f
add esp, 0xc40
ret

Function at 0x10002a50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x214], eax
push 0x206
lea eax, [esp + 0x12]
push 0
push eax
mov word [esp + 0x18], 0
call fcn.10008550
push 0x10013900
lea ecx, [esp + 0x1c]
push 0x100138a8
push ecx
call fcn.100020c0
add esp, 0x18
lea edx, [esp + 4]
push edx
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
push str.Start
lea edx, [esp + 0x1c]
push edx
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x10002ad5
mov eax, 1
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1000853f
add esp, 0x218
ret
mov ecx, dword [esp + 0x214]
xor eax, eax
cmp dword [esp], 2
setne al
xor ecx, esp
call fcn.1000853f
add esp, 0x218
ret
Function at 0x10002d00
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
sub esp, 0x6e4
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x6e0], eax
push esi
push edi
xor esi, esi
push 0x206
lea eax, [esp + 0x2de]
push esi
push eax
or edi, 0xffffffff
mov word [esp + 0x2e4], si
call fcn.10008550
push 0x206
lea ecx, [esp + 0xe2]
push esi
push ecx
mov word [esp + 0xe8], si
call fcn.10008550
push 0x62
lea edx, [esp + 0x26]
push esi
push edx
mov word [esp + 0x2c], si
call fcn.10008550
push 0x62
lea eax, [esp + 0x96]
push esi
push eax
mov word [esp + 0x9c], si
call fcn.10008550
push 0x206
lea ecx, [esp + 0x516]
push esi
push ecx
mov word [esp + 0x51c], si
call fcn.10008550
lea edx, [esp + 0x314]
push 0x104
push edx
call fcn.100028c0
add esp, 0x44
test eax, eax
je 0x10002f29
lea eax, [esp + 0x2d8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push edi
lea ecx, [esp + 0x2dc]
push ecx
lea edx, [esp + 0xd8]
push 0x104
push edx
call fcn.10008c06
push 3
lea eax, [esp + 0x1c]
push str.VWtWa1ZGSldTbGRUVlU1R1RHdFdXVkpSUFQwPQ
push eax
call fcn.10002400
add esp, 0x1c
test al, al
je 0x10002f29
push 2
lea ecx, [esp + 0x70]
push 0x10013994
push ecx
call fcn.10002400
add esp, 0xc
test al, al
je 0x10002f29
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x2dc]
push eax
call edi
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0xd4]
push edx
call edi
push 0xffffffffffffffff
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x4e8]
push 0x104
push ecx
call fcn.10008c06
push 0xffffffffffffffff
push 0x10013990
lea edx, [esp + 0x4f8]
push 0x104
push edx
call fcn.1000919d
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x20
lea eax, [esp + 0x2d8]
push eax
call edi
test eax, eax
jne 0x10002e9e
pop edi
lea eax, [esi + 1]
pop esi
mov ecx, dword [esp + 0x6e0]
xor ecx, esp
call fcn.1000853f
add esp, 0x6e4
ret
lea ecx, [esp + 0xd0]
push ecx
call edi
test eax, eax
je 0x10002ed8
lea edx, [esp + 0xd0]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10002ed8
lea eax, [esp + 0x4e0]
push eax
lea ecx, [esp + 0xd4]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10002ef3
push esi
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x2e0]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10002f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [esp + 0x6e0]
xor ecx, esp
call fcn.1000853f
add esp, 0x6e4
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x6e0]
xor ecx, esp
call fcn.1000853f
add esp, 0x6e4
ret
mov ecx, dword [esp + 0x6e8]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.1000853f
add esp, 0x6e4
ret
Function at 0x10002f50
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
sub esp, 0x478
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x474], eax
push esi
push 0x206
lea eax, [esp + 0x6e]
push 0
push eax
or esi, 0xffffffff
mov word [esp + 0x74], 0
call fcn.10008550
push 0x62
lea ecx, [esp + 0x16]
push 0
push ecx
mov word [esp + 0x1c], 0
call fcn.10008550
push 0x206
lea edx, [esp + 0x28e]
push 0
push edx
mov word [esp + 0x294], 0
call fcn.10008550
lea eax, [esp + 0x8c]
push 0x104
push eax
call fcn.100028c0
add esp, 0x2c
test eax, eax
je 0x1000313c
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 2
lea edx, [esp + 8]
push 0x10013994
push edx
call fcn.10002400
add esp, 0xc
test al, al
je 0x1000313c
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x278]
push 0x104
push eax
call fcn.10008c06
push esi
push 0x10013990
lea ecx, [esp + 0x288]
push 0x104
push ecx
call fcn.1000919d
add esp, 0x20
cmp dword [esp + 0x480], 0
je 0x1000309f
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 4
push 0
lea edx, [esp + 0x70]
push edx
call esi
test eax, eax
je 0x10003083
push 4
push 0
lea eax, [esp + 0x278]
push eax
call esi
test eax, eax
je 0x10003083
xor eax, eax
pop esi
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.1000853f
add esp, 0x478
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.1000853f
add esp, 0x478
ret
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
lea ecx, [esp + 0x274]
push ecx
call esi
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
je 0x100030c8
lea edx, [esp + 0x274]
push edx
call ebx
test eax, eax
je 0x10003106
lea eax, [esp + 0x6c]
push eax
call esi
test eax, eax
je 0x10003123
lea ecx, [esp + 0x6c]
push ecx
call ebx
test eax, eax
jne 0x10003123
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [esp + 0x274]
push edx
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10003106
lea ecx, [esp + 0x274]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop esi
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.1000853f
add esp, 0x478
ret
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.1000853f
add esp, 0x478
ret
mov ecx, dword [esp + 0x478]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1000853f
add esp, 0x478
ret
Function at 0x10003160
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x628
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push edi
mov edi, dword [esp + 0x638]
xor ebp, ebp
push 0x206
lea eax, [esp + 0x1e]
push ebp
push eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
mov word [esp + 0x24], bp
call fcn.10008550
push 0x40e
lea ecx, [esp + 0x232]
push ebp
push ecx
mov dword [esp + 0x28], 0x208
mov word [esp + 0x238], bp
call fcn.10008550
add esp, 0x18
call dword [0x100190b0]
cmp edi, ebp
je 0x1000326f
push esi
mov esi, dword [esp + 0x640]
lea edx, [esi - 1]
cmp edx, 0x103
ja 0x1000326e
push 0x100138a4
lea eax, [esp + 0x228]
push str.ZHhxY2B2ZXJrek5zRV5BUkVEa3NFXkFSRXBSWV5CRA
push eax
call fcn.10002250
add esp, 0xc
test al, al
je 0x1000326e
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x228]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1000326e
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
push 0x10013838
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000326e
mov eax, dword [esp + 0x14]
cmp eax, 2
jb 0x1000326e
shr eax, 1
sub eax, 1
cmp esi, eax
jb 0x1000326e
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
call fcn.10008c06
add esp, 0x10
lea ebx, [ebp + 1]
pop esi
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x1000327e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x630]
pop edi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.1000853f
add esp, 0x628
ret
Function at 0x10003b00
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
sub esp, 0x4dc
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x4d8], eax
push esi
push edi
xor esi, esi
push 0x206
lea eax, [esp + 0xd6]
push esi
push eax
or edi, 0xffffffff
mov word [esp + 0xdc], si
call fcn.10008550
push 0x206
lea ecx, [esp + 0x2ea]
push esi
push ecx
mov word [esp + 0x2f0], si
call fcn.10008550
push 0x62
lea edx, [esp + 0x8a]
push esi
push edx
mov word [esp + 0x90], si
call fcn.10008550
push 0x62
lea eax, [esp + 0x32]
push esi
push eax
mov word [esp + 0x38], si
call fcn.10008550
lea ecx, [esp + 0x100]
push 0x104
push ecx
call fcn.10003160
add esp, 0x38
test eax, eax
je 0x10003cb9
push edi
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x2e0]
push 0x104
push eax
call fcn.10008c06
push 3
lea ecx, [esp + 0x80]
push str.VWtWa1ZGSldTbGRUVlU1R1RHdFdXVkpSUFQwPQ
push ecx
call fcn.10002400
add esp, 0x1c
test al, al
je 0x10003cb9
push 2
lea edx, [esp + 0xc]
push 0x10013994
push edx
call fcn.10002400
add esp, 0xc
test al, al
je 0x10003cb9
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xd4]
push ecx
call edi
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x2dc]
push eax
call edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0xd0]
push ecx
call edi
test eax, eax
jne 0x10003c69
lea edx, [esp + 0x2d8]
push edx
call edi
test eax, eax
jne 0x10003c4e
pop edi
lea eax, [esi + 1]
pop esi
mov ecx, dword [esp + 0x4d8]
xor ecx, esp
call fcn.1000853f
add esp, 0x4dc
ret
push esi
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x2e0]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10003c82
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x4d8]
xor ecx, esp
call fcn.1000853f
add esp, 0x4dc
ret
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x2dc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x10003c69
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [esp + 0x4d8]
xor ecx, esp
call fcn.1000853f
add esp, 0x4dc
ret
mov ecx, dword [esp + 0x4e0]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.1000853f
add esp, 0x4dc
ret
Function at 0x10003d20
Capabilities:
Query service status
Stop service

Disassembly:
mov eax, dword [ecx]
sub esp, 0x1c
test eax, eax
jne 0x10003d2f
add esp, 0x1c
ret 4
mov ecx, dword [esp + 0x20]
push edi
push 0xf01ff
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x10003d6d
lea edx, [esp + 4]
push edx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x10003d76
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x10003d84
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
add esp, 0x1c
ret 4
cmp dword [esp + 8], 1
jne 0x10003d90
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
pop edi
add esp, 0x1c
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push esi
xor esi, esi
lea eax, [esp + 0x10]
push eax
push edi
call ebp
test eax, eax
je 0x10003dc0
cmp dword [esp + 0x14], 1
je 0x10003dd3
push 0xa
call ebx
add esi, 1
cmp esi, 0x32
jl 0x10003da1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x1c
ret 4
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x1c
ret 4

Function at 0x10003e60
Capabilities:
Delete service

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x10003e6e
xor eax, eax
pop esi
ret 4
push edi
mov edi, dword [esp + 0xc]
push edi
call fcn.10003d20
mov eax, dword [esi]
push 0xf01ff
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x10003e93
pop edi
pop esi
ret 4
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x10003f30
Capabilities:
Modify service

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [ecx]
push esi
push 0xf01ff
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x10003f4e
pop esi
ret 8
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x18]
push edi
push edx
mov edx, dword [eax + 0x10]
push 0
push 0
push ecx
mov ecx, dword [eax + 0xc]
push 0
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov edi, eax
test edi, edi
jne 0x10003f87
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
ret 8