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

Disassembly:
jmp 0xba2511
not ebp
jmp 0xfb1560
jmp 0x101436d
call fcn.00fa7796
mov ebp, 0xbea6d6bb
mov ebp, dword [edi]
mov edx, 0xa308e8b3
and edx, 0x66be85af
sbb dx, 0xf822
mov edx, dword [edx + edi - 0x2208887d]
add edi, 8
push 0x8bb07d90
mov dword [ebp], edx
lea esp, [esp + 4]
jmp fcn.00fe4b9b
test eax, eax
lea esp, [esp + 8]
je 0xb9e218
jmp 0xe241e8
push 0x31147999
mov dword [esp], esi
mov esi, 0xc0a2cc8e
movzx esi, byte [edx]
push 0x58833913
xor esi, ebp
and esi, 0xff
mov esi, dword [esi*4 + 0xe3a0a0]
shr ebp, 8
xor ebp, esi
inc edx
shl dword [esp], 0xe1
shl dword [esp], 0x67
xor ebp, 0x1b1f681c
dec eax
lea esp, [esp + 4]
jne 0x1014375
call fcn.00b9e210
mov bl, 0xb5
sub edx, ebp
test eax, 0x83fe829
aas
nop
or byte [edi - 0xea8e130], cl
pop ds
jno 0x1014411
pop edi
pop eax
cmpsd dword [esi], dword es:[edi]
inc edi
mov cl, 0x27
call 0x3fa6daf4
jmp 0xa7c30457
scasb al, byte es:[edi]
jmp dword [ecx - 0x5a07e147]

Function at 0xfe6a67
Capabilities:
Encode data using xor

Disassembly:
dec eax
add ebx, 1
dec eax
mov dword [esp], 0xefb740b7
inc ebp
xor cl, al
call fcn.00ba862d
js 0xfe6a6f
test al, 0xd6
mul dword [ecx]
xchg dword [ecx], ebp
int3

Function at 0xfec500
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0xc]
call eax
push 0x3ba1bf04
call fcn.00b8aa69
push eax
fbstp tbyte [edi + 0x61]
out 0x58, eax
fcomp dword [esi - 0x80]
out dx, al
xlatb
mov al, byte [0x5ea889f7]
enter 0x3066, 0xffffffffffffffb5
outsb dx, byte [esi]
xchg ebx, eax
je 0xfec5a3
adc al, 0xac
stosb byte es:[edi], al
xor al, 0xdb
and edx, dword [ebp - 0x7d]
insd dword es:[edi], dx
adc al, 0x72
mov esp, 0x6f29ff02
scasd eax, dword es:[edi]
push ebx
invalid
pmaxub mm5, qword [0x9c3ce20f]
add eax, 0x6168bca0
xchg dword [edx + 0x7c], esi
adc eax, 0xb6737329
sub cl, byte [eax]
stosd dword es:[edi], eax
in al, dx
les esi, [ebx]
invalid
clc
and byte [edx], cl
jge 0xfec5dc
xor al, 0x73
mov cl, 0xf3
mov byte [0x5a142ba4], al
in eax, 0x92
push ebp
push edi
shl ah, cl
mov byte [0x331c324d], al
in al, dx
pushfd
mov dh, 0xb4
xor eax, 0xcb6fcdcf
syscall
push ebp
pushfd
add eax, 0xaffb33a0
jne 0xfec562
xor esi, dword [edi + 0x5401ab8c]
stosb byte es:[edi], al
insd dword es:[edi], dx
mov edx, 0x5f23f2d0
aad 0x5d
and ebx, dword [edi - 0x2b]
pop ebp
and eax, 0x7e15febd
das
lcall 0x6449, 0xbc4ba919
invalid

Function at 0xfff0e4
Capabilities:
Encode data using xor

Disassembly:
ror dl, 1
add dl, 0xad
xor dl, 0x1a
push 0x29d3006
xor bl, dl
call fcn.00e32013
std
push esi
pop ebx
jo fcn.00fff0e4
mov al, byte [0x4f0067ef]
mov cl, 0xd0
salc
dec eax
invalid
Function at 0x100d779
Capabilities:
Encode data using xor

Disassembly:
push 0xef04910c
imul dl
mov word [ebp], ax
push 0x792d7725
lea esp, [esp + 8]
jmp fcn.00b86c5f
add ebp, 4
xor edx, edx
mov dword [esp], 0xbc0f0f85
test esi, esi
lea esp, [esp + 4]
je 0x100d7d8
push ebx
push 0x10245708
mov ebx, 0x3531321a
movzx ebx, byte [eax + ebx*2 - 0x6a626434]
xor ebx, edx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0xba8e5c]
neg word [esp + 2]
shr edx, 8
xor edx, ebx
inc eax
xor edx, 0x6e9dad39
dec esi
push 0x3e3b4005
lea esp, [esp + 8]
jne 0x100d795
pop ebx
not edx
mov dword [ebp], edx
jmp 0x100dcb2
call fcn.01027abb
mov dl, byte [ebp]
mov eax, 0x2dbc7804
movzx ax, byte [ebp + eax*2 - 0x5b78f006]
add ebp, 2
jmp 0xbbcf57
Function at 0x40ddef
Capabilities:
Delete registry key

Disassembly:
push 0x1c
mov eax, 0x42ebac
call fcn.0042aac8
test byte [0x4462b0], 1
mov esi, 0x446298
jne 0x40de27
or dword [0x4462b0], 1
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x430cf4
call fcn.0042a510
pop ecx
mov eax, esi
lea esi, [ebp - 0x18]
call fcn.0040b41b
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [0x4460e0]
cmp eax, ecx
mov byte [0x44613a], cl
mov dword [ebp - 0x10], ecx
jle 0x40def3
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp - 0x14]
test edi, edi
jl 0x40df71
cmp dword [ebp - 0x10], eax
jge 0x40df71
mov eax, dword [0x4460dc]
add edi, eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040349a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
sub eax, 3
je 0x40dec0
dec eax
je 0x40deb7
sub eax, 3
je 0x40deae
dec eax
je 0x40dea5
sub eax, 9
je 0x40de9c
sub eax, 6
jne 0x40ded2
cmp dword [ebx + 0x190], eax
jmp 0x40dec7
cmp dword [ebx + 0x18c], 0
jmp 0x40dec7
cmp dword [ebx + 0x1a0], 0
jmp 0x40dec7
cmp dword [ebx + 0x19c], 0
jmp 0x40dec7
cmp dword [ebx + 0x198], 0
jmp 0x40dec7
cmp dword [ebx + 0x194], 0
je 0x40ded2
push dword [ebp - 0x1c]
push ebx
call fcn.00412e16
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004034e4
inc dword [ebp - 0x10]
mov eax, dword [0x4460e0]
add dword [ebp - 0x14], 0x10
cmp dword [ebp - 0x10], eax
jl 0x40de4f
push dword [ebx + 0xdcc]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 1
lea ecx, [ebx + 0x28c]
call sub.mfc90u.dll_CWnd::EnableWindow
mov eax, dword [0x44612c]
push 0
push 0xbfc
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [0x445e9c], 0
mov eax, dword [0x445e9c]
mov ecx, dword [sym.imp.aolhelper.dll_Ordinal_1356]
test eax, eax
setne al
mov byte [ecx], al
mov ecx, 0x445f90
call dword [sym.imp.aolhelper.dll_Ordinal_283]
mov esi, dword [0x44612c]
push 1
call fcn.00423d5a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
inc eax
call fcn.0042ab67
ret
call sub.mfc90u.dll_AfxThrowInvalidArgException
int3
Function at 0x40e0ae
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe3c
mov eax, dword [0x444028]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x226]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0xe28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.MSVCR90.dll__wsplitpath]
mov eax, dword [0x4368a4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4368a8]
mov dword [ebp - 0x10], eax
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebp - 0x20]
add esp, 0x14
mov word [ebp - 0x14], ax
push 0
lea eax, [ebp - 0xe38]
push eax
lea eax, [ebp - 0xe30]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push 0
push 0x64
push dword [ebp - 0xe2c]
push dword [ebp - 0xe30]
call fcn.0042acb0
push dword [ebp - 0xe34]
push dword [ebp - 0xe38]
push edx
push eax
call fcn.0042ac40
test edx, edx
ja 0x40e1a0
jb 0x40e187
cmp eax, 8
jae 0x40e1a0
cmp dword [ebp - 0xe2c], 0
ja 0x40e1a0
cmp dword [ebp - 0xe30], 0x40000000
jae 0x40e1a0
xor al, al
jmp 0x40e1a2
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0042a410
leave
ret
Function at 0x426f96
Capabilities:
Create process on windows
Set current directory

Disassembly:
push 0x68
mov eax, 0x42bcd8
call fcn.0042ab31
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [ebp - 4], 2
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.aolhelper.dll_Ordinal_401]
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call dword [0x431914]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.aolhelper.dll_Ordinal_1048]
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
mov esi, str.open
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
mov esi, 0x43b438
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
push 0x3c
movsw word es:[edi], word [esi]
pop esi
push esi
lea eax, [ebp - 0x74]
push ebx
push eax
call sub.MSVCR90.dll_memset
lea eax, [ebp - 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x74], esi
inc ebx
cmp dword [eax - 0xc], 0
je 0x427050
lea eax, [ebp + 0xc]
jmp 0x427060
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
call dword [0x431900]
mov dword [ebp - 0x34], ebx
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
test byte [ebp - 0x34], bl
je 0x427073
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [ebp - 0x70], 0x800040
mov dword [ebp - 0x58], ebx
call fcn.00404c0f
test eax, eax
je 0x42709a
call fcn.00404c0f
test eax, eax
jne 0x427094
and dword [ebp - 0x6c], eax
jmp 0x42709a
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.0042ab7b
ret 8
Function at 0x427146
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push 0x14
mov eax, 0x42bc99
call fcn.0042aac8
and dword [ebp - 0x10], 0
cmp byte [ebp + 8], 0
jne 0x427177
push dword [0x446174]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x42725e
cmp byte [ebp + 0xc], 0
push 2
pop ebx
jne 0x42719d
push str.____startedafteroptimizationPartial
lea ecx, [ebp - 0x20]
call dword [0x431900]
mov esi, eax
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
jmp 0x4271b7
push str.____startedafteroptimizationFull
lea ecx, [ebp - 0x1c]
call dword [0x431900]
mov esi, eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.aolhelper.dll_Ordinal_400]
mov edi, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
mov dword [esp], 0x43b4e4
call dword [0x431900]
lea ecx, [ebp + 0xc]
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00413227
lea ecx, [ebp + 8]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00413227
add esp, 0x10
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test byte [ebp - 0x10], bl
je 0x427226
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [ebp - 4], 0xa
test byte [ebp - 0x10], 1
je 0x427239
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push dword [ebp + 8]
push dword [0x446174]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.aolhelper.dll_Ordinal_1001]
add esp, 0x10
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.0042ab67
ret 8
Function at 0x42735b
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
push eax
push 0x43b4e8
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push SysReAllocString
push 4
call dword [sym.imp.USER32.dll_ExitWindowsEx]
call fcn.00404c0f
push esi
push esi
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
leave
ret

Function at 0x429794
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x42adf5
call fcn.0042aac8
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.aolhelper.dll_Ordinal_1018]
lea ecx, [ebp - 0x14]
mov dword [esp], str.dbupdates
call dword [0x431900]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.aolhelper.dll_Ordinal_1048]
push eax
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.CompleteDatabase.zip
lea ecx, [ebp - 0x14]
call dword [0x431900]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
call fcn.0042ab67
ret

Function at 0x42a410
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444028]
jne 0x42a41a
repz ret
jmp fcn.0042a92e
Function at 0x50bad0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.HTDG1
lea edi, [esi - 0xb2000]
mov dword [edi + 0xf9f00], 0x15df5d1c
push edi
or ebp, 0xffffffff
jmp 0x50bafa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50bb01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50baf0
mov eax, 1
add ebx, ebx
jne 0x50bb13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50bb24
jne 0x50bb43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50bb43
dec eax
add ebx, ebx
jne 0x50bb30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x50bb08
add ebx, ebx
jne 0x50bb3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50bb95
xor ecx, ecx
sub eax, 3
jb 0x50bb5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50bbca
sar eax, 1
mov ebp, eax
jmp 0x50bb66
add ebx, ebx
jne 0x50bb66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50bb34
inc ecx
add ebx, ebx
jne 0x50bb74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50bb34
add ebx, ebx
jne 0x50bb81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50bb76
jne 0x50bb92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50bb76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50bbb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50bba6
jmp 0x50baf6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50bbb4
add edi, ecx
jmp 0x50baf6
pop esi
mov edi, esi
mov ecx, 0x5762
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50bbd2
cmp byte [edi], 0x16
jne 0x50bbd2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x50bbd7
lea edi, [esi + 0x104000]
mov eax, dword [edi]
or eax, eax
je 0x50bc4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10bdec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10bf1c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50bc04
mov ecx, edi
jns 0x50bc33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10bf24]
or eax, eax
je 0x50bc49
mov dword [ebx], eax
add ebx, 4
jmp 0x50bc21
call dword [esi + 0x10bf20]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x50bc80
cmp al, 0xef
ja 0x50bc73
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x50bc55
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x50bc62
mov ebp, dword [esi + 0x10bf28]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50bcb4
sub esp, 0xffffff80
jmp 0x46e755
Function at 0x43cf55
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov esi, 0x43ccda
dec ecx
call fcn.0043cf6e
xor dword [edi], esi
sub ecx, ebx
inc edi
add ecx, ecx
cmp edi, edx
jne fcn.0043cf55
ret
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401029
mov al, byte [esi + 1]
inc esi
test al, al
je 0x401021
cmp al, 0x22
jne 0x401015
cmp byte [esi], 0x22
jne 0x401033
inc esi
jmp 0x401033
cmp al, 0x20
jle 0x401033
inc esi
cmp byte [esi], 0x20
jg 0x40102d
mov al, byte [esi]
test al, al
je 0x40103d
cmp al, 0x20
jle 0x401026
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004025da
push 0x404004
push section..data
call fcn.004025c0
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40106d
movzx eax, word [ebp - 0x14]
jmp 0x401070
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004025f2
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4024d0
Capabilities:
Hide graphical window

Disassembly:
test eax, eax
jne 0x40245b
mov eax, dword [0x40468e]
jmp 0x4024b8
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop eax
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, edi
push 0x4046d0
push dword [0x4046a6]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4046d0
push dword [0x4046a6]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x50], eax
push 0
push 0
push 0
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_GetMessageW]
and eax, eax
je 0x4024b5
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x402497
mov eax, dword [ebp - 0x14]
call fcn.00401fd0
pop ebx
pop edi
pop esi
leave
ret 0x10
push ebp
mov ebp, esp
sub esp, 0x50
mov ebx, str.dewjts
mov eax, dword [ebp + 8]
mov dword [0x4045b0], eax
push str.Troots
mov edi, dword [0x4045b0]
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
push 0x7f02
mov dword [ebp - 0x38], edi
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
mov eax, 0
mov dword [ebp - 0x34], eax
mov eax, 3
mov dword [ebp - 0x48], eax
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x30], eax
push 0x7f00
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
xor eax, eax
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x4c]
push ecx
mov dword [ebp - 0x4c], 0x30
mov eax, 0x402080
mov dword [ebp - 0x44], eax
mov eax, 0xe
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
xor eax, eax
mov dword [0x4045b4], ebp
mov edi, eax
inc eax
push edi
push dword [0x4045b0]
dec eax
push edi
push edi
push eax
push ebx
push edi
push edi
push 0x80ca0000
push str.Troots
push str.dewjts
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x402450

Function at 0x43cf64
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43ccda
sub ecx, ecx
call fcn.0043cf87
push ecx
pop eax
add eax, ecx
xor dword [ebx], esi
mov eax, 0x8892afba
add ebx, 1
inc eax
cmp ebx, edx
jne fcn.0043cf64
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..retplne
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5d354062
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..reloc
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x18145a96
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x67f43040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x67f4309b
cmp byte [esi + ebx - 1], 0xa
je 0x67f4306f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x67f44118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x408928
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
add esi, esi
call fcn.0040894a
sub esi, 0xdcc74585
xor dword [ebx], edx
sub edi, 1
inc ebx
cmp ebx, ecx
jne fcn.00408928
sub esi, edi
ret