joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101aadc9
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101c08c0], 0
mov byte [0x101c08c4], 0
mov dword [0x101c08b8], 0xdd8
mov dword [0x101c08b4], 0x1867
mov dword [0x101c08bc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101aaf0a
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x101c08c8], 0
add ecx, 0xfffff22e
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101c08c0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101c08c8], esi
mov dword [0x101c08b4], ecx
mov eax, esi
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x101c08c0], edx
mov esi, dword [ebp - 0x28]
mov cl, byte [ebx + esi]
mov byte [0x101c08c4], cl
mov dword [0x101c08b4], 0x1300
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101c08c4]
mov edx, dword [0x101c08c0]
mov byte [ebx + edx], cl
mov edx, dword [0x101c08b8]
mov ecx, edx
add ecx, 0xfffff3f9
mov dword [0x101c08b4], ecx
mov esi, dword [0x101c08bc]
add esi, 1
mov dword [0x101c08bc], esi
cmp esi, 0x100
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], esi
jl 0x101aae1d
jmp 0x101aaf32
mov eax, 0x1c52
xor ecx, ecx
mov dword [0x101c08b4], 0x1c52
mov dword [0x101c08bc], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x101aae1d
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101c08bc]
add eax, 1
mov dword [0x101c08bc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101aaf0a
jmp 0x101aaee4
mov eax, dword [ebp - 0x30]
add eax, 0xffffef7b
mov dword [0x101c08b4], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ab7a9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101c08b8], 0xbaf
mov dword [0x101c08b4], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x101ab819
lea eax, [ebp - 0x20]
mov dword [0x101c08b8], 0x8c2
mov dword [0x101c08b4], 0x2310
mov dword [ebp - 0x30], eax
call fcn.101ab2f3
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.101aab53
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x101ab8f7
jmp 0x101ab845
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101ad5e0]
mov dh, byte [eax + 0x101ad5b1]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x101ab7d6
jmp 0x101ab819
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101c08b4]
add ecx, 0xffffee8b
mov dword [0x101c08b4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101ab1a5
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101c08b8], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101c08b4], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x4c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x101ab8f7
mov eax, dword [ebp - 0x3c]
add eax, 0x13f3
mov ecx, dword [0x101c08b8]
add ecx, 0xfffff237
mov dword [0x101c08b4], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x101ab98b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101abdd7
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x101c08b4], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101c08b8], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x101abac2
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x101aba60
mov al, byte [ebp - 0x41]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x40]
add edx, 1
mov ah, byte [ebp - 0x42]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x3c], edx
jne 0x101aba0e
mov al, byte [ebp - 0x42]
test al, 1
jne 0x101aba93
jmp 0x101aba69
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
jb 0x101ab9f4
jmp 0x101abac2
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101c08b4], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x101c08b8], 0x114b
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101abacd
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101c08b8]
add eax, 0xfffffd5c
mov dword [0x101c08b8], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101c08b4], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101c08b8], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101abb6f
mov eax, 0xfffff9e7
mov dword [0x101c08b4], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
je 0x101abbe0
jmp 0x101abc43
mov eax, dword [ebp - 0x1c]
mov ecx, 0x35f0
mov dword [0x101c08b4], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
je 0x101abb9e
jmp 0x101abc43
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x101abb46
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
jl 0x101abb6f
jmp 0x101abb46
mov eax, 0x199d
mov dword [0x101c08b4], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
jne 0x101abc43
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
je 0x101abb1c
jmp 0x101abc43
mov eax, 0x29da
mov dword [0x101c08b4], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
jne 0x101abc43
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
jne 0x101abc43
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x101abc43
mov eax, 1
mov dword [0x101c08b8], 0xfa2
mov dword [ebp - 0x24], eax
jmp 0x101abc50
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x101c08b4], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x101abf61
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101c08bc], 0
mov dword [0x101c08c0], 0
mov dword [0x101c08cc], 0
mov dword [0x101c08b4], 0x2bc
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x101abfdf
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x101c08bc]
mov ecx, dword [0x101c08c0]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101c08bc], edx
mov dword [0x101c08b4], 0x97e
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101c08c0], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101c08c4], cl
mov ebx, dword [0x101c08b8]
add ebx, 0xfffff27d
mov dword [0x101c08b4], ebx
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101c08c4]
mov edx, dword [0x101c08c0]
mov byte [ebx + edx], cl
mov edx, dword [0x101c08bc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101c08c0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101c08cc], ecx
mov dword [0x101c08b4], 0x2e2
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x101c08b4], 0x130b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
je 0x101abfc0
jmp 0x101abfc8
Function at 0x101ac0c4
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x101c08b4], 0x1b4a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101ab475
lea ecx, [0x101aad7a]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], 0x13d600
mov dword [0x101c08b8], 0x894
mov edx, dword [0x101c08a0]
mov dword [esp + 0x6c], edx
mov edx, dword [0x101c08a4]
mov dword [esp + 0x38], edx
mov edx, dword [0x101c08a8]
mov dword [esp + 0x78], edx
mov edx, dword [0x101c08ac]
mov dword [esp + 0x54], edx
mov edx, dword [0x101c08b0]
mov dword [esp + 0x84], edx
mov dword [0x101c08b4], 0x1e0a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x101ac19f
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101ab7a9
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101c08b8], 0x5b1
mov dword [esp + 0x10], eax
jmp 0x101ac200
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x101ac18d
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x101ac18d
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [0x101c08b8], 0xe2d
mov dword [0x101c08b4], 0xf67
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x70], edx
call fcn.101abacd
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x101ac157
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4115b5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x422c94
call fcn.0042156f
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x14], SysStringLen
call fcn.0041c72f
mov byte [ebp - 4], 3
call dword [sym.imp.K9PCUhelper.dll_bool___cdecl_SysIsRunningInWin64_void_]
xor ecx, ecx
cmp al, bl
sete cl
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
dec ecx
and ecx, 0x100
add ecx, 0x20019
mov dword [ebp - 0x2c], ecx
call fcn.0041c74c
cmp eax, ebx
je 0x41165e
push dword [ebp + 0x10]
mov eax, esi
push eax
call fcn.0041c7bf
test eax, eax
je 0x41165e
cmp dword [ebp + 0x18], 1
jne 0x411630
push dword [ebp + 0x14]
mov edi, esi
push dword [ebp + 0x10]
call fcn.0041c85e
jmp 0x41165e
mov eax, dword [edi]
or dword [ebp + 0x14], 0xffffffff
mov dword [ebp + 8], eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 0x18], 4
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 8]
mov dword [edi], eax
lea esi, [ebp - 0x2c]
call fcn.0041c7ac
call fcn.0041c7ac
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor esi, esi
inc esi
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
call fcn.004215db
ret 0x14
Function at 0x4117a1
Capabilities:
Set registry value

Disassembly:
push 0xa4
mov eax, 0x423d53
call fcn.0042156f
mov edi, ecx
mov esi, edx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 3
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041c74c
cmp eax, ebx
je 0x4118c5
push dword [ebp + 0x10]
push 0x43aa9c
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4117f6
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
cmp edi, 1
jne 0x411830
push ebx
jmp 0x411851
push dword [ebp + 0x10]
push esi
call fcn.0041c7bf
test eax, eax
jne 0x4117ee
cmp byte [ebp + 0x1c], bl
jne 0x4117ee
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor esi, esi
inc esi
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
call fcn.004215db
ret 0x18
cmp edi, 4
jne 0x41184a
push edi
lea eax, [ebp + 0x18]
push eax
push edi
push ebx
push dword [ebp + 0x10]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4118c5
cmp edi, 2
jne 0x411860
push 1
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov ecx, esi
call fcn.0041c80b
jmp 0x4118c5
cmp edi, 3
jne 0x4118c5
mov eax, dword [ebp + 0x14]
mov edi, dword [eax - 0xc]
push 3
push eax
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xac]
push eax
mov dword [ebp - 0xb0], ecx
call fcn.0041326f
mov byte [ebp - 4], 4
push dword [ebp - 0xb0]
lea eax, [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call dword [0x436a20]
push dword [ebp + 8]
mov ecx, edi
call fcn.004120a4
lea eax, [ebp - 0xac]
cmp dword [ebp - 0xb0], eax
je 0x4118c5
push dword [ebp - 0xb0]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
call fcn.0041c7ac
lea eax, [ebp + 0x1c]
push eax
lea esi, [ebp - 0x2c]
mov dword [ebp + 0x1c], SysStringLen
call fcn.0041c72f
call fcn.0041c7ac
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor esi, esi
jmp 0x41181d
Function at 0x411e92
Capabilities:
Delete registry key

Disassembly:
push 0x24
mov eax, 0x422ba4
call fcn.0042156f
mov edi, ecx
lea eax, [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 4], ebx
push eax
lea esi, [ebp - 0x30]
mov dword [ebp - 0x18], SysStringLen
call fcn.0041c72f
mov byte [ebp - 4], 2
call dword [sym.imp.K9PCUhelper.dll_bool___cdecl_SysIsRunningInWin64_void_]
cmp al, bl
je 0x411f04
mov eax, dword [ebp + 0xc]
sub eax, ebx
je 0x411ef2
dec eax
je 0x411efb
dec eax
jne 0x411f0b
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x30], 0xf023f
push edi
call fcn.0041c74c
cmp eax, ebx
je 0x411ef2
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x30], 0xf013f
jmp 0x411f0b
mov dword [ebp - 0x30], 0xf023f
jmp 0x411f0b
mov dword [ebp - 0x30], 0xf003f
push ebx
push dword [ebp + 8]
lea esi, [ebp - 0x30]
push edi
call fcn.0041c74c
cmp eax, ebx
je 0x411f26
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea esi, [ebp - 0x30]
call fcn.0041c7ac
call fcn.0041c7ac
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor esi, esi
inc esi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
call fcn.004215db
ret 8

Function at 0x411f5c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0x38
xor ebx, ebx
lea eax, [ebp - 0x38]
push ebx
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], 0x140
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, 0xea60
push edi
push dword [ebp - 4]
call esi
cmp eax, 0x102
jne 0x411fbe
push edi
push dword [ebp - 4]
call esi
cmp eax, ebx
jbe 0x411fdd
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
xor ebx, ebx
inc ebx
jmp 0x411fc2
Function at 0x411fe2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
xor edi, edi
cmp dword [esi + 8], ebx
jle 0x41200a
mov eax, ebx
mov ecx, esi
call fcn.00407219
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
inc ebx
cmp ebx, dword [esi + 8]
lea edi, [edi + eax + 1]
jl 0x411ff2
inc edi
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90u.dll_new__
add edi, edi
push edi
mov dword [ebp - 8], edi
xor edi, edi
mov ebx, eax
push edi
push ebx
call sub.MSVCR90.dll_memset
add esp, 0x10
cmp dword [esi + 8], edi
mov dword [ebp - 4], edi
jle 0x41207f
mov eax, dword [ebp - 4]
mov ecx, esi
call fcn.00407219
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
lea ecx, [ebx + edi*2]
movzx edx, word [eax]
inc eax
mov word [ecx], dx
inc eax
inc ecx
inc ecx
test dx, dx
jne 0x412052
mov eax, dword [ebp - 4]
mov ecx, esi
call fcn.00407219
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
inc dword [ebp - 4]
lea edi, [edi + eax + 1]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 8]
jl 0x41203d
push dword [ebp - 8]
push ebx
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
call sub.mfc90u.dll_delete__
pop ecx
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret 0xc
Function at 0x412367
Capabilities:
Get common file path
Shutdown system

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x44c028]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x1c
mov eax, 0x421c39
call fcn.0042153c
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x24]
push eax
push str.SeShutdownPrivilege
xor ebx, ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x214], bl
je 0x41247c
lea ecx, [ebp - 0x10]
call dword [0x436ac8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push str.winsxspending.xml
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.K9PCUhelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.K9PCUhelper.dll_enum_PCO_ERROR_CODES___cdecl_DoesPathExists_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
pop ecx
test eax, eax
je 0x412464
call dword [sym.imp.K9PCUhelper.dll_unsigned_long_int___cdecl__winmajor_void_]
cmp eax, 5
jbe 0x412464
push 0x12
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x412471
push SysReAllocString
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x412489
push SysReAllocString
push 4
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00420e1a
add ebp, 0x20c
leave
ret 4