joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404360
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4043bb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4043bb
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4043a8
cmp esi, edx
jae 0x4043bb
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x404396
cmp esi, edx
jae 0x4043bb
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x404ac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x424040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 7
lea edx, [ebp - 8]
push 0
push edx
push 0
push 0x20006
push 0
push 0
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp + 0x48]
lea edx, [ebp + 0x38]
cmp dword [ebp + 0x4c], 7
lea ecx, [ebp + 0x20]
cmova edx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 7
lea eax, [eax*2 + 2]
push eax
cmova ecx, dword [ebp + 0x20]
push edx
push 1
push 0
push ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x404b69
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404b5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404bf3
push ecx
push edx
call fcn.00419833
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x404bb3
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404ba9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404bf3
push ecx
push edx
call fcn.00419833
add esp, 8
mov ecx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp ecx, 7
jbe 0x404c03
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404bf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404bf9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00419833
add esp, 8
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004194ef
mov esp, ebp
pop ebp
ret
Function at 0x404c20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x424040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
push 0
cmova eax, dword [ebp + 8]
mov dword [ebp - 8], edx
lea edx, [ebp - 0xc]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp + 0x34], 7
lea ecx, [ebp - 8]
push 4
push ecx
push 4
lea eax, [ebp + 0x20]
cmova eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x404cb7
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404cad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404cf7
push ecx
push edx
call fcn.00419833
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x404d07
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404cfd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404cfd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00419833
add esp, 8
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004194ef
mov esp, ebp
pop ebp
ret
Function at 0x417340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x41736c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x417394
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x41739a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x417424
jg 0x4173b1
test esi, esi
je 0x417424
test ecx, ecx
jl 0x417407
jg 0x4173bb
test eax, eax
je 0x417407
cmp edi, ecx
jg 0x4173cf
jl 0x4173c5
cmp esi, eax
jae 0x4173cf
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x417424
jg 0x41740a
test esi, esi
je 0x417424
jmp 0x41740a
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x417424
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x417440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x41746c
jl 0x417460
test ecx, ecx
jne 0x41746c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x417485
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x4174d3
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x4174d9
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x4174d9
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x417546
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x417502
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x417534
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x417546
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x417510
test edi, edi
je 0x417546
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4178c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x424040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x4178f0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004194ef
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x41792c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x41792c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004194ef
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x417a03
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x417954
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x417960
movsx eax, bl
jmp 0x417998
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x4179c2
sub eax, 1
je 0x4179c2
sub eax, 2
jne 0x417a03
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004194ef
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4179e0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x417a03
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004194ef
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004194ef
mov esp, ebp
pop ebp
ret 4
Function at 0x418060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x424040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x41811c
cmp byte [esi + 0x3d], 0
je 0x41811c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41810a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x4180d1
sub eax, 1
je 0x4180d5
sub eax, 2
jne 0x41810a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004194ef
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4180f3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x41810a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004194ef
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004194ef
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004194ef
mov esp, ebp
pop ebp
ret
Function at 0x41a095
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41a0d4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41a0d4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41a0d4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41a0d4
cmp dword [ecx + 0x74], 0xe
jbe 0x41a0d4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x40de38
mov ecx, 0x2c4326c7
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x41890af8
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4022d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x34], eax
test byte [section..data], 8
jne 0x402388
mov eax, dword [ebp - 0x34]
mov dword [ebp + 0x18], edi
mov dword [ebp + 8], esi
mov dword [ebp + 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
add esp, 0x58
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp sym._create_serviceW.isra.0
mov eax, edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], ecx
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, ecx
mov dword [ebp - 0x44], ecx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, edx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], str.__s___s__0x_lx___s__n
mov dword [esp + 8], str.svcctl_CreateServiceW
mov dword [esp + 4], 0x40b000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
jmp 0x40232d
Function at 0x404520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x34], eax
test byte [section..data], 8
jne 0x4045d8
mov eax, dword [ebp - 0x34]
mov dword [ebp + 0x18], edi
mov dword [ebp + 8], esi
mov dword [ebp + 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp + 0x38], 1
mov dword [ebp + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
add esp, 0x58
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp sym._create_serviceW.isra.0
mov eax, edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], ecx
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, ecx
mov dword [ebp - 0x44], ecx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, edx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], str.__s___s__0x_lx___s__n
mov dword [esp + 8], str.svcctl_CreateServiceWOW64W
mov dword [esp + 4], 0x40b000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
jmp 0x40457d
Function at 0x405390
Capabilities:
Contain obfuscated stackstrings
Listen for remote procedure calls

Disassembly:
push ebp
xor eax, eax
xor edx, edx
mov ebp, esp
push ebx
sub esp, 0x40
mov dword [ebp - 0x30], 0x63006e
mov dword [ebp - 0x2c], 0x630061
mov dword [ebp - 0x28], 0x5f006e
mov dword [ebp - 0x24], 0x70006e
mov word [ebp - 0x20], ax
mov dword [ebp - 0x1e], 0x70005c
mov dword [ebp - 0x1a], 0x700069
mov dword [ebp - 0x16], 0x5c0065
mov dword [ebp - 0x12], 0x760073
mov dword [ebp - 0xe], 0x630063
mov dword [ebp - 0xa], 0x6c0074
mov word [ebp - 6], dx
call dword [sym.imp.kernel32.dll_CreateThreadpoolCleanupGroup]
mov dword [section..bss], eax
test eax, eax
je 0x4054a0
lea eax, [ebp - 0x1e]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x30]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.rpcrt4.dll_RpcServerUseProtseqEpW]
sub esp, 0x10
mov ebx, eax
test eax, eax
je 0x405440
test byte [section..data], 2
jne 0x405528
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov eax, dword [0x40b188]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.rpcrt4.dll_RpcServerRegisterIf]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x4054c0
test byte [section..data], 2
je 0x405435
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.RpcServerRegisterIf_failed_with_error__lu_n
mov dword [esp + 8], str.RPC_Init
mov dword [esp + 4], 0x40b000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x405435
test byte [section..data], 2
jne 0x405560
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 8], 1
mov dword [esp + 4], 0x4d2
mov dword [esp], 1
call dword [sym.imp.rpcrt4.dll_RpcServerListen]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x4055a0
test byte [section..data], 2
je 0x405435
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.RpcServerListen_failed_with_error__lu_n
mov dword [esp + 8], str.RPC_Init
mov dword [esp + 4], 0x40b000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x405435
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.RpcServerUseProtseq_failed_with_error__lu_n
mov dword [esp + 8], str.RPC_Init
mov dword [esp + 4], 0x40b000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], 0x40d4f0
mov dword [esp + 8], str.RPC_Init
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x40b000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x4054ad
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x411180
mov dword [esp + 4], 0x3e8
mov dword [esp], 0xffffffff
call dword [sym.imp.ntdll.dll_NtSetInformationProcess]
sub esp, 0x10
jmp 0x405435
Function at 0x405790
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
sub esp, 0x1c
test ecx, ecx
je 0x4057ec
cmp word [ecx], 0
mov eax, ecx
je 0x40580d
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4057a8
add eax, 2
cmp word [eax], 0
jne 0x4057a8
sub eax, ecx
add eax, 2
mov dword [esp], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 7
mov dword [esp + 8], 0
mov dword [esp + 4], edx
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov esi, dword [ebp - 4]
sub esp, 0x18
leave
ret
mov dword [ebp - 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
sub esp, 8
cmp eax, 2
leave
cmove eax, ecx
ret
mov eax, 2
jmp 0x4057bf

Function at 0x405bd0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push ebx
sub esp, 0x18
test ecx, ecx
je 0x405c30
cmp word [ecx], 0
mov ebx, ecx
je 0x405c50
lea esi, [esi]
lea esi, [esi]
add ebx, 2
cmp word [ebx], 0
jne 0x405bf0
sub ebx, esi
add ebx, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
sub esp, 8
cmp eax, 2
cmove eax, esi
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov ebx, 2
jmp 0x405bfe