joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003150a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10024a7c
xor ebx, ebx
cmp dword [0x1004f910], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x100315e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x100316c0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x100316c0
push eax
call fcn.10024a0e
mov dword [esp], 0x1003bfec
push edi
mov dword [0x1004f910], eax
call esi
push eax
call fcn.10024a0e
mov dword [esp], 0x1003bfd8
push edi
mov dword [0x1004f914], eax
call esi
push eax
call fcn.10024a0e
mov dword [0x1004f918], eax
lea eax, [ebp - 0xc]
push eax
call fcn.100204d7
test eax, eax
pop ecx
pop ecx
je 0x100315ae
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10023ebf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x100315e0
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10024a0e
cmp eax, ebx
pop ecx
mov dword [0x1004f920], eax
je 0x100315e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10024a0e
pop ecx
mov dword [0x1004f91c], eax
mov eax, dword [0x1004f91c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10031665
cmp dword [0x1004f920], ecx
je 0x10031665
push eax
call fcn.10024a85
push dword [0x1004f920]
mov esi, eax
call fcn.10024a85
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10031665
cmp edi, ebx
je 0x10031665
call esi
cmp eax, ebx
je 0x10031632
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10031632
test byte [ebp - 0x18], 1
jne 0x10031665
lea eax, [ebp - 0x10]
push eax
call fcn.1002050e
test eax, eax
pop ecx
je 0x1003164d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10023ebf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1003165c
or dword [ebp + 0x10], 0x200000
jmp 0x100316a0
or dword [ebp + 0x10], 0x40000
jmp 0x100316a0
mov eax, dword [0x1004f914]
cmp eax, dword [ebp - 8]
je 0x100316a0
push eax
call fcn.10024a85
cmp eax, ebx
pop ecx
je 0x100316a0
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100316a0
mov eax, dword [0x1004f918]
cmp eax, dword [ebp - 8]
je 0x100316a0
push eax
call fcn.10024a85
cmp eax, ebx
pop ecx
je 0x100316a0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1004f910]
call fcn.10024a85
cmp eax, ebx
pop ecx
je 0x100316c0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100316c2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4029b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x404a70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0
push 0
push 0x31
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x48]
push eax
mov ebx, dword [esi]
call sub.MFC42.DLL_CGdiObject::FromHandle
push eax
mov ecx, esi
call dword [ebx + 0x30]
mov ebp, eax
mov eax, dword [edi + 0xa4]
lea edx, [esp + 0x18]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea ebx, [edi + 0x94]
push 1
mov ecx, ebx
mov eax, dword [ecx]
add eax, 5
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0xc]
add edx, eax
mov eax, dword [edi + 0xa8]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], edx
add eax, ecx
mov ecx, esi
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0xa4]
lea ecx, [esp + 0x28]
push 0x25
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SetBkMode
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 1
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CPen::CPen
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [esp + 0x34]
mov ebp, eax
mov eax, dword [ebx]
push edx
inc eax
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x34]
mov eax, dword [edi + 0x9c]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
push ebp
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x10], 0x406070
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x402f80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push esi
push edi
lea ecx, [esp + 8]
call fcn.00401670
mov cl, 0x64
mov al, 0x65
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], al
mov byte [esp + 0x15], al
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], al
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xd], 0x61
mov byte [esp + 0xe], 0x6f
mov byte [esp + 0xf], 0x62
mov byte [esp + 0x10], 0x69
mov byte [esp + 0x11], 0x74
mov byte [esp + 0x14], 0x66
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1a], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
lea eax, [esp + 0x10]
push ecx
push eax
push 0x460
push 0x41ead8
push 0x41ead8
lea ecx, [esp + 0x20]
call fcn.004016b0
push 0x45c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, eax
push 0x41eadc
push esi
call edi
lea ecx, [esi + 0x80]
push 0x41eb5c
push ecx
call edi
lea edx, [esi + 0x100]
push 0x41ebdc
push edx
call edi
lea eax, [esi + 0x180]
push 0x41ec5c
push eax
call edi
lea ecx, [esi + 0x1c0]
push 0x41ec9c
push ecx
call edi
lea edx, [esi + 0x200]
push 0x41ecdc
push edx
call edi
mov al, byte [0x41ed1c]
add esp, 0x34
mov byte [esi + 0x240], al
mov cl, byte [0x41ed1d]
mov byte [esi + 0x241], cl
mov dl, byte [0x41ed1e]
mov byte [esi + 0x242], dl
mov eax, dword [0x41ed20]
mov dword [esi + 0x244], eax
mov ecx, dword [0x41ed24]
mov dword [esi + 0x248], ecx
mov edx, dword [0x41ed28]
mov dword [esi + 0x24c], edx
mov eax, dword [0x41ed2c]
mov dword [esi + 0x250], eax
mov edi, dword [0x41ef30]
xor eax, eax
test di, di
jbe 0x4030f3
push ebx
mov ecx, 0x41ed30
lea edx, [esi + 0x254]
mov di, word [ecx]
inc eax
mov word [edx], di
mov edi, dword [0x41ef30]
mov ebx, edi
add ecx, 2
and ebx, 0xffff
add edx, 2
cmp eax, ebx
jl 0x4030d3
pop ebx
lea ecx, [esp + 8]
mov word [esi + 0x454], di
call fcn.004016a0
mov eax, esi
pop edi
pop esi
add esp, 0x14
ret

Function at 0x403110
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, 0x73b
and eax, 0xff
push esi
cdq
idiv ecx
mov esi, dword [esp + 0xc]
add dl, 0x59
test esi, esi
jbe 0x40313d
mov eax, dword [esp + 8]
mov cl, byte [eax]
xor cl, dl
add cl, dl
mov byte [eax], cl
inc eax
dec esi
jne 0x403131
pop esi
ret

Function at 0x403140
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov cl, 0xdb
mov dl, byte [eax + 0x40d4c0]
xor dl, cl
mov byte [eax + 0x40d4c0], dl
inc eax
cmp eax, 0x115ff
jl 0x403144
ret
Function at 0x4039c0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ecx, ecx
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x403a81
push esi
push edi
add ebx, 0x10
cmp dword [ebx], 0
jne 0x403a2b
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x403a5f
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x403a5f
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x4039ee
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x403a90
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
xor ecx, ecx
push ebp
mov ebx, dword [eax]
xor ebp, ebp
mov cx, word [ebx + 0x14]
cmp word [ebx + 6], bp
lea eax, [ecx + ebx + 0x18]
jbe 0x403b49
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x403ae7
mov edx, dword [edi - 0x14]
mov eax, dword [edi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x403b2f
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov esi, dword [edx*4 + 0x41f018]
je 0x403b01
or esi, 0x200
mov edx, dword [edi - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x403b1c
test al, 0x40
je 0x403b13
mov ecx, dword [ebx + 0x20]
jmp 0x403b1a
test al, 0x80
je 0x403b2f
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x403b2f
mov ecx, dword [edi - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x18]
xor eax, eax
inc ebp
add edi, 0x28
mov ebx, dword [edx]
mov ax, word [ebx + 6]
cmp ebp, eax
jl 0x403ab4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x403cf0
Capabilities:
Parse pe header

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
cmp word [eax], 0x5a4d
push edi
je 0x403d08
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edi, dword [eax + 0x3c]
add edi, eax
mov dword [esp + 0x10], edi
cmp dword [edi], 0x4550
je 0x403d21
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push eax
push ecx
call esi
mov ebp, eax
test ebp, ebp
jne 0x403d58
mov edx, dword [edi + 0x50]
push 4
push 0x2000
push edx
push eax
call esi
mov ebp, eax
test ebp, ebp
jne 0x403d58
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
xor eax, eax
push 4
push 0x1000
mov dword [ebx + 4], ebp
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x50]
push eax
push ebp
call esi
mov ecx, dword [edi + 0x54]
push 4
push 0x1000
push ecx
push ebp
call esi
mov esi, dword [esp + 0x18]
mov edx, dword [edi + 0x54]
mov edi, eax
push ebx
mov ecx, dword [esi + 0x3c]
add ecx, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push esi
push ecx
mov edx, dword [ecx + 0x3c]
add eax, edx
mov dword [ebx], eax
mov dword [eax + 0x34], ebp
call fcn.004039c0
mov ecx, dword [esi + 0x34]
mov eax, ebp
add esp, 0xc
sub eax, ecx
je 0x403de1
push eax
push ebx
call fcn.00403b50
add esp, 8
push ebx
call fcn.00403bd0
add esp, 4
test eax, eax
je 0x403e11
push ebx
call fcn.00403a90
mov eax, dword [ebx]
add esp, 4
mov eax, dword [eax + 0x28]
test eax, eax
je 0x403e29
add eax, ebp
test eax, eax
je 0x403e11
push 0
push 1
push ebp
call eax
test eax, eax
jne 0x403e22
push ebx
call fcn.00403ee0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [ebx + 0x10], 1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
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
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00409a27
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00409a27
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00409a27
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00409a27
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00409a27
mov dword [0x41203c], eax
call fcn.00409a27
test eax, eax
jge 0x402550
push 8
call fcn.00409a27
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00409a27
pop ecx
push 1
call fcn.00409a27
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00409a27
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00409a27
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00409a27
jmp 0x402495

Function at 0x409a27
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x409a36
pop dword [ebp - 8]
mov eax, 0x8645cbc8
add eax, 0x79face6e
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x398de
push 0
mov eax, 0xe4ec881e
add eax, 0x1b5458ba
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x18b8739d
sub ecx, 0x18b82a5a
xor ebx, ebx
add ebx, eax
mov esi, 0x413bc4
add esi, dword [ebp - 8]
mov edi, 0x94f4c22f
add edi, 0xbca06ad0
xor dword [ebp - 4], edx
mov edx, dword [esi]
add dword [ebp - 4], 0xba18c553
add edx, edi
xor dword [ebp - 4], ebx
mov dword [ebx], edx
add dword [ebp - 4], 0xfa78c012
add ebx, 0x830e4ccc
add ebx, 0x7cf1b338
add esi, 0x44876e3f
sub esi, 0x44876e3b
loop 0x409a91
add eax, 0x765f1d2a
add eax, 0x89a1fab5
xor ebx, ebx
add ebx, eax
add eax, 0x42ee030d
add eax, 0xbd11fcf8
mov ecx, 0xd05bbfdc
sub ecx, 0xd01bbfdc
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x731b4ab5
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x22986a87
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4d
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x8c
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xd0
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2e
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xbb
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe7
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe0
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa0
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xde
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2f
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x87
add esp, 0x40
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xbf
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x5d
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xaa
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9a
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451bc9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bda
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b072
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b083
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af59
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b0ab
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x8ce370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x8ce38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x8f7074
push ecx
mov edi, eax
call fcn.008e2198
mov esi, eax
add esp, 8
test esi, esi
jne 0x8ce3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.008e202e
push esi
call fcn.008e1fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x8d1850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x8d18ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x8fc720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8d18ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.008e21e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x8d18ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x8fc720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8d192a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.008e3082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x8d1957
mov word [eax], si
add eax, 2
push eax
call fcn.008e3030
add esp, 4
jmp 0x8d1959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x8d18ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x8d18b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x8d1ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret