joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100105a0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x10010750
mov eax, 0x10017540
test eax, eax
je 0x10010750
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push str.NtSetContextThread
push str.ntdll.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1015eafc], 0x10017540
mov ecx, dword [esi]
mov dword [0x1015eaec], ecx
mov edx, dword [esi + 4]
mov dword [0x1015eaf0], edx
mov dword [ebp - 0x2d4], eax
mov eax, dword [esi + 8]
mov dword [0x1015eaf4], eax
mov ecx, dword [esi + 0xc]
mov dword [0x1015eaf8], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
call fcn.10010770
push eax
push 1
push 0x1a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
cmp edi, 0xffffffff
je 0x10010665
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR100.dll_srand]
add esp, 4
push 0x10010530
call dword [sym.imp.MSVCR100.dll_rand]
cdq
mov ecx, 0xffffff
idiv ecx
push edx
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
test eax, eax
jne 0x10010678
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret
push edi
mov dword [0x1015eb00], eax
mov dword [ebp - 0x2d0], 0x10010
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push str.NtGetContextThread
push str.ntdll.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [ebp - 0x2d0]
push edx
push edi
call eax
mov eax, dword [esi]
test eax, eax
setne cl
test cl, cl
je 0x100106c3
mov edx, 1
mov dword [ebp - 0x2cc], eax
jmp 0x100106c9
mov edx, dword [ebp - 0x2d4]
lea eax, [esi + 4]
test eax, eax
je 0x100106e4
mov eax, dword [eax]
test eax, eax
setne cl
test cl, cl
je 0x100106e4
or edx, 4
mov dword [ebp - 0x2c8], eax
lea eax, [esi + 8]
test eax, eax
je 0x100106ff
mov eax, dword [eax]
test eax, eax
setne cl
test cl, cl
je 0x100106ff
or edx, 0x10
mov dword [ebp - 0x2c4], eax
add esi, 0xc
je 0x10010718
mov eax, dword [esi]
test eax, eax
setne cl
test cl, cl
je 0x10010718
or edx, 0x40
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2d0]
push eax
push edi
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], edx
call dword [ebp - 0x2d4]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret
Function at 0x10010770
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100107a2
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100107d0
mov ebx, dword [sym.imp.KERNEL32.dll_Thread32Next]
nop
cmp dword [ebp - 0x14], edi
je 0x100107e9
lea ecx, [ebp - 0x20]
push ecx
push esi
call ebx
test eax, eax
jne 0x100107c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop ebx
xor ecx, ebp
pop esi
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret
Function at 0x10017c10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100219b8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, 0xa9
xor eax, eax
mov dl, byte [eax + 0x100284b4]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x7c], dl
jns 0x10017c61
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x3e
jl 0x10017c44
push 0x1015e1ac
push 0xf003f
push ebx
lea eax, [ebp - 0x7c]
push eax
push 0x80000002
mov byte [ebp - 0x3e], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, 1
mov eax, 0x100284f4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10001570
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
call fcn.10003340
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10017cb3
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10018510
push 1
mov eax, 0x100284f8
lea ecx, [ebp - 0x2c]
call fcn.10018510
call fcn.10003340
mov ecx, eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10017ce0
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10018510
push 1
mov eax, 0x100284f8
lea ecx, [ebp - 0x2c]
call fcn.10018510
call fcn.10003340
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x10017d10
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10017d10
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10018510
push 1
mov eax, 0x100284f8
lea ecx, [ebp - 0x2c]
call fcn.10018510
call fcn.10003340
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x10017d40
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10017d40
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10018510
push 1
mov eax, 0x100284f8
lea ecx, [ebp - 0x2c]
call fcn.10018510
call fcn.10003340
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x10017d70
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10017d70
sub ecx, esi
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10018510
push 1
mov eax, 0x100284fc
lea ecx, [ebp - 0x2c]
call fcn.10018510
mov ecx, 0xa9
xor eax, eax
jmp 0x10017da0
mov dl, byte [eax + 0x10028500]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x10017dbd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x10017da0
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
mov byte [ebp - 0x2f], bl
cmp dword [ebp - 0x18], esi
jae 0x10017dd6
lea eax, [ebp - 0x2c]
mov ecx, dword [0x1015e1ac]
push 0x1f
push eax
push 1
push ebx
lea eax, [ebp - 0x3c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [0x1015e1ac]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], esi
jb 0x10017e0c
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret
Function at 0x10018370
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
push edi
push esi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov dword [ebp - 0x110], 0x2a5c7325
mov word [ebp - 0x10c], 0x2a2e
mov byte [ebp - 0x10a], 0
call ebx
add esp, 0xc
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
nop
lea ecx, [ebp - 0x224]
push ecx
push esi
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 0x110], 0x255c7325
mov word [ebp - 0x10c], 0x73
call ebx
add esp, 0x10
xor eax, eax
lea ecx, [ebp - 0x108]
push ecx
mov dword [ebp - 0x110], eax
mov word [ebp - 0x10c], ax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x250]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100183d0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret

Function at 0x10018450
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x1002e018]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x100184ea
push 0x10160fd8
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, 0x10160fd8
call fcn.10018370
mov esi, str.C:Windowsprefetch
call fcn.10018370
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x742e4d47
mov word [esp + 0x14], 0x7478
mov byte [esp + 0x16], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov dword [esp + 0xc], eax
mov word [esp + 0x10], ax
mov byte [esp + 0x12], al
call fcn.1001f130
mov edi, 0x10010130
mov ecx, eax
call fcn.1001f060
call fcn.1001f130
mov edi, 0x10017e30
mov ecx, eax
call fcn.1001f060
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001a6c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100218a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x1001a818
cmp byte [edi + 0x49], 0
je 0x1001a818
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x1001a80c
lea esi, [ebp - 0x2c]
call fcn.1001a3b0
mov dword [ebp - 4], 0
mov ebx, 0x10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp eax, ebx
jae 0x1001a76b
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x1001a770
dec eax
je 0x1001a774
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x1001a813
call fcn.100013c0
xor al, al
jmp 0x1001a81a
mov eax, dword [ebp - 0x2c]
jmp 0x1001a735
mov byte [edi + 0x49], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, edx
cmp ecx, ebx
jae 0x1001a783
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x1001a7a8
mov eax, edx
cmp ecx, ebx
jae 0x1001a793
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x1001a804
cmp byte [edi + 0x49], 0
je 0x1001a810
test esi, esi
jne 0x1001a726
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, eax
cmp edx, 8
jbe 0x1001a835
lea esi, [eax + 8]
lea eax, [ebp - 0x2c]
call fcn.10001640
test al, al
je 0x1001a726
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1001a7e1
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x18], ebx
jae 0x1001a7fb
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x1001a726
lea esi, [ebp - 0x2c]
call fcn.100013c0
xor al, al
jmp 0x1001a81a
lea esi, [ebp - 0x2c]
call fcn.100013c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret
push 0x10024abc
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3

Function at 0x1001b8f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xf1
xor ecx, ecx
jmp 0x1001b900
mov al, byte [edi + ecx - 0x210f19]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b91d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001b900
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1001bfc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x1001bfd0
mov al, byte [edi + ecx - 0x321a2a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001bfed
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x26
jl 0x1001bfd0
mov byte [esi + 0x26], 0
mov eax, esi
ret

Function at 0x1001c000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x1001c010
mov al, byte [edi + ecx - 0x321a2a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c02d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x20
jl 0x1001c010
mov byte [esi + 0x20], 0
mov eax, esi
ret

Function at 0x1001c780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x6c
xor ecx, ecx
jmp 0x1001c790
mov al, byte [edi + ecx + 0x6fad512a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c7ad
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001c790
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001ce70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xfa
xor ecx, ecx
jmp 0x1001ce80
mov al, byte [edi + ecx - 0x2b3158]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001ce9d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001ce80
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001d150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x1f
xor ecx, ecx
jmp 0x1001d160
mov al, byte [edi + ecx - 0x97d5a03]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001d17d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001d160
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001d640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x1d
xor ecx, ecx
jmp 0x1001d650
mov al, byte [edi + ecx - 0x1a1d45]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001d66d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001d650
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1001ea40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021b98
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x1001eaa3
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.1001e800
mov ecx, esi
call fcn.1001e8b0
mov ecx, edi
mov ebx, esi
call fcn.1001e990
cmp dword [ebp + 0x1c], 0x10
jb 0x1001ead2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret
Function at 0x1001edd0
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021388
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
xor edx, edx
mov ecx, 0x49
xor eax, eax
lea esp, [esp]
mov bl, byte [eax + 0x1002878c]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x20], bl
jns 0x1001ee2d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x1001ee10
mov byte [ebp - 0x14], dl
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], edx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ebx
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push ecx
push edx
call fcn.1001eb90
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x30]
call dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1001ee81
xor eax, eax
jmp 0x1001eeb8
push esi
push eax
call fcn.1001eb90
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1001ee7d
test edi, edi
jle 0x1001eeaf
lea eax, [ebp + 0xc]
mov ecx, edi
jmp 0x1001eea0
mov edx, dword [eax + 4]
add eax, 4
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
dec ecx
jne 0x1001eea0
call dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001f2b2
mov esp, ebp
pop ebp
ret

Function at 0x1001f2b2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002e018]
jne 0x1001f2bc
repz ret
jmp fcn.1001f77b
Function at 0x401920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.00403700
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
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 sub.VCRUNTIME140.dll_memset
mov edi, 6
lea ecx, [ebp - 0x3a988]
add esp, 0xc
xor eax, eax
sub edi, ecx
lea esi, [ebp - 0x3a988]
mov cl, al
add esi, eax
add cl, cl
lea edx, [edi + esi]
shr edx, 7
xor edx, eax
imul edx, eax
inc eax
shr edx, 3
and dl, cl
mov byte [esi], dl
cmp eax, 0x3a980
jb 0x4019b2
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]
pop edi
xor ecx, ebp
pop esi
call fcn.004028ec
mov esp, ebp
pop ebp
ret
Function at 0x40311d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40315c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40315c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40315c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40315c
cmp dword [ecx + 0x74], 0xe
jbe 0x40315c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x406d08
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push 0
push 0
push 0
push 0
push 0
push 0
cld
call dword [0x41b10c]
add eax, 0xfffffffd
imul ax, dx
mov edx, 6
movzx eax, al
cmp ax, 0x7c
je 0x406d70
push 0
call dword [0x41b024]
mov ecx, ebp
cmp eax, dword [edx + ebp]
je 0x406db3
mov eax, 0x406d6b
xchg edx, eax
add edx, eax
xchg edx, eax
push ecx
sub esp, 4
mov dword [esp], eax
push 0x10
push 0
call 0x406dad
test eax, eax
jne 0x406d8b
jmp 0x406db3
leave
push ecx
retf
cmc
nop
mov eax, esp
lea eax, [eax + 8]
mov ecx, eax
or eax, dword [ecx]
and eax, dword [ecx]
cld
or eax, 7
xchg dword es:[esp + 0x10], edx
nop
lea eax, ss:[eax + 0x78968a]
lea eax, [eax - 0x783648]
sub edx, 0x1b8
add dword [edx], eax
mov ecx, dword es:[esp]
sub esp, 0xffffffec
sub eax, eax
push cs
pop dx
push dx
je 0x406d6c
mov dl, byte [esi - 0x7f72ff88]
mov eax, 0x81ff87c9
ljmp 0x201
jmp dword [0x41b148]
add byte [eax], al
add byte [eax], al
salc
cmpsd dword [esi], dword es:[edi]
xlatb
dec edi
or al, 0x63
outsb dx, byte [esi]
fldz
les edi, [edi + 0x2fd8e31b]
xchg ebx, eax
jnp 0x406e17
cmp dword [esi - 0x1c63d5b4], edx
nop
add byte [ebx + 0xc0814a], cl
mov ebx, dword [ecx - 0x5674ff40]
and dword [edx + 0x8c18b00], esp
int1
cmpsb byte [esi], byte es:[edi]
insb byte es:[edi], dx
rol byte [eax], cl
mov esp, edx
add byte [ebx - 0x74ffbff7], cl
pop ecx
pop edi
add byte [eax], 0x8b
adc edx, dword [edx]
add byte [ebx + 0x106ca7], cl
mov esi, dword [eax]
mov ebx, esi
test eax, 0x9ee9cc4f
inc edi
invalid
movsb byte es:[edi], byte [esi]
lcall 0xc0, 0x98f37484
mov edi, esi
out dx, eax
add byte [eax], 0x8b
mov dl, 0
mov ebp, eax
imul bl
mov ch, 0x99
sbb eax, 0x6d9444da
mov bl, 0x39
ror dword [ebx], 0x76
mov eax, dword [0x5fd3ddfb]
add byte [eax], al
mov esi, dword [eax + ecx*4 - 0x39]
aad 1
pop es
xor al, byte [eax]
mov eax, dword [ebx - 0x709164b]
add eax, 0x920aaaee
add byte [ebx + 0x554a14c5], cl
nop
add byte [ebx - 0x74fffdea], cl
mov cl, 0xd
nop
add byte [ebx - 0x1a358eeb], cl
mov cl, 0x7f
pop ds
wait
rol byte [eax], 0x8b
jnp 0x406ec0
out dx, eax
xor byte [eax], al
mov edx, ecx
rol byte [eax], 0x8b
xchg esi, eax
or edx, edx
add byte [ebx - 0x4cf26c44], cl
pushal
add byte [ebx - 0x331225b1], cl
clc
test dl, bl
outsb dx, byte [esi]
xor al, byte [eax]
mov esp, dword [edi - 0x47]
cld
cmp bh, byte [edx - 0xe80c1eb]
add ebp, eax
pop ecx
ror dword [esi + 0x36], cl
jno 0x406edc
jns 0x406edb
in al, dx
lcall 0x22, 0x8b005025
mov edi, dword [edx + 0xe0ca59]
mov ecx, dword [ebp - 0x1faa8783]
add byte [ebx + 0xd07c58], cl
mov eax, dword [ecx + 0x5c1c54df]
fist word [esp + ebx + 0x5c]
jmp 0x8b40c164
jo 0x406edd
add byte [ebx + 0x614168ad], cl
mov edx, 0xa00f61a7
mov ebp, dword [ebp - 0x459ebe98]
cmpsd dword [esi], dword es:[edi]
popal
push fs
add byte [ebx + 0x388b00b0], cl
hlt
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219