joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c1e4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c1fb
add esp, 0xfffffff0
call fcn.00403de0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041aed0
mov eax, dword [0x465b40]
cmp word [eax + 2], 0
jne 0x45c223
mov eax, dword [0x465b40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045deec
mov eax, dword [0x465bf0]
cmp word [eax + 2], 0
jne 0x45c23d
mov eax, dword [0x465bf0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e0f8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4122b0]
call fcn.00403aa4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4122b0]
call fcn.00403aa4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4122b0]
call fcn.00403aa4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x420364]
call fcn.004263a8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45c3f4
mov eax, dword [0x465a58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042677c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45e7bc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x465a58]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ce1c
test eax, eax
je 0x45c344
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ed0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ce50
test eax, eax
je 0x45c358
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b58
mov byte [ebx + 0xd4], 0
push ebx
push 0x45d960
call fcn.0041c04c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x465954]
cmp byte [eax], 0
jne 0x45c3a9
mov eax, ebx
call fcn.0045c538
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045e9d0
mov eax, ebx
call fcn.0045f534
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c3e9
call fcn.00403e38
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c7b8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45c857
cmp dword [ebx + 0x94], 0
jne 0x45c851
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c740
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c851
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 0x45c817
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c851
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.004147e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c826
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ca70
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46ac9c]
cmp dword [eax + 0x30], 0
je 0x45cbcd
test bl, bl
jne 0x45cb1e
cmp dword [esi + 0x9c], 0
jne 0x45cb13
mov eax, esi
call fcn.0045f3b0
push eax
push 0x45c99c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45cae4
mov eax, dword [0x46ac9c]
call fcn.0045fa90
test al, al
je 0x45cae4
mov eax, dword [0x46acc0]
call fcn.004057a4
mov edi, eax
cmp edi, 0
jl 0x45cae4
push 0
mov eax, dword [0x46acc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45cace
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45cb13
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004147e0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45caf3
inc dword [esi + 0x9c]
jmp 0x45cbcd
cmp dword [esi + 0x9c], 0
jle 0x45cbcd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45cbcd
cmp dword [esi + 0x44], 0
je 0x45cb79
mov eax, dword [0x46ac9c]
call fcn.0045fa90
test al, al
je 0x45cb79
mov eax, dword [0x46acc0]
call fcn.004057a4
mov edi, eax
cmp edi, 0
jl 0x45cb79
push 5
mov eax, dword [0x46acc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45cb63
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45cba8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004147e0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45cb88
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46acc0
mov ecx, 1
mov edx, dword [0x45c97c]
call fcn.00405958
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45d6b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45d71e
mov eax, ebx
call fcn.0045fa90
test al, al
jne 0x45d71e
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.004049d8
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45d70b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45d72b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040493c
jmp 0x45d72b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040493c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45ebb4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ec22
mov eax, esi
call fcn.004477d8
test al, al
je 0x45ec22
mov eax, dword [ebx + 0x84]
call fcn.00447438
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ec22
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45ec16
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447438
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043f2a8
jmp 0x45ec22
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045e9f0
pop esi
pop ebx
ret
Function at 0x461344
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d68
xor eax, eax
push ebp
push 0x4614d0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.00460e84
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x138], 0x128
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0x10]
call fcn.00460ea4
mov dword [ebp - 0xc], eax
jmp 0x461497
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404b58
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408d40
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.0040830c
mov eax, dword [ebp - 0x13c]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.0040830c
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404d10
je 0x46146b
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404b58
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.0040830c
mov eax, dword [ebp - 0x14c]
push eax
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 4]
call fcn.0040830c
mov edx, dword [ebp - 0x154]
pop eax
call fcn.00404d10
jne 0x461486
push 0
mov eax, dword [ebp - 0x130]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0x10]
call fcn.00460ec4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4613c6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4614d7
lea eax, [ebp - 0x154]
mov edx, 7
call fcn.0040490c
lea eax, [ebp - 4]
call fcn.004048e8
ret
Function at 0x4614e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403408
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
movzx eax, word [ebp + 0xc]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x18]
mov dword [0x46ad18], eax
cmp byte [ebp - 0x11], 0
je 0x46158e
cmp byte [ebp + 8], 0
je 0x461589
jmp 0x46155f
mov eax, dword [0x465bd4]
mov eax, dword [eax]
call fcn.0045db10
push 0x64
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x461553
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
jmp 0x46158e
xor eax, eax
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x11], 0
jne 0x46159b
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40b1aa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40b1ee
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40b1bd
jmp 0x40b1ee
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40b1de
pop esi
pop ebp
ret

Function at 0x40bf46
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40bf7b
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40bfa5
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40bfa5
test edi, edi
je 0x40bf72
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40bf72
test edi, edi
je 0x40bfad
mov eax, edi
jmp 0x40bf74
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40bf74
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040ecaf
add esp, 0xc
int3
Function at 0x401839
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x402350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push str.SoftwareCreative_TechSBDrvDet_
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
push str.Enable
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
push 0x20019
push ebx
push ecx
push 0x80000001
mov byte [esp + 0x38], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x4018cf
push 1
mov ecx, esi
call fcn.00401940
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], bl
call fcn.00401e7c
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00401e7c
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
push eax
push ebx
push ebx
push ecx
push edx
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x401902
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], bl
call fcn.00401e7c
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00401e7c
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x401940
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x402368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push str.SoftwareCreative_TechSBDrvDet_
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
push str.Enable
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x24]
lea ecx, [esp]
mov dword [esp], 0
push ecx
push 0x2001f
push 0
push edx
push 0x80000001
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4019d8
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp]
push eax
push ecx
push 0
push 2
push 0
push 0
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push ecx
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
test eax, eax
je 0x401a0a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call fcn.00401e7c
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00401e7c
mov ecx, dword [esp + 0x14]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x40b000
Capabilities:
Access peb ldr_data
Packed with generic packer
Terminate process

Disassembly:
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
mov edi, eax
mov ebp, eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + eax + 0x78]
add edx, ebp
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, ebp
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, ebp
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x40b026
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x40b026
mov ebx, dword [edx + 0x24]
add ebx, ebp
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, ebp
mov eax, dword [ebx + ecx*4]
add eax, ebp
push ebp
sub esp, 0x50
mov ebp, esp
mov dword [ebp + 0x40], eax
push 0
push 0x41797261
push 0x7262694c
push 0x64616f4c
push esp
push edi
call dword [ebp + 0x40]
mov dword [ebp + 0x44], eax
push 0
push 0x7461642e
push 0x72657375
push esp
call dword [ebp + 0x44]
mov esp, ebp
add esp, 0x50
popal
jmp fcn.0040202e
Function at 0x986f30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f0000]
push edi
or ebp, 0xffffffff
jmp 0x986f52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x986f59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x986f48
mov eax, 1
add ebx, ebx
jne 0x986f6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x986f7c
jne 0x986f9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x986f9b
dec eax
add ebx, ebx
jne 0x986f88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x986f60
add ebx, ebx
jne 0x986f97
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x986fed
xor ecx, ecx
sub eax, 3
jb 0x986fb3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x987022
sar eax, 1
mov ebp, eax
jmp 0x986fbe
add ebx, ebx
jne 0x986fbe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x986f8c
inc ecx
add ebx, ebx
jne 0x986fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x986f8c
add ebx, ebx
jne 0x986fd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x986fce
jne 0x986fea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x986fce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x98700c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x986ffe
jmp 0x986f4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x98700c
add edi, ecx
jmp 0x986f4e
pop esi
mov edi, esi
mov ecx, 0xc4bb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x98702a
cmp byte [edi], 0x2e
jne 0x98702a
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 0x98702f
lea edi, [esi + 0x582000]
mov eax, dword [edi]
or eax, eax
je 0x9870a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5894d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x58964c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x98705c
mov ecx, edi
jns 0x98708b
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 + 0x589650]
or eax, eax
je 0x9870a1
mov dword [ebx], eax
add ebx, 4
jmp 0x987079
call dword [esi + 0x589660]
mov ebp, dword [esi + 0x589654]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x26f]
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 0x9870db
sub esp, 0xffffff80
jmp 0x5606e7