joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e910
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x45e998
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
mov ecx, 0x45e9b0
mov edx, dword [esi + 0x30c]
call fcn.004049f4
mov eax, dword [ebp - 4]
call fcn.00408bd4
test al, al
je 0x45e97d
push 0
push 0x45e9c8
push dword [esi + 0x30c]
push 0x45e9b0
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404a68
mov eax, dword [ebp - 8]
call fcn.00404ba8
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x1f
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e99f
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040470c
ret

Function at 0x45e9d8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x45ea60
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
mov ecx, 0x45ea78
mov edx, dword [esi + 0x30c]
call fcn.004049f4
mov eax, dword [ebp - 4]
call fcn.00408bd4
test al, al
je 0x45ea45
push 0
push 0x45ea8c
push dword [esi + 0x30c]
push 0x45ea78
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404a68
mov eax, dword [ebp - 8]
call fcn.00404ba8
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x1f
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ea67
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040470c
ret
Function at 0x4836d9
Capabilities:
Query environment variable

Disassembly:
jmp 0x5716a7
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x5716bb
xor edi, edi
jmp 0x5716ff
push ebx
push esi
call fcn.005715a0
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.0048544d
mov edi, eax
add esp, 0x14
test edi, edi
je 0x5716ec
push ebx
push esi
push edi
call fcn.00485673
add esp, 0xc
push 2
push 0
call fcn.00484e17
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x484f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x589240
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x5d2a08], 1
jge 0x5892af
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x589285
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x589285
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x589262
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x58929b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x5892a2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x58939f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x589370
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x589365
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x589359
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x589360
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x58939f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x58939a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x589383
mov eax, dword [ebx + 8]
jmp 0x58939f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x589391
xor eax, eax
jmp 0x58939f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x5892cf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x402b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x481630]
push ebx
mov ebx, dword [0x471738]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [0x471734]
lea edx, [esp + 0x10]
push edx
push 0x20019
xor eax, ebp
push 0
mov dword [esp + 0x148], eax
mov eax, dword [0x47172c]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x471730]
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push 0x80000000
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
call dword [0x47103c]
test eax, eax
jne 0x402c14
mov byte [esp + 0x30], al
mov ecx, 0x40
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x34], 0x104
mov dword [esp + 0x2c], 0
call dword [0x471038]
test eax, eax
jne 0x402bee
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.00402930
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x471040]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, esi
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebx
jmp 0x402c29
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], ebx
mov ecx, dword [esp + 0x13c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045856e
mov esp, ebp
pop ebp
ret 4
Function at 0x402c50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x481630]
push ebx
mov ebx, dword [ebp + 0x14]
xor eax, ebp
push esi
push edi
mov dword [esp + 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], ecx
mov edx, dword [ebp + 0x10]
mov byte [esp + 0x30], 0
mov ecx, 0x40
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, dword [ebp + 8]
mov eax, ebx
shr eax, 0x10
movzx ecx, ah
push ecx
movzx eax, al
push eax
movzx ecx, bh
push ecx
movzx eax, bl
push eax
mov eax, edx
mov ecx, edx
shr ecx, 0x18
push ecx
shr eax, 0x10
movzx eax, al
push eax
movzx eax, word [esp + 0x36]
movzx ecx, dh
push ecx
movzx ecx, word [esp + 0x38]
mov dword [esp + 0x3c], edx
movzx edx, dl
push edx
push eax
push ecx
push esi
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x60]
push 0x104
push edx
mov dword [esp + 0x5c], ebx
call fcn.004595c7
add esp, 0x38
lea eax, [esp + 0x10]
push eax
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push 0x80000000
call dword [0x47102c]
test eax, eax
je 0x402d39
lea ecx, [esp + 0x10]
push ecx
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push 0x80000000
call dword [0x471030]
test eax, eax
je 0x402d39
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, ebp
call fcn.0045856e
mov esp, ebp
pop ebp
ret 0x10
lea edx, [esp + 0x30]
push edx
mov esi, 1
call dword [0x471314]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
inc eax
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x18]
push esi
push 0
push edx
push eax
call dword [0x471034]
test eax, eax
je 0x402d6c
xor esi, esi
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x471040]
mov ecx, dword [esp + 0x13c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045856e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4031b0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push edi
lea eax, [esp + 8]
push eax
push ebx
mov dword [esp + 0x10], 0
call fcn.004668e6
mov edi, eax
test edi, edi
ja 0x4031da
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret
lea ecx, [edi + 1]
push esi
push ecx
call fcn.004578e2
mov edx, dword [esp + 0x10]
add esp, 4
mov esi, eax
push esi
push edi
push edx
push ebx
call fcn.004668e0
test eax, eax
jne 0x40320c
push esi
call fcn.00458775
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4718c4
push esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.004668da
test eax, eax
je 0x4031fa
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push str._d_d_d_d
push ecx
call dword [0x4713e8]
push esi
call fcn.00458775
add esp, 0x1c
pop esi
pop edi
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x405640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46cb5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x368
mov eax, dword [0x481630]
push ebx
push esi
xor eax, ebp
push edi
mov dword [esp + 0x36c], eax
call dword [0x471294]
mov ebx, eax
xor eax, eax
mov byte [esp + 0x50], 0
mov ecx, 0x41
lea edi, [esp + 0x51]
rep stosd dword es:[edi], eax
mov byte [esp + 0x158], al
mov ecx, 0x41
lea edi, [esp + 0x159]
rep stosd dword es:[edi], eax
push 0x105
lea eax, [esp + 0x54]
push eax
push 0
call dword [0x4712cc]
push 0x105
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x160]
push edx
call dword [0x4712f0]
lea eax, [esp + 0x158]
push 0x5c
push eax
call fcn.004592b2
add esp, 8
test eax, eax
je 0x4056e4
mov byte [eax], 0
mov esi, dword [0x4810d8]
mov dword [esp + 0x10], esi
cmp byte [ebx], 0x22
mov dword [esp + 0x37c], 0
jne 0x405720
lea edi, [ebx + 1]
push 0x22
push edi
call fcn.004590d4
add esp, 8
test eax, eax
je 0x405720
push 0x22
push edi
call fcn.004590d4
mov edx, eax
add esp, 8
inc edx
jmp 0x405763
push ebx
lea ecx, [esp + 0x14]
call fcn.00404e70
lea ecx, [esp + 0x10]
call fcn.004043e0
mov esi, dword [esp + 0x10]
push esi
call dword [0x4713f4]
mov eax, dword [esi - 8]
test eax, eax
jl 0x405761
push str..EXE
push esi
call fcn.0045931d
add esp, 8
test eax, eax
je 0x405761
sub eax, esi
js 0x405761
lea edx, [eax + esi + 4]
jmp 0x405763
xor edx, edx
push edx
xor eax, eax
mov byte [esp + 0x264], 0
mov ecx, 0x41
lea edi, [esp + 0x265]
push str._RUNAS__s
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x268]
push 0x105
push ecx
call fcn.00403750
xor eax, eax
mov ecx, 0xe
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x60]
mov dword [esp + 0x34], edx
add esp, 0x10
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x260]
lea ecx, [esp + 0x158]
push edx
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x1c], 0x40
mov dword [esp + 0x24], str.runas
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 1
call dword [0x4713a8]
test eax, eax
jne 0x40583e
call dword [0x4712b4]
cmp eax, 0x4c7
jne 0x40582c
mov ecx, dword [0x4810dc]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x405825
add esi, 0xfffffff4
push esi
call dword [0x471300]
test eax, eax
jg 0x405825
push esi
call fcn.004590cf
add esp, 4
mov eax, 0x8000000c
jmp 0x405890
lea edi, [eax + 0x100000]
mov eax, dword [0x4810dc]
lea ecx, [esi - 0xc]
cmp ecx, eax
jmp 0x405875
mov edx, dword [esp + 0x4c]
push 0xffffffffffffffff
push edx
call dword [0x4712c0]
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [0x471298]
mov edx, dword [esp + 0x4c]
push edx
call dword [0x471340]
mov ecx, dword [0x4810dc]
mov edi, dword [esp + 0x10]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x40588e
add esi, 0xfffffff4
push esi
call dword [0x471300]
test eax, eax
jg 0x40588e
push esi
call fcn.004590cf
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x374]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045856e
mov esp, ebp
pop ebp
ret
Function at 0x406ae0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x54
mov eax, dword [0x481630]
xor eax, esp
mov dword [esp + 0x50], eax
lea eax, [esp]
push eax
push 1
push 0
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
mov dword [esp + 0x14], 0
call dword [0x47103c]
test eax, eax
je 0x406b23
xor eax, eax
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0045856e
add esp, 0x54
ret
push esi
push edi
xor eax, eax
mov byte [esp + 0x14], 0
mov ecx, 0x10
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
xor esi, esi
push esi
push str.Version
push ecx
mov dword [esp + 0x24], 0x41
mov dword [esp + 0x28], 1
call dword [0x471038]
test eax, eax
jne 0x406b75
movsx esi, byte [esp + 0x14]
sub esi, 0x30
mov edx, dword [esp + 8]
push edx
call dword [0x471040]
mov ecx, dword [esp + 0x58]
cmp esi, 5
pop edi
sbb eax, eax
pop esi
xor ecx, esp
inc eax
call fcn.0045856e
add esp, 0x54
ret

Function at 0x408740
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, dword [esp + 0x14]
je 0x40875d
cmp dword [edi], 2
jae 0x40875d
pop edi
mov eax, 0x7a
pop esi
ret 0xc
mov eax, dword [edi]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [0x471038]
test eax, eax
jne 0x4087ba
cmp dword [esp + 0x14], 7
jne 0x4087ac
test esi, esi
mov eax, dword [esp + 0x10]
je 0x4087b6
cmp eax, 2
jb 0x4087ac
mov cl, byte [eax + esi - 1]
test cl, cl
jne 0x4087ac
mov cl, byte [eax + esi - 2]
test cl, cl
je 0x4087b6
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x4087c0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [0x471314]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4087d2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [0x471034]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x408950
Capabilities:
Delete registry value
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x20
mov eax, dword [0x481630]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServices
push 0x80000002
call dword [0x47103c]
test eax, eax
jne 0x408a02
push str.Admin_Test
call dword [0x471314]
mov ecx, dword [esp]
inc eax
push eax
push str.Admin_Test
push 1
push 0
push 0x472014
push ecx
call dword [0x471034]
test eax, eax
jne 0x4089f8
mov byte [esp + 0xc], al
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov word [esp + 0x19], ax
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x23], al
lea eax, [esp + 0x10]
push eax
push 0
push 0x472014
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x10
call dword [0x471038]
test eax, eax
je 0x408a13
mov edx, dword [esp]
push edx
call dword [0x471040]
xor eax, eax
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0045856e
add esp, 0x20
ret
mov eax, dword [esp]
push 0x472014
push eax
call dword [0x471044]
mov ecx, dword [esp]
push ecx
call dword [0x471040]
push str.Admin_Test
lea edx, [esp + 0x10]
push edx
call dword [0x471274]
mov ecx, dword [esp + 0x1c]
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.0045856e
add esp, 0x20
ret

Function at 0x409b90
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
call fcn.00431490
mov ecx, eax
call fcn.00431310
test eax, eax
je 0x409c69
push esi
push 1
push 0
push 0
call dword [0x471018]
mov esi, eax
test esi, esi
jne 0x409bd7
call dword [0x4712b4]
push eax
push str.Failed_to_call_OpenSCManager__Err_Code:__d
push 4
call fcn.004047c0
add esp, 0xc
xor eax, eax
pop esi
add esp, 0x1c
ret
push edi
push 4
push str.RsMgrSvc
push esi
call dword [0x47101c]
mov edi, eax
test edi, edi
jne 0x409c11
call dword [0x4712b4]
push eax
push str.Failed_to_call_OpenService_RSD___Err_Code:__d
push 4
call fcn.004047c0
add esp, 0xc
push esi
call dword [0x471020]
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret
lea eax, [esp + 8]
push eax
push edi
call dword [0x471024]
test eax, eax
jne 0x409c4b
call dword [0x4712b4]
push eax
push str.Failed_to_call_QueryServiceStatus_RSD___Err_Code:__d
push 4
call fcn.004047c0
add esp, 0xc
push edi
mov edi, dword [0x471020]
call edi
push esi
call edi
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret
push edi
mov edi, dword [0x471020]
call edi
push esi
call edi
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, 4
pop edi
sete al
pop esi
add esp, 0x1c
ret
mov eax, 1
add esp, 0x1c
ret
Function at 0x41a450
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp]
push 0xf003f
push ecx
xor ebx, ebx
mov ecx, ebp
xor edi, edi
mov dword [esp + 0x1c], ebx
call dword [eax + 0x48]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
je 0x41a519
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x18]
push eax
push edi
push ecx
push esi
call dword [0x471038]
test eax, eax
jne 0x41a502
mov edx, dword [esp + 0x1c]
push edx
call fcn.004578e2
mov ecx, dword [esp + 0x20]
mov edx, ecx
mov ebx, eax
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
test ebx, ebx
rep stosb byte es:[edi], al
je 0x41a502
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
push esi
call dword [0x471038]
test eax, eax
jne 0x41a4f9
mov ecx, dword [esp + 0x24]
push ebx
call fcn.00404e70
mov dword [esp + 0x14], 1
push ebx
call fcn.004590cf
add esp, 4
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x4c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 8
ret 0xc

Function at 0x41e600
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
push esi
push edi
push str.Setup.exe_Begin__________________________________
push 0x80
call fcn.004047c0
add esp, 8
push 0
call dword [0x4715b0]
push 0
push 0
push 0
push 0
call dword [0x47146c]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], 4
call dword [0x4710cc]
mov ecx, dword [esp + 0x24]
push 0
push ecx
push 0
mov ecx, 0x483d6c
call fcn.0041e2d0
lea ecx, [esp + 0x10]
call fcn.0041e4f0
lea ecx, [esp + 0x10]
call fcn.00406a00
mov esi, eax
xor edi, edi
test esi, esi
lea ecx, [esp + 0x10]
jne 0x41e69b
call fcn.00405d50
mov esi, eax
test esi, esi
je 0x41e68e
push esi
lea ecx, [esp + 0x14]
call fcn.00405d60
lea ecx, [esp + 0x10]
call fcn.00403150
mov edi, eax
jmp 0x41e6a1
push esi
call fcn.00405d60
lea ecx, [esp + 0x10]
call fcn.00404090
mov ecx, 0x483d6c
call fcn.0041e5a0
call dword [0x4715b4]
test edi, edi
je 0x41e6c8
push 0
push 6
call dword [0x471468]
lea ecx, [esp + 0x10]
call fcn.004567f0
pop edi
mov eax, esi
pop esi
add esp, 0x18
ret 0x10
Function at 0x420410
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x481630]
xor eax, esp
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x130], eax
mov eax, dword [ebp]
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [0x47103c]
mov esi, eax
test esi, esi
jne 0x420512
lea ecx, [esp + 0xc]
call fcn.004025f0
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
jne 0x420516
lea edx, [esp + 0x1c]
push edx
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
mov esi, dword [0x471068]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x4204ee
jmp 0x4204b0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00420410
mov edi, eax
test edi, edi
jne 0x42053d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x4204b0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x420505
push eax
call dword [0x471040]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [0x471014]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x420521
push eax
call dword [0x471040]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0045856e
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42054c
push eax
call dword [0x471040]
mov eax, edi
jmp 0x420523
Function at 0x42c770
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46e833
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4810d8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
lea edi, [esi + 0x18]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.00436640
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x24]
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.00436640
mov ecx, dword [esp + 0x20]
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x34], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4