joyce8/EMBER2024-capa huggingface dataset:
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 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x63
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x97
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x39
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5c
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe7
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc0
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7f
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb8
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x22
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xfb
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x8d
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x83
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x8d
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 7
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 0x451ba9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bba
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 0x49b052
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b063
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af39
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 0x49b08b
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 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 0x40169e
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x4042cb], ebp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404772], eax
xor eax, eax
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x404706], eax
mov dword [0x4042c3], eax
mov dword [0x4046f2], 0x30
mov dword [0x4046f6], 2
jmp 0x4016df
xor eax, eax
mov dword [0x4046fa], 0x403290
mov dword [0x4046fe], eax
mov dword [0x404702], eax
mov eax, 0x4041c7
mov dword [0x404712], 0xe
mov dword [0x40471a], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40470e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x40470a], eax
mov dword [0x40471e], eax
push 0x4046f2
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4042c3]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push 0x4046c8
push 0x4041c7
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404766], eax
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404766]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404722]
jmp 0x4017a6
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x401798
mov eax, dword [0x40472a]
jmp 0x4017c1
call 0x402a9e
ret
Function at 0x4ca23d
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4c9fca
or edi, edi
inc edi
call fcn.004ca26b
and esi, edi
xor dword [ecx], ebx
sub edi, 0x1fc2dd6d
sub edi, edi
inc ecx
push 0x4dd79407
pop edi
cmp ecx, eax
jne fcn.004ca23d
sub esi, edi
dec edi
ret
Function at 0x405850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sbb byte [eax - 0x75c2f115], dl
jno 0x405811
or al, 0x5d
push ebx
stc
or ebx, 0x7d479c17

Function at 0x40b6e0
Capabilities:
Terminate process

Disassembly:
or eax, dword [ecx + 0x4e]
lea esi, [eax - 0x7a97af20]
aam 0xc8
lea eax, [ebp - 0x1c]
cmp bh, bh
adc eax, 0x40c0b3
push 0x40d004
push 0xa47600
call fcn.0040b92c
call dword [0x9c0ec]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
loope 0x40b786
xchg edx, eax
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call 0x3ff500
add esp, 0x22
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp + 0x67]
push ebx
or byte [esi + 9], bh
mov dword [ebp - 0x30], ecx
cmp edx, edx
invalid
jmp 0x40b6db
invalid
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x10
push ebx
push esi
push edi
push edx
pop edi
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
push ecx
pop esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
or ebx, ebx
je 0x4016d4
push esi
pop edi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
push edi
pop edx
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
push esi
pop ebx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
or ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
push eax
pop esi
mov edx, esi
push ebx
pop ecx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x205974b5
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x454e60f1
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
sub byte [esi + ebx], 0x2c
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc8
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x14
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb6
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x38
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x32
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xbe
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x6a
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf3
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x13
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x47
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x33
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xef
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
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 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x412c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x412c13
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x412c04
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.004129bf
invalid
Function at 0x401000
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xc6ef3720
mov dword [ebp - 0x20], 0x9e3779b9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x18], edx
cmp dword [ebp + 0x10], 0
ja 0x401053
jmp 0x401122
mov dword [ebp - 0x1c], 0
jmp 0x401065
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x20
jae 0x4010be
mov ecx, dword [ebp - 0x24]
shl ecx, 4
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 8]
xor ecx, edx
mov eax, dword [ebp - 0x24]
shr eax, 5
add eax, dword [ebp - 0x18]
xor ecx, eax
mov edx, dword [ebp - 4]
sub edx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 5
add edx, dword [ebp - 0x10]
xor eax, edx
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
jmp 0x40105c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
xor ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 8
push edx
call section..text
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x401126
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xc6ef3720
mov dword [ebp - 0x20], 0x9e3779b9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x18], edx
cmp dword [ebp + 0x10], 0
ja 0x401179
jmp 0x401248
mov dword [ebp - 0x1c], 0
jmp 0x40118b
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x20
jae 0x4011e4
mov ecx, dword [ebp - 0x24]
shl ecx, 4
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 8]
xor ecx, edx
mov eax, dword [ebp - 0x24]
shr eax, 5
add eax, dword [ebp - 0x18]
xor ecx, eax
mov edx, dword [ebp - 4]
sub edx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 5
add edx, dword [ebp - 0x10]
xor eax, edx
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
jmp 0x401182
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
xor ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 8
push edx
call fcn.00401126
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x40129e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4120d8
push 0x40ca60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffde0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x128], 0x2000
push 0x40
push 0x1000
mov eax, dword [ebp - 0x128]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x418394], eax
mov dword [ebp - 0x1c], 2
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfae
push ecx
push 0x416056
mov edx, dword [0x418394]
push edx
call fcn.0040c630
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add eax, 0xfae
sar eax, 3
push eax
mov ecx, dword [0x418394]
push ecx
call fcn.0040124c
add esp, 8
mov edx, dword [ebp - 0x1c]
add edx, 0xfae
sar edx, 3
push edx
push 0x416030
mov eax, dword [0x418394]
push eax
call section..text
add esp, 0xc
mov ecx, dword [0x418394]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x78
je 0x401362
push 0
call fcn.0040c554
push 0
call fcn.0040c44b
add esp, 4
push eax
call fcn.0040c423
add esp, 4
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x40139f
call fcn.0040c42d
mov dword [ebp - 0x230], eax
call fcn.0040c42d
mov ecx, dword [ebp - 0x230]
mov byte [ecx], al
jmp 0x40137c
mov dword [ebp - 4], 0xffffffff
jmp 0x4013bd
xor edx, edx
test edx, edx
jne 0x401362
push 0xfae
mov eax, dword [0x418394]
push eax
push 0x41604c
call fcn.0040c630
add esp, 0xc
push 0xfae
push 0x41604c
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [0x418394]
push edx
call fcn.0040c079
add esp, 0x10
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xfffffffb
jne 0x40149f
push str.ez_buf_error__n
call fcn.0040c3f2
add esp, 4
push 0x8000
push 0
mov eax, dword [0x418394]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x40
push 0x1000
mov ecx, dword [ebp - 0x128]
push ecx
push 0
call dword [0x418390]
mov dword [0x418394], eax
cmp dword [0x418394], 0
jne 0x40145f
push str.VirtualFree_error
call fcn.004017b7
add esp, 4
push 0xfc5
push 0x41604c
lea edx, [ebp - 0x128]
push edx
mov eax, dword [0x418394]
push eax
call fcn.0040c079
add esp, 0x10
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jge 0x40149f
push str.ezuncompress_error__n
push 0x417790
call fcn.0040c307
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4014cc
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4120e8
push 0x40ca60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
jmp 0x401545
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax*8 + 0x41746c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx*8 + 0x417468]
mov dword [ebp - 4], eax
mov cl, byte [0x417460]
mov byte [ebp - 0x10], cl
mov dword [ebp - 0xc], 0
jmp 0x4015c2
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jae 0x401601
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [ebp - 0x14], dl
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
xor eax, ecx
mov byte [ebp - 0x14], al
mov dl, byte [ebp - 0x10]
add dl, byte [ebp - 0x14]
mov byte [ebp - 0x10], dl
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov cl, byte [ebp - 0x14]
mov byte [eax], cl
jmp 0x4015b9
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
mov byte [edx], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401611
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax*8 + 0x41746c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx*8 + 0x417468]
mov dword [ebp - 4], eax
mov cl, byte [0x417460]
mov byte [ebp - 0x10], cl
mov dword [ebp - 0xc], 0
jmp 0x401653
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jae 0x401697
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [ebp - 0x14], dl
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
xor eax, ecx
mov byte [ebp - 0x14], al
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
mov al, byte [ebp - 0x10]
add al, byte [edx]
mov byte [ebp - 0x10], al
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x14]
mov byte [ecx], dl
jmp 0x40164a
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40171a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0040cd1c
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40174c
push str.malloc_failed._Out_of_memory._n
push 0x417790
call fcn.0040c307
add esp, 8
push 0xffffffffffffffff
call fcn.0040c554
mov ecx, dword [ebp + 8]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.0040cd90
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4017b7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0x400
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esi + eax + 0x28]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4170c4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LocalSize]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00401cf0
add esp, 0x18
mov ecx, dword [ebp - 4]
push ecx
push str._Error___s
push 0x417790
call fcn.0040c307
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]