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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
push edi
lea edi, [ecx + 0x138]
mov ecx, edi
call fcn.10009a20
push 0x10055d0c
push 0x6c
push dword [0x10060408]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1000982a
lea esi, [eax + 1]
mov edi, str.LoadDefaultImage:_Failed_to_Load_resource_IDR_IMAGE_720._error___d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], eax
jmp 0x1000995d
push eax
push dword [0x10060408]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [esp + 8], esi
test esi, esi
jne 0x10009858
lea esi, [eax + 1]
mov edi, str.LoadDefaultImage:_Failed_to_SizeofResource_IDR_IMAGE_720_._error___d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], eax
jmp 0x1000995d
push dword [esp + 0xc]
push dword [0x10060408]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10009883
lea esi, [eax + 1]
mov edi, str.LoadDefaultImage:_Failed_to_LoadResource_IDR_IMAGE_720_._error___d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], eax
jmp 0x1000995d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100098a9
lea esi, [eax + 1]
mov edi, str.LoadDefaultImage:_Failed_to_LoadResource2_IDR_IMAGE_720_._error___d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], eax
jmp 0x1000995d
lea eax, [esi + 1]
push eax
call fcn.10011026
add esp, 4
mov esi, eax
push dword [esp + 8]
push dword [esp + 0x10]
push esi
call fcn.10027d00
mov eax, dword [esp + 0x14]
add esp, 0xc
mov ecx, dword [edi + 8]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x10]
inc eax
mov dword [esp + 0x10], 0xc9
mov dword [esp + 0x14], 0x500
mov dword [esp + 0x18], 0x2d0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], esi
cmp ecx, eax
ja 0x1000990a
push ecx
mov ecx, edi
call fcn.10009ac0
mov ecx, dword [edi + 8]
lea eax, [ecx - 1]
and dword [edi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 8]
add ecx, dword [edi + 0xc]
dec eax
and ecx, eax
mov eax, dword [edi + 4]
cmp dword [eax + ecx*4], 0
lea esi, [ecx*4]
jne 0x1000993f
push 0x20
call fcn.10010c7a
mov ecx, dword [edi + 4]
add esp, 4
mov dword [esi + ecx], eax
mov eax, dword [edi + 4]
mov eax, dword [esi + eax]
movups xmm0, xmmword [esp + 0x10]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [eax + 0x10], xmm0
inc dword [edi + 0x10]
xor esi, esi
mov edi, str.LoadDefaultImage:_Resource_IDR_IMAGE_720_loaded_successfully._dwSize___d
call fcn.10001ef0
push dword [esp + 8]
push edi
push esi
push str.CVirtualCamStream::LoadDefaultImage
push str.virtualCam
push eax
call fcn.10002730
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000dfb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x1005e06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
movups xmm0, xmmword [ebp + 8]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x54]
push 0x27
push eax
lea eax, [ebp - 0x26c]
push eax
movups xmmword [ebp - 0x26c], xmm0
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x54]
push eax
push str.CLSID_ls
lea eax, [ebp - 0x25c]
push 0x104
push eax
call fcn.1000dce0
add esp, 0x10
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x25c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x1000e050
or eax, 0x80070000
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100109b3
mov esp, ebp
pop ebp
ret 0x20
push edi
push esi
push 0x100468ec
lea eax, [ebp - 0x25c]
push 0x104
push eax
call fcn.1000dce0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
lea eax, [ebp - 0x25c]
add esp, 0x10
push 0x208
push eax
push 1
push 0
push dword [ebp - 0x270]
call edi
mov esi, eax
test esi, esi
jne 0x1000e0ce
push dword [ebp - 0x278]
lea eax, [ebp - 0x25c]
push 0x100468ec
push 0x104
push eax
call fcn.1000dce0
add esp, 0x10
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
je 0x1000e0f4
push dword [ebp - 0x270]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100109b3
mov esp, ebp
pop ebp
ret 0x20
push dword [ebp - 0x27c]
lea eax, [ebp - 0x25c]
push 0x100468ec
push 0x104
push eax
call fcn.1000dce0
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x25c]
add esp, 0x10
push eax
call esi
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x25c]
push eax
push 1
push 0
push dword [ebp - 0x274]
call edi
mov edi, eax
test edi, edi
je 0x1000e173
push dword [ebp - 0x270]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x274]
call esi
or edi, 0x80070000
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100109b3
mov esp, ebp
pop ebp
ret 0x20
push dword [ebp - 0x280]
lea eax, [ebp - 0x25c]
push 0x100468ec
push 0x104
push eax
call fcn.1000dce0
add esp, 0x10
lea eax, [ebp - 0x25c]
push eax
call esi
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x25c]
push eax
push 1
push 0
push str.ThreadingModel
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x270]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
call esi
push dword [ebp - 0x274]
call esi
test edi, edi
jle 0x1000e1e4
movzx edi, di
or edi, 0x80070000
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100109b3
mov esp, ebp
pop ebp
ret 0x20
Function at 0x1000e200
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1005e06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1000e23d
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100109b3
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x210]
push eax
push 0x2000000
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000e2fa
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x210]
call edi
test eax, eax
jne 0x1000e2e5
nop word [eax + eax]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.1000e200
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x214], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x210]
call edi
test eax, eax
je 0x1000e2a0
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.100109b3
mov esp, ebp
pop ebp
ret 8

Function at 0x1000e560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x14], 0
jne 0x1000e5a9
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x1000e5e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x14], eax
test eax, eax
je 0x1000e5a9
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100138b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10036521
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003639e
Function at 0x10037705
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
mov edx, dword [ebp + 0xc]
push ebx
sar ecx, 6
push esi
push edi
imul edi, eax, 0x30
mov eax, dword [ecx*4 + 0x100611c0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10037746
cmp byte [edx], 0xa
jne 0x10037746
or byte [eax + edi + 0x28], 4
jmp 0x1003774b
and byte [eax + edi + 0x28], 0xfb
lea eax, [edx + ecx]
mov ebx, edx
mov dword [ebp - 8], eax
mov esi, edx
cmp edx, eax
jae 0x1003783c
mov al, byte [ebx]
cmp al, 0x1a
je 0x1003781d
cmp al, 0xd
je 0x10037774
mov byte [esi], al
inc esi
inc ebx
jmp 0x10037812
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x10037794
cmp byte [eax], 0xa
jne 0x10037789
push 2
mov byte [esi], 0xa
pop eax
jmp 0x1003778f
xor eax, eax
mov byte [esi], 0xd
inc eax
add ebx, eax
inc esi
jmp 0x10037812
push 0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003780b
cmp dword [ebp - 0x14], 0
je 0x1003780b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100611c0]
test byte [eax + edi + 0x28], 0x48
je 0x100377e2
mov dl, byte [ebp - 1]
cmp dl, 0xa
jne 0x100377d2
mov byte [esi], dl
jmp 0x1003780e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100611c0]
mov byte [eax + edi + 0x2a], dl
jmp 0x1003780e
cmp byte [ebp - 1], 0xa
jne 0x100377f4
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x100377f4
mov byte [esi], 0xa
jmp 0x10037791
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10038206
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1003780f
mov byte [esi], 0xd
inc esi
mov edx, dword [ebp + 0xc]
cmp ebx, dword [ebp - 8]
jb 0x1003775d
jmp 0x1003783c
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100611c0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10037837
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1003783c
mov cl, byte [ebx]
mov byte [esi], cl
inc esi
sub esi, edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10037847
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sar ecx, 6
imul edi, eax, 0x30
mov dword [ebp - 8], ecx
push 0xa
mov eax, dword [ecx*4 + 0x100611c0]
pop ebx
mov edx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x1003788b
cmp word [edx], bx
jne 0x1003788b
or byte [edi + eax + 0x28], 4
jmp 0x10037890
and byte [edi + eax + 0x28], 0xfb
lea eax, [edx + esi*2]
mov ebx, edx
mov dword [ebp - 0xc], eax
mov esi, edx
cmp edx, eax
jae 0x100379e4
mov dword [ebp - 0x10], 0xd
movzx eax, word [ebx]
cmp eax, 0x1a
je 0x100379c4
cmp ax, word [ebp - 0x10]
je 0x100378c9
mov word [esi], ax
add esi, 2
add ebx, 2
jmp 0x100379b9
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0xc]
jae 0x100378ef
push 0xa
pop ecx
cmp word [eax], cx
jne 0x100378df
push ecx
pop eax
push 4
jmp 0x100378e4
push 0xd
pop eax
push 2
mov word [esi], ax
pop eax
add ebx, eax
jmp 0x100379b3
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100379aa
cmp dword [ebp - 0x18], 0
je 0x100379aa
mov ecx, dword [ebp - 8]
push 0xa
mov eax, dword [ecx*4 + 0x100611c0]
test byte [edi + eax + 0x28], 0x48
pop eax
je 0x10037976
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x1003793a
mov word [esi], ax
jmp 0x1003796e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ecx*4 + 0x100611c0]
mov word [ebp - 0x20], dx
push 0xa
mov byte [edi + eax + 0x2a], dl
mov ecx, dword [ecx*4 + 0x100611c0]
mov al, byte [ebp - 0x1f]
pop edx
mov byte [edi + ecx + 0x2b], al
mov ecx, dword [ebp - 8]
mov eax, dword [ecx*4 + 0x100611c0]
mov byte [edi + eax + 0x2c], dl
mov edx, dword [ebp + 0xc]
add esi, 2
jmp 0x100379b9
cmp word [ebp - 4], ax
jne 0x1003798b
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x1003798b
mov word [esi], ax
add esi, 2
jmp 0x100379b9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10038206
mov edx, dword [ebp + 0xc]
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100379b6
jmp 0x100379ad
mov edx, dword [ebp + 0xc]
push 0xd
pop eax
mov word [esi], ax
add esi, 2
mov ecx, dword [ebp - 8]
cmp ebx, dword [ebp - 0xc]
jb 0x100378a9
jmp 0x100379e4
mov ecx, dword [ecx*4 + 0x100611c0]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x100379db
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x100379e4
mov cx, word [ebx]
mov word [esi], cx
add esi, 2
sub esi, edx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406a06
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 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
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 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
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 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
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 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x3cbe5017
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..reloc
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x303c1867
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40338c], eax
mov eax, dword [ebp + 4]
mov dword [0x403210], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401020
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403210]
mov dword [ebp - 0x48], eax
mov eax, 0x4016c9
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x403210]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.lukifas
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4033d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4033d8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010bc
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010b5
mov esp, ebp
ret
Function at 0x40eb68
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 0x40ec3d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40ec58
push ebx
push 0x40ec68
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
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.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40ebe8
mov al, 0x6a
call fcn.0040e788
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040eb3c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40ebf1
call fcn.0040eb3c
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_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ec44
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x40ed58
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_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee23
jmp 0x40ee17
cmp dword [esi + 0x10], 0x1000
jne 0x40ee03
test byte [esi + 0x15], 1
jne 0x40ee03
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40edb4
cmp ebp, 2
je 0x40edb4
cmp ebp, 0x10
je 0x40edb4
cmp ebp, 0x20
jne 0x40edd0
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 0x40edd0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ede1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ed50
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40edd4
cmp byte [esp + 4], 0
je 0x40ee03
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_1
test eax, eax
je 0x40ee23
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ed89
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408933
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
sub esi, esi
dec ecx
call main
push ecx
pop esi
xor dword [ebx], edi
inc ebx
sub ecx, esi
cmp ebx, eax
jne fcn.00408933
dec ecx
or ecx, ecx
ret
Function at 0x4afce4
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 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
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 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
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 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
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
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5a5d59ab
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x900e34b5
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x583d59d6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
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
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x7f2e4a91
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219