joyce8/EMBER2024-capa huggingface dataset:
Function at 0x679b30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.0075cd80
mov eax, dword [0x8a0204]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x30]
test eax, eax
je 0x679c42
movups xmm0, xmmword [edi + 0x10]
mov ebx, dword [esp + 0x50]
lea esi, [edi + 0x10]
dec eax
mov dword [esp + 0x10], ebx
movups xmmword [esp + 0x2c], xmm0
and byte [esp + 0x38], 0x7f
lea ecx, [esp + 0x2c]
push 1
mov dword [edi + 0x30], eax
push ecx
psrldq xmm0, 8
movd eax, xmm0
push 0
push 0
and al, 0x7f
mov byte [esp + 0x44], al
mov eax, dword [edi + 0x20]
push 0
push eax
mov dword [esp + 0x30], eax
call fcn.005a89e0
add esp, 0x18
test eax, eax
je 0x679c42
push dword [esp + 0x10]
lea eax, [esp + 0x14]
push dword [esp + 0x18]
push eax
push ebp
push dword [esp + 0x28]
call fcn.005a9470
add esp, 0x14
test eax, eax
je 0x679c42
push ebx
push ebp
lea eax, [esp + 0x24]
push eax
push edi
call fcn.0067a0e0
add esp, 0x10
test eax, eax
je 0x679c42
lea eax, [esi + 0xf]
xor edx, edx
lea ecx, [esp + 0x1c]
cmp ecx, eax
ja 0x679c13
lea eax, [esp + 0x2b]
cmp eax, esi
jb 0x679c13
mov eax, ecx
sub esi, eax
lea ecx, [esp + 0x1c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, 0x10
jl 0x679c00
jmp 0x679c24
movups xmm1, xmmword [esp + 0x1c]
movups xmm0, xmmword [esi]
pxor xmm1, xmm0
movups xmmword [esp + 0x1c], xmm1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
or ecx, dword [esp + 0x24]
or eax, dword [esp + 0x28]
or ecx, eax
je 0x679c57
push ebx
push ebp
call fcn.0055bf70
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0075c173
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
mov eax, ebx
mov dword [edi + 0x2c], 0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0075c173
add esp, 0x30
ret
Function at 0x7a0b00
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x7a0b43
call fcn.0077d33d
mov dword [eax], 0xf
call fcn.0077d350
mov dword [eax], 0xd
call fcn.0077d588
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
leave
ret
test eax, eax
jne 0x7a0b4a
inc eax
jmp 0x7a0b37
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x7a0b35
xor eax, eax
cmp ecx, 1
setne al
jmp 0x7a0b37

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x126c0f90
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
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
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
mov ecx, 0x65c46f71
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c4
call fcn.0040bd50
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call fcn.00402ef0
add esp, 0xc
xor eax, eax
mov edx, eax
mov ebx, eax
shr edx, 0xa
mov ecx, eax
shr ebx, 0xe
xor dl, 1
and ebx, 3
shr ecx, 8
and dl, 5
add ebx, 5
and ecx, 3
add dl, 3
shr ebx, cl
movsx ecx, al
movsx edx, dl
imul edx, ecx
xor bl, dl
mov byte [ebp + eax - 0x3a988], bl
inc eax
cmp eax, 0x3a980
jb 0x401dd4
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004021c3
mov esp, ebp
pop ebp
ret
Function at 0x401ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.0040bd50
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call fcn.00402ef0
add esp, 0xc
xor eax, eax
mov edx, eax
movsx ecx, al
shr edx, 5
movsx edx, dl
imul edx, ecx
movsx ecx, al
imul ecx, ecx, 0xffffffd6
and dl, al
xor dl, cl
mov byte [ebp + eax - 0x3a988], dl
inc eax
cmp eax, 0x3a980
jb 0x401f43
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004021c3
mov esp, ebp
pop ebp
ret
Function at 0x402020
Capabilities:
Create thread
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push 0x34
push str.3gp.exe_by_pankoza
push str.This_is_a_Malware__nClick_yes_to_run._nClick_no_to_exit.
push 0
call esi
cmp eax, 7
jne 0x40204d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x34
push 0x411ab0
push str.Are_you_sure__It_will_destroy_this_computer_and_it_contains_flashing_lights___NOT_for_epilepsy
push 0
call esi
cmp eax, 7
jne 0x40206a
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00401a50
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x4012e0
push 0
push 0
call edi
push 0x7530
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push 0
push 0
call ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401bd0
push 0
push 0
push 0
push 0x401590
push 0
push 0
call edi
push 0
push 0
push 0
push 0x4017d0
push 0
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x7530
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call edi
push 0
push 0
push 0
call ebx
call fcn.00401d50
push 0
push 0
push 0
push 0x4018b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x7530
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call edi
push 0
push 0
push 0
call ebx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401ec0
push 0
push 0
push 0
push 0x4019e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x4017d0
push 0
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call edi
push 0
push 0
push 0
call ebx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001bee0
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001ec7a
push ebx
push esi
call fcn.1001eba6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001eb3a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001ec27
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001ec79
push edi
push eax
call fcn.1001cc1d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001ec47
call fcn.1001d682
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001ec78
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001eb3a
add esp, 0x20
test eax, eax
jne 0x1001ec66
push edi
call fcn.1001d682
jmp 0x1001ec6e
push ebx
call fcn.1001d682
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001eee7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026d10
push 0x10026d08
push str.FlsAlloc
push 0x1f
call fcn.1001ee03
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001ef1b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002514c]
call esi
jmp 0x1001ef21
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001ef65
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026d20
push 0x10026d18
push str.FlsGetValue
push 0x21
call fcn.1001ee03
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001ef9c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002514c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001efa4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026d28
push 0x10026d20
push str.FlsSetValue
push 0x22
call fcn.1001ee03
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001efde
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002514c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10024580
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100245ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100245ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x40892a
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edx
dec edi
call fcn.0040895d
inc edi
xor dword [eax], edx
add ecx, 0xa565b6b0
inc eax
cmp eax, ebx
jne fcn.0040892a
sub ecx, 0xaf6200d
ret
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426004]
jne 0x401010
repz ret
jmp fcn.0040176d

Function at 0x40655b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004032f4
and dword [ebp - 4], 0
cmp dword [0x4280dc], 0
mov ebx, eax
jne 0x40660c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4066bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4066bd
push eax
call fcn.00403282
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4280dc], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4280e0], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4280e4], eax
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x4280ec], eax
test eax, eax
je 0x40660c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x4280e8], eax
mov eax, dword [0x4280e8]
cmp eax, ebx
je 0x406664
cmp dword [0x4280ec], ebx
je 0x406664
push eax
call fcn.004032fd
push dword [0x4280ec]
mov esi, eax
call fcn.004032fd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406664
test edi, edi
je 0x406664
call esi
test eax, eax
je 0x40665b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40665b
test byte [ebp - 0xc], 1
jne 0x406664
or dword [ebp + 0x10], 0x200000
jmp 0x40669d
mov eax, dword [0x4280e0]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40669d
mov eax, dword [0x4280e4]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4280dc]
call fcn.004032fd
pop ecx
test eax, eax
je 0x4066bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4066bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4206a8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x436044]
push dword [0x435d60]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x420737
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x420761
push esi
and dword [ebp - 4], 0
lea esi, [ebp - 4]
call fcn.0042072c
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edi
xor byte [eax], cl
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x420744
pop esi
cmp dword [ebp + 0xc], 0x2d
pop edi
jne 0x420779
or dword [0x436054], 0xffffffff
mov dword [0x436050], 0xa62e7790
leave
ret
Function at 0x474e69
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x474e97
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474eb5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00474dd3
jmp 0x474eb5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x474eb5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00474dd3
test edi, edi
mov eax, edi
jne 0x474e9f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4bea44]
test ecx, ecx
je 0x474f68
jmp 0x474e68
ret 8

Function at 0x4830e0
Capabilities:
Check for software breakpoints

Disassembly:
lodsd eax, dword [esi]
mov esi, ds
outsd dx, dword [esi]
push cs
xor dh, byte [esp + ebx - 0x78]
add eax, 0xc5c276bc
invalid
inc ebx
inc edi
add al, 0xc1
rcl dword [esi], 0x45
rcl dword [esi], 0x45
lea esp, [ebx - 0x33995bc5]
mov ebp, 0xba663138
cmp al, 0xcc
inc esi
movsb byte es:[edi], byte [esi]
mov byte [0x7a14f669], al
jp 0x4830dc
fsub dword [ecx + 0x1b]
xchg esi, eax
jnp 0x4830ae
mov esp, 0xec0d7ce6
out dx, al
invalid
Function at 0x41d830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552040
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ec3c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0050a489
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004f2ee4
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ef90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [ebp + 0x10]
push edi
lea edi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41efa0
mov ecx, dword [ecx + 4]
sub edx, edi
sar edx, 1
test ecx, ecx
jne 0x41efc0
lea eax, [ecx + 6]
pop edi
mov esp, ebp
pop ebp
ret 0x10
lea eax, [edx*2 + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x423310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi]
movzx eax, byte [esi]
cmp byte [eax + 0x5c82b8], 0
je 0x423340
nop word [eax + eax]
movzx eax, byte [esi + 2]
add esi, 2
cmp byte [eax + 0x5c82b8], 0
jne 0x423330
mov dword [edi], esi
mov ecx, esi
movzx eax, byte [esi]
mov dword [esp + 0x10], ecx
cmp byte [eax + 0x5c85b8], 0
je 0x42351e
mov ebx, 0x26
lea ebp, [ebx + 1]
movzx eax, word [esi]
mov edx, eax
cmp eax, 0x26
jne case.0x423385.36
movzx eax, word [esi + 2]
add eax, 0xffffffdd
cmp eax, 0x4e
ja case.0x423385.36
movzx eax, byte [eax + 0x423560]
jmp dword [eax*4 + 0x423548]
movzx eax, word [esi + 4]
cmp eax, 0x6d
jne 0x4233b9
cmp word [esi + 6], 0x70
jne case.0x423385.36
cmp word [esi + 8], 0x3b
jne case.0x423385.36
mov word [ecx], bx
add ecx, 2
add esi, 0xa
jmp 0x42350a
cmp eax, 0x70
jne case.0x423385.36
cmp word [esi + 6], 0x6f
jne case.0x423385.36
cmp word [esi + 8], 0x73
jne case.0x423385.36
cmp word [esi + 0xa], 0x3b
jne case.0x423385.36
mov word [ecx], bp
add ecx, 2
add esi, 0xc
jmp 0x42350a
cmp word [esi + 4], 0x75
jne case.0x423385.36
cmp word [esi + 6], 0x6f
jne case.0x423385.36
cmp word [esi + 8], 0x74
jne case.0x423385.36
cmp word [esi + 0xa], 0x3b
jne case.0x423385.36
mov eax, 0x22
mov word [ecx], ax
add ecx, 2
add esi, 0xc
jmp 0x42350a
cmp word [esi + 4], 0x74
jne case.0x423385.36
cmp word [esi + 6], 0x3b
jne case.0x423385.36
mov eax, 0x3e
mov word [ecx], ax
add ecx, 2
add esi, 8
jmp 0x42350a
cmp word [esi + 4], 0x74
jne case.0x423385.36
cmp word [esi + 6], 0x3b
jne case.0x423385.36
mov eax, 0x3c
mov word [ecx], ax
add ecx, 2
add esi, 8
jmp 0x42350a
movzx ecx, word [esi + 4]
xor edx, edx
cmp ecx, 0x78
jne 0x4234ba
movzx eax, byte [esi + 6]
add esi, 6
mov al, byte [eax + 0x5c88b8]
cmp al, 0xff
je 0x4234e9
nop
add esi, 2
movzx eax, al
shl edx, 4
add edx, eax
movzx eax, byte [esi]
mov al, byte [eax + 0x5c88b8]
cmp al, 0xff
jne 0x4234a0
jmp 0x4234e9
movzx eax, cl
add esi, 4
mov al, byte [eax + 0x5c88b8]
cmp al, 0xff
je 0x4234e9
nop word [eax + eax]
movzx eax, al
lea ecx, [edx + edx*4]
add esi, 2
lea edx, [eax + ecx*2]
movzx eax, byte [esi]
mov al, byte [eax + 0x5c88b8]
cmp al, 0xff
jne 0x4234d0
lea ecx, [esp + 0x10]
call fcn.00423210
cmp word [esi], 0x3b
jne 0x42352a
mov ecx, dword [esp + 0x10]
add esi, 2
jmp 0x42350e
add esi, 2
mov word [ecx], dx
add ecx, 2
mov dword [esp + 0x10], ecx
movzx eax, byte [esi]
cmp byte [eax + 0x5c85b8], 0
jne 0x423360
mov dword [edi], esi
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push esi
push str.expected__
lea ecx, [esp + 0x1c]
call fcn.00421d90
push 0x5e7e08
mov eax, ecx
push eax
call fcn.0050e3ec
nop
xor byte [edx + eax*2], 0
invalid