joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454bcc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45cbf8]
cmp dword [eax + 0x30], 0
je 0x454c76
cmp dword [ebx + 0x94], 0
jne 0x454c70
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454b5c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454c70
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x454c36
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454c70
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419af0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454c45
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4557d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45580d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040408c
jmp 0x45581a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ff0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4566e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456729
mov eax, esi
call fcn.0043e91c
test al, al
je 0x456729
mov eax, dword [ebx + 0x84]
call fcn.0043e6bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456729
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043e6bc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46abe4
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a88
xor eax, eax
push ebp
push 0x46ace2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47d330]
mov byte [eax], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404a98
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
push 2
push 0
push 0xfffffeee
push ebx
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [ebp - 8]
push eax
push 0x112
mov eax, dword [0x47d21c]
push eax
push ebx
call sub.KERNEL32.DLL_ReadFile
lea eax, [ebp - 0xc]
mov edx, dword [0x47d21c]
mov ecx, 6
call fcn.00404848
mov eax, dword [ebp - 0xc]
mov edx, 0x46acf8
call fcn.004049e4
je 0x46ac94
mov eax, dword [0x47d330]
mov byte [eax], 1
push 0
push ebx
call sub.KERNEL32.DLL_GetFileSize
mov edx, dword [0x47d21c]
mov dword [edx + 0x106], eax
push 0
push 0
push 0
push ebx
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [0x47d21c]
mov eax, dword [eax + 0x106]
push eax
mov eax, dword [0x47d0b4]
push eax
push ebx
call sub.KERNEL32.DLL_ReadFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ace9
lea eax, [ebp - 0xc]
call fcn.004045d8
lea eax, [ebp - 4]
call fcn.004045d8
ret

Function at 0x46ae70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, eax
mov byte [ebp - 1], 0
xor edx, edx
push ebp
push 0x46aed2
push dword fs:[edx]
mov dword fs:[edx], esp
call sub.KERNEL32.DLL_GetCurrentProcessId
mov ebx, eax
mov eax, esi
call fcn.0046ad00
cmp eax, 0xffffffff
je 0x46aec8
cmp eax, ebx
je 0x46aec8
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov ebx, eax
push 0
push ebx
call sub.KERNEL32.DLL_TerminateProcess
push 0xffffffffffffffff
push ebx
call sub.KERNEL32.DLL_WaitForSingleObject
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46aedc
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x710c6f
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x7109ec
inc edx
inc esi
or esi, edx
call fcn.00710cbd
sub edx, 0x80baab9f
mov edx, 0x6173f19e
add esi, 1
xor dword [ecx], ebx
add edx, 0x3d6f149d
inc ecx
or esi, esi
add esi, 0xa8858bc6
dec edx
cmp ecx, eax
jne fcn.00710c6f
sub esi, 0xc123bd79
sub edx, 0x568aacf7
mov edx, 0xa24880e4
ret
Function at 0x418010
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xb0
mov al, byte [0x4c4048]
mov cl, byte [0x4c4047]
xor cl, al
push esi
mov byte [0x4c4047], cl
mov cl, byte [0x4c4042]
or cl, 8
mov esi, dword [esp + 0xb8]
shr cl, 3
and ecx, 0xff
push 5
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr qword [0x4c79c0]
fadd qword [0x4c4050]
fstp qword [0x4c79b0]
mov dword [esi], 0
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x41807e
or dword [esi], 0x4000000
mov al, byte [0x4c4045]
mov dl, byte [0x4c4044]
xor al, dl
mov byte [0x4c4045], al
or al, 0x30
shr al, 4
and eax, 0xff
mov dword [esp + 4], eax
fild dword [esp + 4]
fdivr qword [0x4c7a20]
fstp qword [0x4c79b0]
fld qword [0x4c4050]
fadd qword [0x4c79c0]
fstp qword [0x4c79c0]
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, esi
pop esi
add esp, 0xb0
ret

Function at 0x4bc62d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c43c0
cmp edx, dword [eax]
je 0x4bc64f
add eax, 8
inc ecx
cmp eax, 0x4c4450
jl 0x4bc640
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c43c0]
jne 0x4bc77d
mov eax, dword [0x4c9d54]
cmp eax, 1
je 0x4bc757
test eax, eax
jne 0x4bc680
cmp dword [0x4c42ec], 1
je 0x4bc757
cmp edx, 0xfc
je 0x4bc77d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bc6b7
lea eax, [ebp - 0x1a4]
push 0x4c19a0
push eax
call fcn.004bd010
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd4a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bc6fa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd4a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c199c
push edi
call fcn.004bf370
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1980
push eax
call fcn.004bd010
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bd020
lea eax, [ebp - 0xa0]
push 0x4c197c
push eax
call fcn.004bd020
push dword [esi + 0x4c43c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bd020
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1954
push eax
call fcn.004bf2e4
add esp, 0x2c
pop edi
jmp 0x4bc77d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c43c4]
push 0
push eax
push dword [esi]
call fcn.004bd4a0
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 0x10027a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10027ab7
xor eax, eax
jmp 0x10027b37
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10027ace
xor eax, eax
jmp 0x10027b37
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x10027b1a
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x10027b1a
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x10027af1
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x10027b26
xor eax, eax
jmp 0x10027b37
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
jne 0x10027b34
xor eax, eax
jmp 0x10027b37
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100284d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4398
call fcn.10036790
mov eax, dword [0x10061b50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x4010], str._INISAFEWebEX_
mov eax, dword [ebp - 0x4010]
push eax
call fcn.10035ef0
add esp, 4
mov dword [ebp - 0x4014], eax
mov eax, dword [ebp - 0x4014]
lea ecx, [ebp + eax - 0x4004]
mov dword [ebp - 0x4018], ecx
mov eax, dword [ebp - 0x4010]
push eax
push 0x10054094
push 0xffffffffffffffff
push 0x4000
lea ecx, [ebp - 0x4004]
push ecx
call fcn.10036a38
add esp, 0x14
lea eax, [ebp + 0xc]
mov dword [ebp - 0x4008], eax
mov eax, dword [ebp - 0x4008]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0xffffffffffffffff
mov edx, 0x4000
sub edx, dword [ebp - 0x4014]
sub edx, 3
push edx
mov eax, dword [ebp - 0x4018]
push eax
call fcn.10039a09
add esp, 0x14
mov dword [ebp - 0x400c], eax
mov dword [ebp - 0x4008], 0
cmp dword [ebp - 0x400c], 0
jge 0x100285a1
mov eax, 0x4000
sub eax, dword [ebp - 0x4014]
sub eax, 3
mov dword [ebp - 0x4398], eax
jmp 0x100285ad
mov ecx, dword [ebp - 0x400c]
mov dword [ebp - 0x4398], ecx
mov edx, dword [ebp - 0x4018]
add edx, dword [ebp - 0x4398]
mov dword [ebp - 0x4018], edx
mov eax, dword [ebp - 0x4018]
lea ecx, [ebp - 0x4004]
cmp eax, ecx
jbe 0x10028600
mov eax, dword [ebp - 0x4018]
movsx ecx, byte [eax - 1]
push ecx
call fcn.1003977e
add esp, 4
test eax, eax
je 0x10028600
mov eax, dword [ebp - 0x4018]
sub eax, 1
mov dword [ebp - 0x4018], eax
mov ecx, dword [ebp - 0x4018]
mov byte [ecx], 0
jmp 0x100285bf
mov dword [ebp - 0x401c], 0x10054090
mov eax, dword [ebp - 0x4018]
mov ecx, dword [ebp - 0x401c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x4018]
add eax, 1
mov dword [ebp - 0x4018], eax
mov eax, dword [ebp - 0x4018]
mov ecx, dword [ebp - 0x401c]
mov dl, byte [ecx + 1]
mov byte [eax], dl
mov eax, dword [ebp - 0x4018]
add eax, 1
mov dword [ebp - 0x4018], eax
mov eax, dword [ebp - 0x4018]
mov ecx, dword [ebp - 0x401c]
mov dl, byte [ecx + 2]
mov byte [eax], dl
cmp dword [0x10063230], 0
jne 0x10028676
call fcn.1002bf00
mov dword [0x10063230], eax
cmp dword [0x10063230], 0
je 0x10028683
lea eax, [ebp - 0x4004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10028820
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035f7b
mov esp, ebp
pop ebp
ret
Function at 0x10028990
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x10061b50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xff
mov byte [ebp - 0x110], 0
push 0xfe
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.10036710
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10028a00
jmp 0x10028a4a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
push str.ProgramFilesDir
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.100278f0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str.GetProgramFilesDir:_Get_ProgramFilesDir_Reg_:__s
call fcn.100284d0
add esp, 8
mov ecx, dword [ebp + 8]
call fcn.10027f70
test eax, eax
jg 0x10028ade
mov byte [ebp - 0x214], 0
push 0x103
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.10036710
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x214]
push eax
call fcn.10035ef0
add esp, 4
test eax, eax
jbe 0x10028ab7
movsx eax, byte [ebp - 0x214]
push eax
push str._c:Program_Files
mov ecx, dword [ebp + 8]
push ecx
call fcn.10029600
add esp, 0xc
jmp 0x10028ac8
push str.C:Program_Files
mov eax, dword [ebp + 8]
push eax
call fcn.10029600
add esp, 8
call fcn.10028880
test eax, eax
je 0x10028ade
push str.__x86_
mov ecx, dword [ebp + 8]
call fcn.10029080
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str.GetProgramFilesDir:_strProgDir_Final_Path_:__s
call fcn.100284d0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035f7b
mov esp, ebp
pop ebp
ret
Function at 0x1002bb10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050531
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x10061b50]
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
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x41c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x41b]
push eax
call fcn.10036710
add esp, 0xc
mov dword [ebp - 0x420], 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x424]
call fcn.10027850
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x428]
call fcn.10027850
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x42c]
call fcn.10027850
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
push 1
push 0
lea ecx, [ebp - 0x424]
call fcn.10027f90
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x1002bc2b
mov dword [ebp - 0x18], 0x3f9
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
lea ecx, [ebp - 0x428]
call fcn.10027f90
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x420], 0
je 0x1002bc4c
mov eax, dword [ebp + 0x18]
push eax
push 0x400
lea ecx, [ebp - 0x41c]
push ecx
call fcn.10038420
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10027850
mov ecx, dword [ebp - 0x470]
or ecx, 1
mov dword [ebp - 0x470], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x42c]
call fcn.100278d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.100278d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.100278d0
mov eax, dword [ebp + 8]
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.10035f7b
mov esp, ebp
pop ebp
ret

Function at 0x10035f7b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10061b50]
jne 0x10035f85
repz ret
jmp fcn.1003bec8
Function at 0x10049546
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.100491ae
push eax
push esi
push dword [ebp + 8]
call fcn.10049163
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100491ae
push eax
push esi
push dword [ebp + 8]
call fcn.10049163
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100491ae
push eax
push esi
push dword [ebp + 8]
call fcn.10049163
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1004919e
mov edx, 0x8864bdbd
popfd
jl 0x10049623
invalid
invalid

Function at 0x1004ad28
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsb byte es:[edi], byte [esi]
add byte [eax], al
add byte [eax - 0x78b5b], al
je 0x1004ad22
invalid
inc dword [eax]
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
invalid
invalid
cmp eax, 0xffffffff
je 0x1004ad22
invalid
Function at 0x1004ae86
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [ebx - 0x6fb43], al
inc dword [ebx]
jne 0x1004af28
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.100491ae
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.1004910f
add esp, 0xc
jmp 0x1004b116
cmp dword [ebp - 0x6fc], 4
jne fcn.1004afd2
and byte [ebp - 0x7bc], 0
and byte [ebp - 0x7bb], 0
mov byte [ebp - 0x7ba], 2
and byte [ebp - 0x7b9], 0
mov byte [ebp - 0x7b8], 0xa1
mov byte [ebp - 0x7b7], 0xb2
mov byte [ebp - 0x7b6], 0xb1
mov byte [ebp - 0x7b5], 0xb8
mov byte [ebp - 0x7b4], 0xcf
mov byte [ebp - 0x7b3], 0xce
mov byte [ebp - 0x7b2], 0xd3
mov byte [ebp - 0x7b1], 0x99
mov byte [ebp - 0x7b0], 0x91
mov byte [ebp - 0x7af], 0x91
mov byte [ebp - 0x7ae], 0xfd
call fcn.1004919e
and edi, dword [esp + ebp*8 + 0x6a]
or ecx, dword [ebp - 0x7bb7b]
call dword [eax - 0x18]
stc
loope 0x1004afb3
invalid
call [ecx + 0x50]
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.1004910f
add esp, 0xc
jmp 0x1004b116
Function at 0x4034a8
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4034d8
xor eax, eax
jmp 0x40364d
push ebx
call sub.libssl_3.dll_TLS_client_method
push eax
call sub.libssl_3.dll_SSL_CTX_new
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x4034f8
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x40364c
push esi
push edi
push 8
pop ecx
push dword [0x41c2d8]
xor eax, eax
lea edi, [ebp - 0x1ec]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1e4], 1
push eax
call fcn.0040501e
pop ecx
pop ecx
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x1ec]
push eax
push dword [0x41c2d8]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040501e
pop ecx
pop ecx
mov ecx, eax
call fcn.00404ee0
push eax
push 0x41c2e0
call dword [sym.imp.WS2_32.dll_getaddrinfo]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.0040341a
test esi, esi
je 0x40356e
push ebx
call sub.libssl_3.dll_SSL_CTX_free
pop ecx
jmp 0x403638
mov edi, dword [ebp - 0x1cc]
test edi, edi
je 0x403624
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4035a4
push dword [edi + 0x10]
push dword [edi + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4035ab
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x40357c
test edi, edi
je 0x40362a
push dword [ebp - 0x1cc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
push 0
push esi
call sub.libcrypto_3.dll_BIO_new_socket
pop ecx
mov edi, eax
pop ecx
push ebx
test edi, edi
je 0x40362b
call sub.libssl_3.dll_SSL_new
mov dword [ebp - 0x1c8], eax
pop ecx
test eax, eax
jne 0x4035eb
push ebx
call sub.libssl_3.dll_SSL_CTX_free
push edi
call sub.libcrypto_3.dll_BIO_free_all
pop ecx
jmp 0x403630
push edi
push edi
push eax
call sub.libssl_3.dll_SSL_set_bio
push dword [ebp - 0x1c8]
call sub.libssl_3.dll_SSL_connect
add esp, 0x10
test eax, eax
jg 0x403640
push dword [ebp - 0x1c8]
call sub.libssl_3.dll_SSL_free
push edi
call sub.libcrypto_3.dll_BIO_free_all
pop ecx
pop ecx
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x403562
mov esi, dword [ebp - 0x1c8]
push ebx
call sub.libssl_3.dll_SSL_CTX_free
pop ecx
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor esi, esi
lea ecx, [ebp - 0x34]
call fcn.0040341a
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405464
leave
ret
Function at 0x404f12
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x404fb6
push esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x404f76
test dl, dl
je 0x404f72
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x404f76
add eax, 2
add ecx, 2
test dl, dl
jne 0x404f56
xor eax, eax
jmp 0x404f7b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x404fa4
push dword [ebp - 0x124]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x404fa4
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x404f4d
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00405464
leave
ret

Function at 0x4053e6
Capabilities:
Hide graphical window

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xa
push 0
push str.6666
call fcn.0040894f
push eax
push str.127.0.0.1
call fcn.004053a0
add esp, 0x14
xor eax, eax
ret

Function at 0x405cc6
Capabilities:
Parse pe header

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