joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4222c0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4287bc
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
push edi
mov edi, dword [esp + 0x12c]
mov esi, ecx
push edi
push str.OnTray
push 0x42c128
call sub.MFC42.DLL_CWinApp::WriteProfileInt
test edi, edi
je 0x4224bf
push ebx
push ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [esi + 0xd8]
lea ecx, [esp + 0x18]
push eax
push 0x43121c
push ecx
mov dword [esp + 0x138], 0
call sub.MFC42.DLL_operator_2
add esi, 0xdc
lea edx, [esp + 0x1c]
push esi
push eax
push edx
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_operator_1
push str.___tray
push eax
lea eax, [esp + 0x28]
mov bl, 2
push eax
mov byte [esp + 0x138], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x12c], bl
call fcn.00424f94
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 1
call fcn.00424f94
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 0
call fcn.00424f94
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea ecx, [esp + 0x14]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x422469
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.SoundMax
push edx
mov dword [esp + 0x30], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
je 0x422423
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x18]
push eax
push 1
push 0
push str.SoundMax
push ecx
call esi
mov edi, eax
jmp 0x42245e
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x42245e
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esp + 0x18]
push eax
push 1
push 0
push str.SoundMax
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call ebp
test edi, edi
je 0x4224a9
lea ecx, [esp + 0x14]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call ebx
test eax, eax
jne 0x4224a9
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0
push str.SoundMax
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x12c], 0xffffffff
call fcn.00424f94
pop ebp
pop ebx
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x120
ret 4
Function at 0x422780
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xd0]
test eax, eax
jne 0x422853
lea eax, [esp + 0x10]
mov ebx, 1
push eax
push str.SoftwareAnalog_DevicesSMax4PNPSettings
push 0x80000001
mov dword [esi + 0xd0], ebx
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x422802
lea ecx, [esp + 0xc]
lea edx, [esi + 0xe8]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push str.SysCaps
push ecx
mov dword [esp + 0x24], 0x7c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4227f3
cmp dword [esp + 0xc], 0x7c
jne 0x4227f3
mov edi, ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x422853
mov ecx, 0x1f
xor eax, eax
lea edi, [esi + 0xe8]
rep stosd dword es:[edi], eax
mov dword [esi + 0x118], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x14c], ebx
lea eax, [esi + 0xe8]
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x422910
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x88
push esi
mov esi, ecx
push edi
push 0
lea edi, [esi + 8]
mov dword [esi], 0x42c224
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x422979
push str.DSound.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0xc], eax
je 0x422979
push str.DirectSoundCreate
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x10], eax
je 0x422979
push 0
push edi
push 0
call eax
test eax, eax
jge 0x422979
mov dword [edi], 0
lea eax, [esp + 8]
mov dword [esi + 4], 0
push eax
push str.SoftwareAnalog_DevicesSMax4PNPSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4229e7
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push 0
mov edi, 0x7c
push str.SysCaps
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4229dc
cmp dword [esp + 0xc], edi
jne 0x4229dc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4229dc
mov dword [esi + 4], 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x88
ret
Function at 0x422a50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
push eax
push str.SoftwareAnalog_DevicesSMax4PNPSettings
mov esi, ecx
push 0x80000002
mov dword [esp + 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x422aab
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push str.Speaker_Configuration
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
mov ecx, esi
push eax
call fcn.00422ac0
pop esi
add esp, 0x10
ret

Function at 0x422b90
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push edi
push eax
push str.SoftwareAnalog_DevicesSMax4PNPSettings
mov esi, ecx
push 0x80000002
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x422bde
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push str.Speaker_Configuration
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x422bd3
mov edi, 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 8]
test eax, eax
je 0x422bf9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x422bf9
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00422c20
test edi, edi
pop edi
pop esi
je 0x422c15
mov edx, dword [0x432784]
push 0
push 0
push edx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
pop ecx
ret 8

Function at 0x424280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x428930
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push esi
mov esi, ecx
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], 0x42a0e8
mov dword [esi + 0x64], eax
mov dword [esi + 0x4c], ecx
mov eax, dword [eax]
mov dword [esp + 0x2c], 0
and eax, 0xffff
push eax
push 2
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0x16
push ecx
push eax
push 0
mov dword [esi + 0x54], ecx
push 0
push 0
mov ecx, esi
mov dword [esi + 0x50], eax
call sub.MFC42.DLL_CWnd::SetWindowPos
mov dword [esp + 4], 0x42a110
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x24]
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7ac4438b
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1ef6541d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x42c94255
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x58a51cd5
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4021e0
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 0x40223b
cmp byte [esi + ebx - 1], 0xa
je 0x40220f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4040f8], 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 0x4025f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
test byte [0x404010], 2
jne 0x402610
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_exit]
lea esi, [esi]
mov dword [esp + 0xc], str.Out_of_memory_for_list._n
mov dword [esp + 8], str.list_append
mov dword [esp + 4], 0x404010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x4025ff
Function at 0x403a90
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop

Function at 0x4010d8
Capabilities:
Encode data using xor

Disassembly:
push 0x401158
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
cmp byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
xchg byte [esi - 0x5fec9a34], dh
imul ecx, dword [edx - 0x43], 0xfffffff0
loopne 0x4010e2
insb byte es:[edi], dx
push ebx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [eax], al
inc esi
push edx
push eax
dec eax
dec esi
pop eax
push edi
add byte [eax], al
add byte [eax], al
add byte [esi], al
add byte [eax], al
add byte [eax + 0x700417d], cl
add byte [eax], al
add al, ah
arpl word [ecx], ax
pop es
add byte [eax], al
add byte [eax + 0x7004163], al
add byte [eax], al
add byte [eax + 0x63], cl
inc ecx
add byte [edi], al
add byte [eax], al
add byte [ebx], al
inc ecx
add byte [edi], al
add byte [eax], al
add byte [edx + 0x70041], ch
add byte [eax], al
pop esp
popal
inc ecx
add byte [esi + 0x42], dl
xor eax, 0x2a1ff021
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
or al, byte [eax]
or dword [eax + eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], cl
sub eax, dword [eax]
movsb byte es:[edi], byte [esi]
adc al, byte [eax]
inc eax
invalid
Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40345b
pop dword [ebp - 0x20]
mov eax, 0x6bff7062
sub eax, 0x6bbf3c07
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xd8d7d9ba
add dword [ebp - 0x30], 0x757a6b91
mov dword [ebp - 0x2c], 0x1a5a8415
add dword [ebp - 0x2c], 0x17d8c830
mov dword [ebp - 0x28], 0x3c1b0b03
add dword [ebp - 0x28], 0x1031392b
mov dword [ebp - 0x24], 0xb82dfd38
add dword [ebp - 0x24], 0x47d202c8
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xfa848663
sub dword [ebp - 0x30], 0x86121d0d
mov dword [ebp - 0x2c], 0xe42c7484
sub dword [ebp - 0x2c], 0xa2c0130f
mov dword [ebp - 0x28], 0x7fb771b0
add dword [ebp - 0x28], 0xe3b7fabc
mov dword [ebp - 0x24], 0xd7c52c8a
sub dword [ebp - 0x24], 0xd7c52c8a
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x9951ba52
sub eax, 0x99117a02
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3a82f
push 0
call eax
mov ecx, 0x59bd210d
sub ecx, 0x59bcca77
mov esi, eax
mov edi, 0x84ba797f
sub edi, 0x8479f57f
add edi, dword [ebp - 0x20]
mov edx, 0xc78c572
add edx, 0xd1793a7a
sub dword [ebp - 0x18], esi
mov ebx, dword [edi]
add dword [ebp - 0x1c], ecx
sub ebx, edx
xor dword [ebp - 0x10], edx
mov dword [esi], ebx
mov dword [ebp - 4], 0x438f3967
add esi, 4
add edi, 4
loop 0x403578
add eax, 0xfc85d094
sub eax, 0xfc848369
mov ebx, eax
add eax, 0x4d47255e
add eax, 0xb2b8daa7
mov ecx, 0xf027ca52
add ecx, 0x101835ae
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x40107e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push esi
push edi
xor edi, edi
cmp dword [0x2afaab4], 0x594
mov dword [ebp - 8], eax
jne 0x4010b2
push edi
lea eax, [ebp - 0x830]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x424ef8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x424efc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
call fcn.00401077
mov eax, dword [0x424f00]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x424f04]
add esi, 0x23f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, ebx
shl eax, 4
cmp dword [0x2afaab4], 0xc
mov dword [ebp - 4], eax
jne 0x40112d
push edi
lea eax, [ebp - 0x830]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push edi
lea eax, [ebp - 0x30]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push edi
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x2afaab4]
cmp eax, 0xfa9
jne 0x401149
mov dword [0x2afaab0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x401164
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0x2afa464], edi
mov ecx, dword [ebp - 0xc]
mov edx, ebx
lea eax, [esi + ebx]
shr edx, cl
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [0x2afaaac], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor edx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
lea ecx, [esi + eax]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
shr eax, cl
add eax, dword [ebp - 0x24]
mov ecx, eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
xor dword [ebp - 4], ecx
sub ebx, dword [ebp - 4]
add esi, 0x61c88647
dec dword [ebp - 0x1c]
jne 0x4010ed
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax], ebx
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x405b76
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424a28]
jne 0x405b80
repz ret
jmp fcn.004086fc

Function at 0x408289
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.0040271a
and dword [ebp - 4], 0
cmp dword [0x426f20], 0
mov ebx, eax
jne 0x40833a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4083eb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4083eb
push eax
call fcn.004026a8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x426f20], eax
call esi
push eax
call fcn.004026a8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x426f24], eax
call esi
push eax
call fcn.004026a8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x426f28], eax
call esi
push eax
call fcn.004026a8
pop ecx
mov dword [0x426f30], eax
test eax, eax
je 0x40833a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004026a8
pop ecx
mov dword [0x426f2c], eax
mov eax, dword [0x426f2c]
cmp eax, ebx
je 0x408392
cmp dword [0x426f30], ebx
je 0x408392
push eax
call fcn.00402723
push dword [0x426f30]
mov esi, eax
call fcn.00402723
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408392
test edi, edi
je 0x408392
call esi
test eax, eax
je 0x408389
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408389
test byte [ebp - 0xc], 1
jne 0x408392
or dword [ebp + 0x10], 0x200000
jmp 0x4083cb
mov eax, dword [0x426f24]
cmp eax, ebx
je 0x4083cb
push eax
call fcn.00402723
pop ecx
test eax, eax
je 0x4083cb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4083cb
mov eax, dword [0x426f28]
cmp eax, ebx
je 0x4083cb
push eax
call fcn.00402723
pop ecx
test eax, eax
je 0x4083cb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x426f20]
call fcn.00402723
pop ecx
test eax, eax
je 0x4083eb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4083ed
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x54d5b88
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x53d81872
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x54c31bf6
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x31476581
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219