joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d8000
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
or eax, 0xffffffff
cmp dword [0x6e81b8], 0
push esi
jne 0x4d80c8
xor esi, esi
push ebx
mov edx, esi
mov ecx, esi
shr edx, 1
mov ebx, edx
xor ebx, 0xedb88320
and cl, 1
cmove ebx, edx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
and dl, 1
cmove ebx, ecx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
and dl, 1
cmove ebx, ecx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
and dl, 1
cmove ebx, ecx
mov edx, ebx
shr edx, 1
mov ecx, edx
xor ecx, 0xedb88320
and bl, 1
cmove ecx, edx
mov dword [esi*4 + 0x6e7db8], ecx
inc esi
cmp esi, 0x100
jl 0x4d8017
mov dword [0x6e81b8], 1
pop ebx
mov esi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x4d80ee
push edi
mov edi, dword [ebp + 8]
movzx ecx, byte [edx + edi]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6e7db8]
cmp edx, esi
jl 0x4d80d5
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x4d8100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor edx, edx
test esi, esi
jle 0x4d812d
push edi
mov edi, dword [ebp + 8]
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c3fb0]
cmp edx, esi
jl 0x4d8114
pop edi
not ecx
mov eax, ecx
mov edx, ecx
shr eax, 8
movzx esi, al
movzx eax, cl
shl eax, 8
or eax, esi
shr edx, 0x10
shl eax, 8
movzx edx, dl
or eax, edx
shr ecx, 0x18
shl eax, 8
or eax, ecx
pop esi
pop ebp
ret

Function at 0x4d8960
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
dec byte [ecx]
xor edi, edi
nop dword [eax]
mov eax, edi
inc byte [ecx]
cdq
inc edi
idiv dword [ebp + 0x10]
movzx esi, byte [ecx]
mov eax, dword [ebp + 0xc]
mov bl, byte [esi + ecx + 2]
movzx eax, byte [edx + eax]
add al, bl
add byte [ecx + 1], al
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + ecx + 2]
mov byte [esi + ecx + 2], al
movzx eax, byte [ecx + 1]
mov byte [eax + ecx + 2], bl
cmp edi, 0x100
jl 0x4d8970
mov al, byte [ecx]
pop edi
pop esi
mov byte [ecx + 1], al
pop ebx
pop ebp
ret
Function at 0x4da360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6c4cb8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor dl, dl
push esi
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
movzx esi, dl
mov dword [ebp - 0x1c], esi
mov eax, dword [ebx + esi*4]
xor eax, dword [ecx + esi*4]
jne 0x4da3ad
or eax, 0xffffffff
jmp 0x4da3fe
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x4da3d3
mov eax, ecx
shr eax, 8
test eax, eax
je 0x4da3c9
mov al, byte [eax + 0x537f88]
add al, 0x18
jmp 0x4da3ec
mov al, byte [ecx + 0x537f88]
add al, 0x10
jmp 0x4da3ec
mov ecx, eax
shr ecx, 8
test ecx, ecx
je 0x4da3e6
mov al, byte [ecx + 0x537f88]
add al, 8
jmp 0x4da3ec
mov al, byte [eax + 0x537f88]
movzx ecx, al
inc ecx
cmp ecx, 0x20
jb 0x4da3f9
xor eax, eax
jmp 0x4da3fe
or eax, 0xffffffff
shl eax, cl
mov ecx, dword [ebx + esi*4 + 0x10]
mov edi, eax
mov dword [ebp + esi*4 - 0x14], eax
cmp eax, ecx
jbe 0x4da414
mov eax, ecx
mov dword [ebp + esi*4 - 0x14], ecx
mov edi, ecx
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebx + esi*4]
mov ebx, dword [ebp - 0x18]
cmp eax, esi
ja 0x4da4e6
cmp eax, 0xffffffff
jb 0x4da446
inc dl
cmp dl, 4
jb 0x4da397
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f181f
mov esp, ebp
pop ebp
ret
cmp dl, 4
jae 0x4da529
cmp edi, ecx
jae 0x4da529
lea esi, [ebx + 0x10]
push esi
push ebx
call fcn.004d9e00
mov ecx, dword [ebx + 0x20]
mov edi, eax
movups xmm0, xmmword [ebp - 0x14]
add esp, 8
mov dword [edi + 0x20], ecx
mov ecx, dword [ebx + 0x24]
mov dword [edi + 0x24], ecx
xor cl, cl
movups xmmword [esi], xmm0
nop dword [eax + eax]
movzx eax, cl
mov edx, dword [ebx + eax*4 + 0x10]
cmp edx, 0xffffffff
jb 0x4da4ae
inc cl
cmp cl, 4
jb 0x4da480
mov dword [ebx + 0x24], edi
pop edi
pop esi
mov dword [ebx + 0x20], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f181f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + eax*4]
test edx, edx
jne 0x4da4bd
and ecx, 0x80000000
jmp 0x4da4c7
mov eax, edx
not edx
shr eax, 1
and eax, edx
and ecx, eax
test ecx, ecx
je 0x4da493
mov dword [ebx + 0x20], edi
pop edi
pop esi
mov dword [ebx + 0x24], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f181f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
inc dl
mov dword [ebx + eax*4 + 0x10], esi
cmp dl, 4
jae 0x4da508
movzx edi, dl
mov al, 4
add edi, 4
sub al, dl
movzx ecx, al
xor eax, eax
lea edi, [ebx + edi*4]
rep stosd dword es:[edi], eax
push dword [ebx + 0x20]
call fcn.004da130
push dword [ebx + 0x24]
call fcn.004da130
add esp, 8
mov dword [ebx + 0x24], 0x6e8404
mov dword [ebx + 0x20], 0x6e8404
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f181f
mov esp, ebp
pop ebp
ret
Function at 0x4f0020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
add edi, 0x1000
mov dword [ebp - 4], 0x12
mov dword [ebp - 8], edi
nop
mov ebx, dword [ebp + 0xc]
xor edx, edx
movzx ecx, ax
lea esi, [edx + 4]
nop dword [eax + eax]
cmp cx, word [ebp + 0x10]
sbb eax, eax
shl edx, 8
and eax, ecx
movzx ecx, ax
movzx eax, byte [ecx + ebx]
or edx, eax
lea eax, [ecx + 1]
movzx ecx, ax
sub esi, 1
jne 0x4f0050
mov edi, dword [ebp - 8]
mov eax, ecx
xor dword [edi], edx
add edi, 4
sub dword [ebp - 4], 1
mov dword [ebp - 8], edi
jne 0x4f0040
mov ebx, dword [ebp + 8]
mov edi, 9
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
lea esi, [ebx + 0x1004]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
call fcn.004efbb0
mov eax, dword [ebp - 4]
lea esi, [esi + 8]
mov dword [esi - 0xc], eax
add esp, 0xc
mov eax, dword [ebp - 8]
mov dword [esi - 8], eax
sub edi, 1
jne 0x4f0096
mov esi, ebx
mov dword [ebp - 0xc], 4
mov edi, 0x80
nop dword [eax]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
call fcn.004efbb0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
add esi, 8
sub edi, 1
jne 0x4f00d0
sub dword [ebp - 0xc], 1
jne 0x4f00c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f02f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f0570
Function at 0x405695
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4056b6
jl 0x4056ad
test edi, edi
jne 0x4056b6
xor eax, eax
xor edx, edx
jmp 0x405777
cmp dword [ebx + 0x38], 0
je 0x4056cb
push eax
push edi
push dword [ebp + 8]
call fcn.0040577d
jmp 0x405777
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x405712
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x405712
cmp eax, edi
jb 0x4056ec
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.004076b0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x405718
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40576c
mov ecx, ebx
call fcn.00404edb
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x405757
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040ba0a
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40576c
jmp 0x40572a
test edx, edx
je 0x40576c
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040ba0a
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x40586c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x40588e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405951
jmp 0x40594c
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x4058b4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4058b9
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x405919
jg 0x4058ce
test esi, esi
je 0x405919
test ecx, ecx
jl 0x405914
jg 0x4058d8
test eax, eax
je 0x405914
cmp edi, ecx
jg 0x4058ea
jl 0x4058e2
cmp esi, eax
jae 0x4058ea
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.004076b0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x40591c
mov ecx, dword [ebp + 8]
jmp 0x405926
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x405940
jg 0x405926
test esi, esi
je 0x405940
cmp dword [ebx + 0x4c], 0
je 0x405940
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040c076
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x406f02
Capabilities:
Parse pe header

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

Function at 0x41246e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004122e4

Function at 0x41cf50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41cf7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41cf7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406389
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 0x4063ad
xor eax, eax
test eax, eax
je 0x4063c0
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4063c0
xor ecx, ecx
jmp 0x4063c3
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x409014]
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 eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
leave
ret 4

Function at 0x4064a6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x426dac], 0
push esi
jne 0x4064dd
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 0x4064b7
mov dword [ecx*4 + 0x426da8], eax
inc ecx
cmp ecx, 0x100
jl 0x4064b2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40650e
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 + 0x426da8]
xor eax, esi
inc ecx
dec edx
jne 0x4064f0
pop edi
not eax
pop esi
ret 0xc

Function at 0xfb2430
Capabilities:
Encode data using xor

Disassembly:
jmp 0xfb243a
pushal
call 0xfb2440
pop ebp
sub ebp, 0x10
sub ebp, 0xbb2430
jmp 0xfb2456
mov eax, 0xbb2430
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ca
mov edx, 0x8debce23
xor byte [eax], dl
inc eax
dec ecx
jne 0xfb246d
jmp 0xfb2480
test al, 0xee
test al, 0xaa
pop ds
and esp, dword [ebx]
and esp, dword [edx + 0x2323dbe2]
and esp, dword [eax]
out dx, al
wait
and esp, dword es:[ebx]
and ebx, dword [ecx + 0x2323230b]
aam 0xc1
and bl, ch
test al, 0xa2
das
and esp, dword [ebx]
and esp, dword [eax]
out 0xae, al
inc edi
pop es
fild qword [edx + 0x4b730727]
xchg edi, eax
jg 0xfb24ef
and ecx, dword [ebx + 0x59]
in al, 0xbf
and esp, dword [edx]
sysret
cmpsb byte [esi], byte es:[edi]
xlatb
invalid
Function at 0x418010
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, 0x190
push edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
mov eax, dword [0x635b9c]
push eax
call dword [sym.imp.ole32.dll_RevokeDragDrop]
mov ecx, dword [0x632038]
mov ebp, dword [0x63203c]
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x24]
lea edx, [ecx + ecx]
push eax
or edx, ebp
push edi
mov dword [esp + 0x30], edx
fild qword [esp + 0x30]
fadd qword [0x632050]
fstp qword [0x632050]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [esp + 0x18]
mov edi, eax
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41811f
mov ebp, 4
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
call sub.comdlg32.dll_FindTextA
test edi, edi
je 0x4180ba
mov edx, dword [0x635b9c]
push 0x63588c
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.Browse_For_Folder_Width
push eax
call edi
test eax, eax
jne 0x4180e7
mov ebx, dword [esp + 0x1c]
xor esi, esi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Browse_For_Folder_Height
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x418114
or esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
mov edx, ebx
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x4ac4d5
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add ebp, 4
add byte [eax], al
add byte [eax - 0x48], dl
add al, 0
add byte [eax], al
Function at 0x62aaf1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x632458
cmp edx, dword [eax]
je 0x62ab13
add eax, 8
inc ecx
cmp eax, 0x6324e8
jl 0x62ab04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x632458]
jne 0x62ac41
mov eax, dword [0x636de0]
cmp eax, 1
je 0x62ac1b
test eax, eax
jne 0x62ab44
cmp dword [0x632380], 1
je 0x62ac1b
cmp edx, 0xfc
je 0x62ac41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62ab7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062b4d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062b960
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62abbe
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062b960
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62f904
push edi
call fcn.0062d830
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062b4d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062b4e0
lea eax, [ebp - 0xa0]
push 0x62f8e4
push eax
call fcn.0062b4e0
push dword [esi + 0x63245c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062b4e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062d7a4
add esp, 0x2c
pop edi
jmp 0x62ac41
lea eax, [ebp + 8]
lea esi, [esi + 0x63245c]
push 0
push eax
push dword [esi]
call fcn.0062b960
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 0x3547f98
Capabilities:
Encode data using xor

Disassembly:
jmp 0x3547fa2
pushal
call 0x3547fa8
pop ebp
sub ebp, 0x10
sub ebp, 0x3147f98
jmp 0x3547fbe
mov eax, 0x3147f98
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b7
mov edx, 0xffefcc3
xor byte [eax], dl
inc eax
dec ecx
jne 0x3547fd5
jmp 0x3547fe8
dec eax
push cs
dec eax
dec edx
inc ebx
ret
Function at 0x406760
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 0x406784
xor eax, eax
test eax, eax
je 0x406797
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406797
xor ecx, ecx
jmp 0x40679a
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 0x4068bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dac], 0
push esi
jne 0x4068f4
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 0x4068ce
mov dword [ecx*4 + 0x427da8], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406925
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 + 0x427da8]
xor eax, esi
inc ecx
dec edx
jne 0x406907
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x2a0d4dcb
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x526e4559
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 0x6c
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x20]
mov dl, 0x6e
xor ebx, ebx
push eax
push ecx
mov dword [esi], 0x1001a200
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], bl
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], bl
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WINMM.dll
mov edi, eax
call ebp
push ebx
push ebx
push ebx
push ebx
mov dword [0x100200a0], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 4], 0x3e8
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
lea edi, [esi + 0x30]
mov ebp, 2
mov edx, dword [esi + 4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x28], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi], eax
mov eax, dword [esi + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x20], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi + 8], eax
add esp, 0x10
add edi, 4
dec ebp
jne 0x100010e4
lea eax, [esi + 0x46]
xor ecx, ecx
mov edx, eax
pop edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov word [eax], 0x31
mov word [esi + 0x48], 1
mov dword [esi + 0x4a], 0x1f40
mov dword [esi + 0x4e], 0x659
mov word [esi + 0x52], 0x41
mov word [esi + 0x54], bx
mov word [esi + 0x56], 2
mov word [esi + 0x58], 0x140
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x100014c0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.ResumeThread
mov edi, ecx
push str.KERNEL32.dll
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push str.CreateThread
push str.KERNEL32.dll
mov dword [esp + 0x24], eax
call esi
push eax
call ebp
mov ebx, eax
mov eax, dword [0x100200a0]
push str.waveInGetNumDevs
push eax
call ebp
call eax
test eax, eax
jne 0x10001516
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
mov ecx, dword [0x100200a0]
push str.waveInOpen
push ecx
call ebp
lea edx, [esp + 0x10]
mov esi, eax
push edx
push 4
push edi
push 0x100016e0
push 0
push 0
mov dword [esp + 0x28], 0
call ebx
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x10]
push 0x20000
push 0
lea ecx, [edi + 0x46]
push eax
lea ebx, [edi + 0x18]
push ecx
push 0xffff
push ebx
call esi
test eax, eax
je 0x1000156d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
mov edx, dword [0x100200a0]
push str.waveInPrepareHeader
push edx
call ebp
mov dword [esp + 0x18], eax
lea esi, [edi + 0x30]
mov dword [esp + 0x14], 2
mov eax, dword [esi]
mov ecx, dword [esi - 0x28]
push 0x20
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [esi]
mov dword [edx + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [ebx]
push eax
push ecx
call dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add esi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x1000158a
mov edx, dword [0x100200a0]
push str.waveInAddBuffer
push edx
call ebp
mov ecx, dword [edi + 0x1c]
push 0x20
mov edx, dword [edi + ecx*4 + 0x30]
mov ecx, dword [ebx]
push edx
push ecx
call eax
mov edx, dword [edi + 0x2c]
push edx
call dword [esp + 0x20]
mov eax, dword [0x100200a0]
push str.waveInStart
push eax
call ebp
mov ecx, dword [ebx]
push ecx
call eax
mov al, 1
mov byte [edi + 0x44], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret