joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10038ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jae 0x10038a73
jmp 0x10038a6e
call fcn.10038a75
jae 0x10038a6e
add esp, 4
jmp 0x10038a7a
dec dword [esp]
jno 0x10038a7f
jns 0x10038a6a
jp 0x10038a83
add esp, 4
popf
jmp 0x10038a8a
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10038aa3
jne 0x10038aa3
call 0x1fc3bdf7
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
push 0
push 0
push 0
push 0x10038c20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x38], eax
clc
jae 0x10038ad1
pop ss
add byte [esi - 0x64], ah
pushf
push 0xa
jae 0x10038ade
jmp 0x10038ad9
call 0x10038ae0
jae 0x10038ad9
add esp, 4
jmp 0x10038ae5
dec dword [esp]
jno 0x10038aea
jns 0x10038ad5
jp 0x10038aee
add esp, 4
popf
jmp 0x10038af5
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10038b0e
jne 0x10038b0e
add byte [ebx + eax - 0x15], bh
add eax, dword [eax]
jl 0x10038b13
jmp 0x10038b15
je 0x10038b10
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10038b2f
jne 0x10038b2e
call 0x93077bb6
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x10038b3d
jne 0x10038b3d
call 0x10cc08c4
cmp dword [ebp - 0x38], 0
jne 0x10038c0c
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0x52
mov byte [ebp - 0x31], 0x4f
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2f], 0x21
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x20
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0x66
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x2c
mov byte [ebp - 0x16], 0x20
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x43
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], 0x30
mov byte [ebp - 8], 0x78
mov byte [ebp - 7], 0x35
mov byte [ebp - 6], 0x21
mov byte [ebp - 5], 0
call fcn.1001d700
mov eax, dword [ebp - 0x38]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003eb91
mov esp, ebp
pop ebp
ret
Function at 0x1003a3e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1003a590
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1003a4ad
mov edx, dword [ebp - 4]
cmp edx, dword [0x1007a200]
jb 0x1003a42a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1007a204]
ja 0x1003a42a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003a3fa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10040850
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1003a450
jmp 0x1003a4ad
cmp dword [ebp - 0x14], 0x10000
jne 0x1003a493
cmp dword [ebp - 0x18], 0x10000
jb 0x1003a493
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003a486
mov eax, dword [ebp - 8]
jmp 0x1003a4af
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1003a4a8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1003a590
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003a3fa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003a4c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1003a5c0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1003a585
mov edx, dword [ebp - 4]
cmp edx, dword [0x1007a200]
jb 0x1003a505
mov eax, dword [ebp - 4]
cmp eax, dword [0x1007a204]
ja 0x1003a505
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003a4d5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10040850
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1003a52b
jmp 0x1003a585
cmp dword [ebp - 0x14], 0x10000
jne 0x1003a56e
cmp dword [ebp - 0x18], 0x10000
jb 0x1003a56e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003a561
mov eax, dword [ebp - 8]
jmp 0x1003a587
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1003a580
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1003a5c0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003a4d5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003a5f0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1003a9e0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1007bb94], 0
jne 0x1003a62d
cmp dword [0x1007bb90], 0
je 0x1003a62d
mov eax, dword [0x1007bb90]
mov dword [0x1007bb94], eax
cmp dword [0x1007bb94], 0
je 0x1003a6aa
mov ecx, dword [0x1007bb94]
cmp dword [ecx + 8], 0
je 0x1003a6aa
mov edx, dword [0x1007bb94]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1003a6aa
mov ecx, dword [0x1007bb94]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1003a6aa
mov eax, dword [0x1007bb94]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1003a679
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1003a680
xor eax, eax
jmp 0x1003a7c9
mov ecx, dword [0x1007bb94]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.10040850
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1003a7c9
mov edx, dword [0x1007bb90]
mov dword [0x1007bb94], edx
jmp 0x1003a6c6
mov eax, dword [0x1007bb94]
mov ecx, dword [eax + 4]
mov dword [0x1007bb94], ecx
cmp dword [0x1007bb94], 0
je 0x1003a706
cmp dword [0x1007bb94], 0
je 0x1003a704
mov edx, dword [0x1007bb94]
cmp dword [edx + 8], 0
je 0x1003a704
mov eax, dword [0x1007bb94]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1003a704
mov edx, dword [0x1007bb94]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1003a704
jmp 0x1003a65e
jmp 0x1003a6b8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1003a7d0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a7c7
mov eax, dword [ebp - 0x18]
mov dword [0x1007bb94], eax
mov ecx, dword [0x1007bb94]
mov dword [ecx], 0x52727464
mov edx, dword [0x1007bb94]
mov dword [edx + 8], 0
mov eax, dword [0x1007bb94]
mov ecx, dword [0x1007bb90]
mov dword [eax + 4], ecx
mov edx, dword [0x1007bb94]
mov dword [0x1007bb90], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1007bb94]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1003a797
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1003a7b7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1003a78e
mov eax, dword [0x1007bb94]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1003a65e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100511ea
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10051060
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 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x68ee27f3
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x3aef3cda
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x417a10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x58
mov eax, dword [0x62e038]
mov dword [esp + 4], 0
push esi
lea ecx, [eax + eax]
mov eax, dword [0x62e03c]
or ecx, eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
fild qword [esp + 4]
test ecx, ecx
fadd qword [0x62e050]
fstp qword [0x62e050]
je 0x417a63
mov eax, dword [0x6317f0]
test eax, eax
je 0x417a57
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dl, byte [0x62e042]
mov cl, byte [0x62e049]
xor cl, dl
mov edx, dword [0x62e030]
mov byte [0x62e049], cl
mov ecx, dword [0x62e034]
and ecx, 4
and eax, 0xc
add edx, ecx
mov esi, dword [0x62e038]
mov dword [0x62e030], edx
mov edx, dword [0x62e048]
and edx, 0xff
push ebp
imul eax, edx
xor esi, eax
push edi
lea eax, [esp + 0x14]
push 0x50
push eax
mov dword [0x62e038], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x15]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x62e04e]
mov ecx, ebp
and ecx, 3
lea edx, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov cl, byte [0x62e040]
push edx
and cl, al
mov byte [0x62e040], cl
mov cl, byte [0x62e047]
or cl, 2
shr cl, 1
and ecx, 0xff
mov dword [esp + 0x6c], ecx
fild dword [esp + 0x6c]
fdivr qword [0x62e050]
fadd qword [0x62c2b0]
fstp qword [0x6319c0]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x6317f0], eax
test eax, eax
pop ebp
je 0x417b88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate
push eax
call esi
mov dword [0x6317ec], eax
mov eax, dword [0x6317f0]
push str.DirectSoundEnumerateA
push eax
call esi
mov ecx, dword [0x6317ec]
mov dword [0x6317f4], eax
test ecx, ecx
je 0x417b7e
test eax, eax
je 0x417b7e
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dword [0x6317f0], 0
xor eax, eax
pop esi
add esp, 0x58
ret 4

Function at 0x436e60
Capabilities:
Encode data using xor

Disassembly:
mov eax, edi
sub eax, dword [ebp - 8]
jmp 0x4370e5
xor ebx, ebx
cmp al, 0x2a
je 0x436e88
cmp al, 0x30
jb 0x436ea7
cmp al, 0x39
ja 0x436ea7
imul ebx, ebx, 0xa
sub al, 0x30
movzx eax, al
add ebx, eax
cmp esi, ecx
je 0x436e82
lodsb al, byte [esi]
jmp 0x436e66
pop eax
jmp 0x436db8
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jg 0x436ea2
push ss
pushfd
in eax, dx
daa
cmp byte [eax - 0x49dd3afa], bh
adc eax, 0x67c972c5
out dx, eax
xchg cl, bh
mov al, 0x16
xchg dh, bl
cmpsd dword [esi], dword es:[edi]
insb byte es:[edi], dx
sub eax, 0xcae47d87
int1
nop
push 0x9c11b90d
stc
rol dword [ebx - 0x5b754f9c], cl
scasd eax, dword es:[edi]
mov esp, 0xa830d6bb
outsb dx, byte [esi]
dec ebp
jmp 0x68f7cf57
Function at 0x47f5fe
Capabilities:
Encode data using xor

Disassembly:
push ebx
jg 0x47f5fa
xor byte [ebx + 0x4dfd33a6], dl
retf
neg dword [esi + 0x38f4cc44]
invalid
int3
jae 0x47f5aa
adc dword [edx - 0x7b762241], ebx
adc eax, edi
push edx
or dword [ebx + ebx*8 + 0x389a3db6], 0xfe0a5d0b
add edi, dword [ebx]
xor ecx, ebx
push eax
pop ds
jo 0x47f5f7
clc
test al, 0xf9
dec edi
and eax, 0xd9f5a9fb
mov ebx, 0x89dfb5a9
invalid

Function at 0x4881aa
Capabilities:
Encode data using xor

Disassembly:
adc dh, byte [edx]
xor eax, edi
jl 0x488195
inc ecx
pop ss
sar byte [ebx - 0x59e3ca22], 1
sbb al, 0xa6

Function at 0x6275d5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x62e3c8
cmp edx, dword [eax]
je 0x6275f7
add eax, 8
inc ecx
cmp eax, 0x62e458
jl 0x6275e8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x62e3c8]
jne 0x627725
mov eax, dword [0x633d60]
cmp eax, 1
je 0x6276ff
test eax, eax
jne 0x627628
cmp dword [0x62e2f0], 1
je 0x6276ff
cmp edx, 0xfc
je 0x627725
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62765f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00627fc0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00628450
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6276a2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00628450
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62c634
push edi
call fcn.0062a320
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00627fc0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00627fd0
lea eax, [ebp - 0xa0]
push 0x62c614
push eax
call fcn.00627fd0
push dword [esi + 0x62e3cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00627fd0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062a294
add esp, 0x2c
pop edi
jmp 0x627725
lea eax, [ebp + 8]
lea esi, [esi + 0x62e3cc]
push 0
push eax
push dword [esi]
call fcn.00628450
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x69ec286e
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x56e711c7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x405433
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x47c084]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
xor esi, esi
or eax, 0x2001f
lea ebx, [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.004056a3
mov ebx, eax
cmp ebx, esi
je 0x405495
cmp dword [esp + 0x10], esi
je 0x405491
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x40550b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4054b3
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00405433
mov dword [esp + 0x24], eax
cmp eax, esi
jne 0x405522
lea eax, [esp + 0x28]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call ebx
test eax, eax
je 0x40549d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10], esi
je 0x4054ee
push dword [esp + 0x10]
call ebx
mov dword [esp + 0x10], esi
push dword [esp + 0x20]
mov dword [esp + 0x18], esi
call fcn.004053c5
mov edi, eax
cmp dword [esp + 0x10], esi
je 0x405509
push dword [esp + 0x10]
call ebx
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00411a01
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0x10], esi
je 0x405532
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
jmp 0x40550b
Function at 0x408186
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x458f4b
call fcn.00452747
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x4081de
call fcn.00406f40
mov esi, eax
jmp 0x4082e8
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x4081f7
call fcn.00406f40
jmp 0x4082da
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x4081ed
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x408234
mov esi, 0x8007000e
jmp 0x4082dc
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x408249
cmp eax, 0xffffffff
jbe 0x408253
push 0x80070216
call fcn.00405ccf
cmp eax, 0x400
jbe 0x408280
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.004073b6
jmp 0x40828c
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], esi
je 0x40822a
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x4081ed
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.00408026
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x408301
lea eax, [ebp - 0x418]
call fcn.004073ee
mov eax, esi
call fcn.004527a3
ret 0xc
Function at 0x40ba2a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ba8e
cmp dword [ebp + 0xc], 1
je 0x40ba66
cmp dword [ebp + 0xc], 2
je 0x40ba66
push 0xd
pop eax
jmp 0x40ba8e
mov eax, dword [ebp - 4]
test edi, edi
je 0x40ba88
test eax, eax
je 0x40ba83
test al, 1
jne 0x40ba61
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40ba88
jmp 0x40ba61
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x4116d4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x47e0e0], 0
push esi
push edi
jne 0x41164a
call fcn.004115b6
test eax, eax
je 0x41168f
mov eax, dword [0x47e0e0]
cmp eax, 1
jne 0x41166b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41168f
jmp 0x4116d1
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4116d1
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x411693
xor eax, eax
jmp 0x4116d1
mov eax, dword [esi]
push dword [0x47e0e0]
call edi
mov edi, eax
test edi, edi
je 0x4116b5
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4116d1
lea edi, [esi + 0xff0]
push esi
push dword [0x47e0e0]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4116bb
mov eax, esi
pop edi
pop esi
ret
jmp 0x411636

Function at 0x411a01
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47c084]
jne 0x411a0b
repz ret
jmp fcn.00414c92