joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406864
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406888
xor eax, eax
test eax, eax
je 0x40689b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40689b
xor ecx, ecx
jmp 0x40689e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069c1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dac], 0
push esi
jne 0x4069f8
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4069d2
mov dword [ecx*4 + 0x427da8], eax
inc ecx
cmp ecx, 0x100
jl 0x4069cd
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a29
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427da8]
xor eax, esi
inc ecx
dec edx
jne 0x406a0b
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00431219
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
call fcn.00401a50
push 1
push 0
push 0x40fc98
push 0x4130c0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret 0x10
Function at 0x401f00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
mov eax, dword [0x411020]
xor eax, esp
mov dword [esp + 0x14], eax
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWARESamsungSetIP_
push 0x80000002
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401f87
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 8]
push eax
push 0
push str.SetIPLangCode
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401f87
lea edx, [esp + 0xc]
push edx
push 3
push esi
call fcn.00402b26
add esp, 0xc
mov eax, 1
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00402bb4
add esp, 0x18
ret
mov ecx, dword [esp + 0x14]
xor ecx, esp
xor eax, eax
call fcn.00402bb4
add esp, 0x18
ret

Function at 0x402370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402387
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4023b8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4023b4
cmp esi, eax
jae 0x4023b8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4023a4
cmp esi, eax
jb 0x4023be
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x4027d7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x411020]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00402716
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00402fc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x402826
cmp dword [ebp - 0x1c], 5
jb 0x40283e
jmp 0x40283a
cmp dword [ebp - 0x10], 1
jne 0x40283e
cmp dword [ebp - 0x1c], 4
ja 0x40283a
jne 0x40283e
cmp dword [ebp - 0x18], 0
jbe 0x40283e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x40e1fc
call fcn.004025ac
test eax, eax
jge 0x40285f
mov byte [0x4132c8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00402bb4
add ebp, 0x78
leave
ret

Function at 0x402bb4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411020]
jne 0x402bbe
repz ret
jmp fcn.004045ad
Function at 0x405290
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4111b8]
je 0x4052ab
inc edi
cmp edi, 0x17
jb 0x40529c
cmp edi, 0x17
jae 0x40542b
push ebp
push 3
call fcn.004095ec
cmp eax, 1
pop ecx
je 0x4053f7
push 3
call fcn.004095ec
test eax, eax
pop ecx
jne 0x4052df
cmp dword [0x41101c], 1
je 0x4053f7
cmp ebx, 0xfc
je 0x40542a
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4124f8
push ebp
call fcn.00408e1e
add esp, 0xc
test eax, eax
je 0x405315
push esi
push esi
push esi
push esi
push esi
call fcn.0040360a
add esp, 0x14
push 0x104
mov esi, 0x412511
push esi
push 0
mov byte [0x412615], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405359
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00408e1e
add esp, 0xc
test eax, eax
je 0x405359
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040360a
add esp, 0x14
push esi
call fcn.00408e90
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40539e
push esi
call fcn.00408e90
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x41280c
push 0x40e7fc
sub ecx, eax
push ecx
push eax
call fcn.00409539
add esp, 0x14
test eax, eax
je 0x40539e
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040360a
add esp, 0x14
jmp 0x4053a0
xor esi, esi
push 0x40e7f8
push ebx
push ebp
call fcn.004094c8
add esp, 0xc
test eax, eax
je 0x4053c0
push esi
push esi
push esi
push esi
push esi
call fcn.0040360a
add esp, 0x14
push dword [edi*8 + 0x4111bc]
push ebx
push ebp
call fcn.004094c8
add esp, 0xc
test eax, eax
je 0x4053e2
push esi
push esi
push esi
push esi
push esi
call fcn.0040360a
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040930b
add esp, 0xc
jmp 0x40542a
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40542a
cmp ebp, 0xffffffff
je 0x40542a
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4111bc]
push dword [esi]
call fcn.00408e90
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40930b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00405e41
xor ebx, ebx
cmp dword [0x412c3c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4093e1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4094c1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4094c1
push eax
call fcn.00405dd3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x412c3c], eax
call esi
push eax
call fcn.00405dd3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412c40], eax
call esi
push eax
call fcn.00405dd3
mov dword [0x412c44], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040501d
test eax, eax
pop ecx
pop ecx
je 0x4093af
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040360a
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4093e1
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00405dd3
cmp eax, ebx
pop ecx
mov dword [0x412c4c], eax
je 0x4093e1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405dd3
pop ecx
mov dword [0x412c48], eax
mov eax, dword [0x412c48]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x409466
cmp dword [0x412c4c], ecx
je 0x409466
push eax
call fcn.00405e4a
push dword [0x412c4c]
mov esi, eax
call fcn.00405e4a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x409466
cmp edi, ebx
je 0x409466
call esi
cmp eax, ebx
je 0x409433
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409433
test byte [ebp - 0x18], 1
jne 0x409466
lea eax, [ebp - 0x10]
push eax
call fcn.00405054
test eax, eax
pop ecx
je 0x40944e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040360a
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40945d
or dword [ebp + 0x10], 0x200000
jmp 0x4094a1
or dword [ebp + 0x10], 0x40000
jmp 0x4094a1
mov eax, dword [0x412c40]
cmp eax, dword [ebp - 8]
je 0x4094a1
push eax
call fcn.00405e4a
cmp eax, ebx
pop ecx
je 0x4094a1
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4094a1
mov eax, dword [0x412c44]
cmp eax, dword [ebp - 8]
je 0x4094a1
push eax
call fcn.00405e4a
cmp eax, ebx
pop ecx
je 0x4094a1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x412c3c]
call fcn.00405e4a
cmp eax, ebx
pop ecx
je 0x4094c1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4094c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4fafa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa0000]
push edi
jmp 0x4fafba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4fafc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fafb0
mov eax, 1
add ebx, ebx
jne 0x4fafd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4fafe4
jne 0x4fb003
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fb003
dec eax
add ebx, ebx
jne 0x4faff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4fafc8
add ebx, ebx
jne 0x4fafff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4fb055
xor ecx, ecx
sub eax, 3
jb 0x4fb01b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4fb08a
sar eax, 1
mov ebp, eax
jmp 0x4fb026
add ebx, ebx
jne 0x4fb026
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4faff4
inc ecx
add ebx, ebx
jne 0x4fb034
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4faff4
add ebx, ebx
jne 0x4fb041
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4fb036
jne 0x4fb052
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4fb036
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4fb074
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4fb066
jmp 0x4fafb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4fb074
add edi, ecx
jmp 0x4fafb6
pop esi
mov edi, esi
mov ecx, 0x3b6d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4fb092
cmp byte [edi], 0x17
jne 0x4fb092
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4fb097
lea edi, [esi + 0xf4000]
mov eax, dword [edi]
or eax, eax
je 0x4fb106
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x113e3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x113ed0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4fb0c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x113ed8]
or eax, eax
je 0x4fb100
mov dword [ebx], eax
add ebx, 4
jmp 0x4fb0e1
call dword [esi + 0x113ed4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4fb137
cmp al, 0xef
ja 0x4fb12a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4fb10c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4fb119
mov ebp, dword [esi + 0x113edc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4fb16b
sub esp, 0xffffff80
jmp 0x435126
Function at 0x4af714
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4af7e9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4af804
push ebx
push 0x4af814
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004087c4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405884
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004084ec
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4af794
mov al, 0x72
call fcn.004af33c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004af6e8
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4af79d
call fcn.004af6e8
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af7f0
lea eax, [ebp - 4]
call fcn.00407a20
ret

Function at 0x4af904
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4af9cf
jmp 0x4af9c3
cmp dword [esi + 0x10], 0x1000
jne 0x4af9af
test byte [esi + 0x15], 1
jne 0x4af9af
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4af960
cmp ebp, 2
je 0x4af960
cmp ebp, 0x10
je 0x4af960
cmp ebp, 0x20
jne 0x4af97c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4af97c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4af98d
mov eax, dword [esi]
add eax, ebx
call fcn.004af8fc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4af980
cmp byte [esp + 4], 0
je 0x4af9af
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4af9cf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4af935
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x996b8c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x996b92
pop ebp
sub ebp, 6
sub ebp, 0x596b8c
jmp 0x996bf0
jmp 0x996bf9
mov eax, 0x596b8c
add eax, ebp
add eax, 0x93
mov ecx, 0x5c3
mov edx, 0xed05b862
xor byte [eax], dl
inc eax
dec ecx
jne 0x996c10
jmp 0x996c23
jmp 0x5f8555d7
Function at 0x401020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401039
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401074
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401070
lea ebx, [ebx]
cmp esi, eax
jae 0x401074
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401060
cmp esi, eax
jb 0x40107a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4017f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push ebx
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x6c]
xor ebx, ebx
test esi, esi
mov dword [edi], ebx
jne 0x40180a
lea esi, [esp + 0xc]
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00411340
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
add esp, 0xc
push esi
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push eax
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x70], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40185f
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [edi], ecx
pop edi
pop esi
pop ebx
add esp, 0x54
ret
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x54
ret

Function at 0x402b60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x42db28]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
mov esi, dword [esp + 0x81c]
lea eax, [esp + 8]
push eax
push 0x20019
push 0
mov dword [esp + 0x18], 0
push str.softwareVVLauncher_2VVLauncher
push 0x80000002
mov dword [esp + 0x24], 0x7ff
mov dword [esp + 0x20], 1
xor bl, bl
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402be6
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.Path
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402be6
mov bl, 1
mov eax, dword [esp + 8]
test eax, eax
je 0x402bf5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
mov ecx, esi
je 0x402c02
lea edx, [esp + 0x14]
push edx
jmp 0x402c07
push 0x4244fa
call fcn.00401610
mov ecx, dword [esp + 0x814]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0041132c
add esp, 0x810
ret
Function at 0x42233c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x42db28]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004222d1
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00411340
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42238b
cmp dword [ebp - 0x1c], 5
jb 0x4223a3
jmp 0x42239f
cmp dword [ebp - 0x10], 1
jne 0x4223a3
cmp dword [ebp - 0x1c], 4
ja 0x42239f
jne 0x4223a3
cmp dword [ebp - 0x18], 0
jbe 0x4223a3
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x427cd0
call fcn.004221c2
test eax, eax
jge 0x4223c4
mov byte [0x42ef20], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041132c
add ebp, 0x78
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401fe0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a5db
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [str.V_6]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004075ac
push 4
mov dword [ebp - 4], 0
call fcn.00408f1e
mov edi, eax
add esp, 4
test edi, edi
je 0x402060
call fcn.00407138
mov dword [edi], eax
call fcn.00406ef7
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00406e2c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x402056
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00406e54
jmp 0x402062
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404e10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ecx]
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], edi
cmp edi, dword [ecx + 4]
je 0x404ee5
push ebx
push esi
nop
mov esi, dword [edi]
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x404ece
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x404e59
inc dword [ebp - 8]
jmp 0x404ec7
push esi
push str.Could_not_terminate_process._PID_
push 0x422a00
call fcn.004038b0
add esp, 8
mov ecx, eax
call fcn.00404140
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404330
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x404ea3
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x404ea3
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x404ec4
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x404ebc
or eax, 4
push 0
push eax
call fcn.00401510
mov edi, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
add edi, 4
mov dword [ebp - 4], edi
cmp edi, dword [edx + 4]
jne 0x404e30
mov eax, dword [ebp - 8]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret