joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10063ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov al, byte [ebp + 8]
push esi
mov byte [ebp - 0xc], al
mov esi, ecx
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x40
sub edx, esi
push 5
sub edx, 5
push esi
mov dword [ebp - 0xb], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10063aec
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov al, byte [ebp - 8]
mov byte [esi + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10063ae1
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10063b20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
movzx esi, dx
mov edi, ecx
push esi
call fcn.10064b54
push esi
mov ebx, eax
push 0x90
push ebx
call fcn.10066f50
add esp, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10063b6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
push edi
call fcn.100669d0
add esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10063b5e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10063ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
movsd qword [ebp - 0x10], xmm1
push eax
push 0x40
mov esi, ecx
mov dword [ebp - 4], 0
push 8
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10063bd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
movq xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
movq qword [esi], xmm0
push 8
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10063bc8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10063c30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x8128ac8]
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov dword [esi + 8], eax
mov eax, dword [0x7bc4f04]
mov dword [esi + 0xc], eax
call fcn.10063da0
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0xac]
mov dword [esi], eax
mov eax, dword [edx + 0xb0]
mov dword [esi + 4], eax
mov eax, dword [0x879340c]
mov dword [esi + 0x1c], eax
mov eax, dword [0x8793410]
mov dword [esi + 0x24], eax
mov eax, dword [0xe61e18]
mov dword [esi + 0x18], eax
mov eax, dword [0x7bc4f04]
movzx ecx, byte [eax + 0x32]
mov eax, dword [0x8128ac8]
movzx eax, word [eax + ecx*2 + 0x78]
mov ecx, 0x105
cmp ax, cx
je 0x10063cd9
mov ecx, 0x228
cmp ax, cx
je 0x10063cd9
mov ecx, 0x22b
cmp ax, cx
je 0x10063cd9
movsd xmm1, qword [0x1008e1e8]
mov ecx, 0xd27c88
call fcn.10063ba0
movsd xmm1, qword [0x1008e1d8]
mov ecx, 0xd281c0
call fcn.10063ba0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsd xmm0, qword [0x1008e1b0]
lea eax, [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 8
push 0xd27c88
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x18], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10063d3b
mov eax, dword [esp + 0x10]
mov ecx, 0xd27c88
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
mov dword [esp + 0x14], 0
push 8
push ecx
call edi
test eax, eax
jne 0x10063d3d
call esi
movsd xmm0, qword [0x1008e198]
lea eax, [esp + 8]
push eax
push 0x40
push 8
push 0xd281c0
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x10063d93
mov eax, dword [esp + 0x10]
mov ecx, 0xd281c0
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
mov dword [esp + 0x14], 0
push 8
push ecx
call edi
test eax, eax
jne 0x10063d95
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10063e10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 0xc]
mov byte [edi], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10063e50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x40
push 4
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov dword [ebx], edi
push eax
push dword [ebp - 4]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10063e90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
lea eax, [ebp - 4]
movss dword [ebp - 8], xmm1
push eax
push 0x40
mov edi, ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [edi], xmm0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10063ed0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movsd qword [edi], xmm0
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10063f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x10063f30
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10063f50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [ebp + 0xc]
push edi
call fcn.100669d0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10063f90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x90
push ebx
call fcn.10066f50
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10063fd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov eax, ecx
mov ebx, edx
lea ecx, [ebp - 8]
mov dword [ebp - 4], eax
push ecx
push 0x40
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebx + 5]
push eax
call fcn.10068226
push ebx
push dword [ebp - 4]
mov esi, eax
push esi
call fcn.100669d0
mov edx, dword [ebp - 4]
lea eax, [ebx - 5]
mov ecx, edx
mov byte [esi + ebx], 0xe9
sub ecx, esi
sub ecx, 5
mov dword [esi + ebx + 1], ecx
sub esi, edx
push eax
lea eax, [edx + 5]
mov byte [edx], 0xe9
push 0x90
sub esi, 5
push eax
mov dword [edx + 1], esi
call fcn.10066f50
add esp, 0x1c
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100640a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [0x101fa4e4]
test edx, 0xffff0000
jne 0x10064194
push ebx
push 0x1008e148
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x10064193
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x10064193
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x10064193
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10064189
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov eax, dword [edi]
push ebx
push esi
jne 0x10064154
mov dword [ebp - 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 8]
lea ecx, [edx*4 + 0xc]
cmp eax, ecx
jb 0x10064192
xor esi, esi
test edx, edx
je 0x10064189
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + esi*4 + 0xc]
mov edx, ebx
call fcn.10063e50
inc esi
cmp esi, dword [edi]
jb 0x10064134
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 8]
lea ecx, [edx*8 + 0xc]
cmp eax, ecx
jb 0x10064192
xor esi, esi
test edx, edx
je 0x10064189
mov ebx, dword [ebp + 8]
mov edx, dword [edi + esi*8 + 0x10]
mov ecx, dword [edi + esi*8 + 0xc]
add edx, ebx
call fcn.10063e50
inc esi
cmp esi, dword [edi]
jb 0x10064175
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100641d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101f62c4]
cmp eax, 0x3e8
jb 0x1006424b
movd xmm1, dword [0x101fcaac]
movss xmm0, dword [0x101f62b4]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1006424b
comiss xmm1, dword [0x101f62bc]
ja 0x1006424b
movd xmm1, dword [0x101fcab4]
movss xmm0, dword [0x101f62b8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1006424b
comiss xmm1, dword [0x101f62c0]
ja 0x1006424b
cmp edi, 0x201
jne 0x10064239
mov byte [0x101f62c8], 1
pop edi
ret
mov byte [0x101f62c8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101f62c4], eax
pop edi
ret

Function at 0x100728e0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007275f

Function at 0x100762a8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10075f68

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x647348b5
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x27737867
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
or esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
push edx
pop edi
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
push esi
pop eax
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
push eax
pop esi
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x1e912a26
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x49367e6c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40f5f1
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x40f630
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push 1
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
push eax
call fcn.0040f75f
add esp, 0x10
jmp 0x40f75b
lea eax, [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x40f6e8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x40f6ae
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
and dword [eax], 0
jmp 0x40f6e6
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.004294be
mov ecx, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x40f75b
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x40f710
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x40f75b
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x40f73e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x40f75b
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x80]
call fcn.004294be
mov dword [eax], 0x20b95ae6
jmp 0x40f733
mov esp, ebp
pop ebp
ret
Function at 0x4110dc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x411178
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x411155
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x411138
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
jmp 0x411153
push 0x1f21
push 0
push 0x185c
push 0x1b97
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x411176
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x8bd
push 0
call fcn.0041d0bf
add esp, 0x10
jmp 0x4111ed
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x4111b3
push 0x487b
push 0x592
push 0x6c7c
push 1
push 0x27a
push 0x52da
call fcn.00408949
add esp, 0x18
jmp 0x4111ed
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push 0x619f
push 0x277b
push 0x21e1
push 1
push 1
push 0x5d93
push 0x7a7e
push 0x6ba9
push dword [ebp - 0x28]
push 0
push 0x3948
call fcn.0041f66b
add esp, 0x2c
mov esp, ebp
pop ebp
ret
Function at 0x415213
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x4152ff
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x41528a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0x1b54
push 0x691f
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
call fcn.00415315
add esp, 0x18
jmp 0x4152fd
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x4152f3
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x4152d4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x4152f1
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.004294be
mov dword [eax], 0xa219
jmp 0x4152c9
jmp 0x4152fd
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x415311
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push 1
call fcn.00407ec9
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x419f89
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41a007
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x419fe3
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x419fca
push 0x1178
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x419fe1
push 0x311
push 0x238c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x41a005
push 0x4603
push 1
push 0x39d3
push 0x66bb
push 1
push 1
push 0x7ca
call fcn.004162b8
add esp, 0x1c
jmp 0x41a05e
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x41a027
push 1
call fcn.0040fb9f
pop ecx
jmp 0x41a05e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 1
push 0
push 0x5716
push 0x3966
push 0x7ab0
push 1
push 0x5ae2
push 0x4ab8
push 1
push dword [ebp - 0x18]
push 0x7c74
call fcn.0041af7f
add esp, 0x2c
mov esp, ebp
pop ebp
ret