joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407fd0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 3
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
push 0
call fcn.00427aa2
add esp, 8
mov dword [0x45b900], 0
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SOFTWAREAM
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x40803f
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREAM
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
push eax
push 4
push 0
push str.LFCE
push esi
mov dword [esp + 0x2c], 1
mov dword [0x45b900], 0
call edi
test eax, eax
je 0x40808c
xor cl, cl
mov dword [0x45b900], 1
call fcn.00403940
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x45b900], 0
je 0x4080a5
xor cl, cl
call fcn.00403940
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x45b8f0], 0
mov ebx, 1
jne 0x40813c
cmp dword [0x45b914], 0
je 0x40813c
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 4
push 0
push 0x451490
push esi
mov dword [0x45b900], 0
call edi
mov ecx, dword [0x45b900]
test eax, eax
cmovne ecx, ebx
mov dword [0x45b900], ecx
call fcn.00407160
push 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push 0x451490
push esi
mov dword [0x45b900], 0
call edi
mov ecx, dword [0x45b900]
test eax, eax
mov dword [0x45b8fc], 0
cmovne ecx, ebx
mov dword [0x45b900], ecx
call fcn.00403fd0
cmp dword [0x45b8f4], 0
jne 0x4081ce
cmp dword [0x45b92c], 0
je 0x4081ce
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 4
push 0
push 0x45148c
push esi
mov dword [0x45b900], 0
call edi
mov ecx, dword [0x45b900]
test eax, eax
cmovne ecx, ebx
mov dword [0x45b900], ecx
call fcn.00407b00
push 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push 0x45148c
push esi
mov dword [0x45b900], 0
call edi
mov ecx, dword [0x45b900]
test eax, eax
mov dword [0x45b8fc], 0
cmovne ecx, ebx
mov dword [0x45b900], ecx
call fcn.00403fd0
cmp dword [0x45b8f8], 0
jne 0x408260
cmp dword [0x45b944], 0
je 0x408260
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 4
push 0
push 0x451488
push esi
mov dword [0x45b900], 0
call edi
mov ecx, dword [0x45b900]
test eax, eax
cmovne ecx, ebx
mov dword [0x45b900], ecx
call fcn.00407620
push 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push 0x451488
push esi
mov dword [0x45b900], 0
call edi
mov ecx, dword [0x45b900]
test eax, eax
mov dword [0x45b8fc], 0
cmovne ecx, ebx
mov dword [0x45b900], ecx
call fcn.00403fd0
push str.LFCE
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00403fd0
xor cl, cl
call fcn.00403940
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ae46
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40ae85
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40ae85
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40ae85
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40ae85
cmp dword [ecx + 0x74], 0xe
jbe 0x40ae85
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433e1f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x449dac
push 0x449da4
push str.FlsAlloc
push 0x1e
call fcn.00433c4c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x433e53
push dword [ebp + 8]
mov ecx, esi
call dword [0x445284]
call esi
jmp 0x433e59
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x433e9d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x449dbc
push 0x449db4
push str.FlsGetValue
push 0x20
call fcn.00433c4c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x433ed4
push dword [ebp + 8]
mov ecx, esi
call dword [0x445284]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x434b4e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x459004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x434b99
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00434ced
test al, al
jne 0x434b93
sub edx, 2
cmp edx, edi
jne 0x434b79
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x434bbb
lea eax, [edi + 2]
cmp edx, eax
je 0x434bbb
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00434a9a
add esp, 0x10
jmp 0x434cb5
push esi
lea ecx, [ebp - 0x255]
call fcn.00434ced
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x434bfe
push dword [ebp - 0x25c]
jmp 0x434bab
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x434c3b
cmp word [ebp - 0x226], 0
je 0x434c5c
cmp word [ebp - 0x226], ax
jne 0x434c3b
cmp word [ebp - 0x224], 0
je 0x434c5c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00434a9a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x434ca8
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x434c15
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x434c90
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x434cb5
push 0x4348ca
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0043d0e0
add esp, 0x10
jmp 0x434c85
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a3ca
leave
ret

Function at 0x4357af
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4357c0
pop esi
ret
push ebx
push edi
push esi
call fcn.00435778
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0043487c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4357e8
push ebx
push esi
push edi
call fcn.00423fe0
add esp, 0xc
push 0
call fcn.0043427a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x435bac
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004357fd
Function at 0x441da0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x441dcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x441dcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
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 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac
Function at 0x401ec0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x42a044]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x138], 0x114
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x134], 5
jne 0x401f62
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x140], ecx
cmp dword [ebp - 0x140], 0
je 0x401f1c
cmp dword [ebp - 0x140], 1
je 0x401f2c
cmp dword [ebp - 0x140], 2
je 0x401f49
jmp 0x401f59
mov dword [ebp - 0xc], 0xa0
mov dword [ebp - 0x10], 0xa4
jmp 0x401f60
push 0x427ca4
call fcn.00411509
add esp, 4
mov dword [ebp - 0xc], 0x88
mov dword [ebp - 0x10], 0x8c
jmp 0x401f60
mov dword [ebp - 0xc], 0x8a
mov dword [ebp - 0x10], 0x8e
jmp 0x401f60
xor eax, eax
jmp 0x4020aa
jmp 0x401f94
cmp dword [ebp - 0x134], 4
jne 0x401f8d
cmp dword [ebp - 0x130], 0
jne 0x401f8d
cmp dword [ebp - 0x128], 2
jne 0x401f8d
mov dword [ebp - 0xc], 0x98
mov dword [ebp - 0x10], 0x9c
jmp 0x401f94
xor eax, eax
jmp 0x4020aa
mov dword [ebp - 8], 0xffffffff
mov edx, dword [ebp + 8]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x401fbc
xor eax, eax
jmp 0x4020aa
mov eax, dword [ebp + 8]
push eax
call fcn.00401d00
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401fd8
xor eax, eax
jmp 0x4020aa
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
push str.process_id__u
call fcn.00411509
add esp, 8
mov edx, dword [ebp - 4]
push edx
push str.pEprocess__u
call fcn.00411509
add esp, 8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.004112ac
add esp, 4
push str.ReadVirtualMemory
call fcn.00411509
add esp, 4
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
push eax
call fcn.00401e30
add esp, 0xc
test eax, eax
je 0x40209e
push 4
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
push edx
call fcn.00401e30
add esp, 0xc
test eax, eax
je 0x40209c
push 4
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
push ecx
call fcn.00401e70
add esp, 0xc
test eax, eax
je 0x40209c
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00401e70
add esp, 0xc
test eax, eax
je 0x40209c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x4020aa
jmp 0x4020aa
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00410ac5
mov esp, ebp
pop ebp
ret
Function at 0x403d30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x42a044]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x620], ax
push 0x206
push 0
lea ecx, [ebp - 0x61e]
push ecx
call fcn.00417b10
add esp, 0xc
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00417b10
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00417b10
add esp, 0xc
xor eax, eax
mov word [ebp - 0x640], ax
xor ecx, ecx
mov dword [ebp - 0x63e], ecx
mov dword [ebp - 0x63a], ecx
mov dword [ebp - 0x636], ecx
mov dword [ebp - 0x632], ecx
mov dword [ebp - 0x62e], ecx
mov dword [ebp - 0x62a], ecx
mov dword [ebp - 0x626], ecx
mov word [ebp - 0x622], cx
lea edx, [ebp - 0x418]
push edx
call fcn.00401000
add esp, 4
push str.gbp.ini
push 0x104
lea eax, [ebp - 0x418]
push eax
call fcn.004115ce
add esp, 0xc
mov ecx, dword [0x42e0ca]
push ecx
mov edx, dword [0x42e0c6]
push edx
push 0x42e0ce
lea eax, [ebp - 0x418]
push eax
call fcn.004038b0
add esp, 0x10
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
lea ecx, [ebp - 0x620]
push ecx
call fcn.00401000
add esp, 4
push 0x4279f8
push 0x104
lea edx, [ebp - 0x620]
push edx
call fcn.004115ce
add esp, 0xc
lea eax, [ebp - 0x620]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00410b00
add esp, 0xc
push 0x4279fc
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.004115ce
add esp, 0xc
push 0x42e10e
push 0x104
lea eax, [ebp - 0x620]
push eax
call fcn.004115ce
add esp, 0xc
push 0x42e10e
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.004115ce
add esp, 0xc
push 0x427a00
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.004115ce
add esp, 0xc
push 0x427a04
push 0x104
lea eax, [ebp - 0x620]
push eax
call fcn.004115ce
add esp, 0xc
push str..exe
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.004115ce
add esp, 0xc
lea edx, [ebp - 0x644]
push edx
push str.IDR_BINARY
push 0x83
call fcn.00405990
add esp, 0xc
mov dword [ebp - 0x648], eax
cmp dword [ebp - 0x648], 0
jne 0x403f45
jmp 0x403fdf
mov eax, dword [ebp - 0x644]
push eax
mov ecx, dword [ebp - 0x648]
push ecx
lea edx, [ebp - 0x620]
push edx
call fcn.00403a00
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0x427a34
lea eax, [ebp - 0x620]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x644]
push ecx
mov edx, dword [ebp - 0x648]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00403a00
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0x427a38
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x648], 0
je 0x404003
mov edx, dword [ebp - 0x648]
mov dword [ebp - 0x64c], edx
mov eax, dword [ebp - 0x64c]
push eax
call fcn.004112ac
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410ac5
mov esp, ebp
pop ebp
ret
Function at 0x4027e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40401d], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Marmimo
push str.Mimoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402828
xor eax, eax
jmp 0x402843
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
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 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x404e2e
Capabilities:
Encode data using xor

Disassembly:
call fcn.00404cf6
mov ecx, 0x1cf
call 0x404e2e
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x404e31
mov eax, 0x50402bf
out dx, al
clc
div esi
cmc
retf 0x3d52

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
pop edi
lds ebp, [ebp - 0x75]
inc eax
add ch, bh
sal byte [ebx + esi - 0x75], 0x95
or al, 0x51
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, eax

Function at 0x4ecc3a
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x4ec9b2
mov eax, dword [esp]
add esp, 4
sub ebx, edi
call fcn.004ecc6f
and edi, edi
xor dword [esi], eax
mov ebx, 0x5e4b3a42
and ebx, edi
inc esi
dec ebx
dec edi
cmp esi, ecx
jne fcn.004ecc3a
add ebx, edi
or ebx, ebx
and edi, ebx
ret
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4159d0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415b7a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x4f
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xc6
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x85
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x4c
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xf4
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
add esp, 0x44
push eax
call fcn.0040616d
add byte [esi + ebx], 0x34
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x9d
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xbe
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x10
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xfa
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x3e
add esp, 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x44
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0xf9
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xed
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xf5
add esp, 0x30
inc esi
cmp esi, edi
jb 0x4159f0
pop ebx
pop edi
pop esi
ret

Function at 0x4035f3
Capabilities:
Terminate process

Disassembly:
jmp 0x453df9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453e0a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405948
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 0x40371f
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c842
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c853
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c729
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c87b
push ebx
push esi
push edi
call fcn.0040572c
add esp, 0xc
push 0
call fcn.004062b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
out dx, al
inc ebp
or byte [ebx - 0x3f7afb09], cl
je 0x40a410
mov ecx, dword [ebp + 0xc]
jo 0x40a432
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a40a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x40a3fe
pop esi
pop ebp
ret 8
call esi
add eax, 0xafc41
pop esi
pop ebp
ret 0xd208
xor eax, eax
pop ebp
ret 0x4a
sar byte [ebx], 0x4e
add ch, dh
pop ebp
invalid
in al, dx
cmp dword [0xf08dc], 0x14
mul dword [ebx]
push 0x410728
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, edx
or byte [eax + 0x20], ch
push edi
inc eax
sbb dword [eax + 0x70], ebp
and byte [eax - 0x42], al
push 0xfb07f7
push eax
call fcn.00405600
retf 0x5dc0