joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a720
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43a73c
cmp dword [esi + 4], 0
je 0x43a769
test byte [ebx + 0x55], 1
jne 0x43a75b
mov eax, ebx
call fcn.004392c0
test eax, eax
jne 0x43a75b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43a879
mov edx, esi
mov eax, ebx
call fcn.0043a244
jmp 0x43a879
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43a872
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043c590
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00436f5c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043a720
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043c590
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a879
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440f08
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x473078]
cmp byte [eax + 0xc], 0
je 0x441075
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44106e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x474b68], 0
jne 0x440f5c
push 0x44107c
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x441084
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474b68], eax
cmp dword [0x471c94], 0
jne 0x441057
push 0x441094
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x471c94], eax
cmp dword [0x471c94], 0
je 0x441057
push 0x4410a0
mov eax, dword [0x471c94]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474b6c], eax
push 0x4410b0
mov eax, dword [0x471c94]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474b70], eax
push 0x4410c4
mov eax, dword [0x471c94]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474b74], eax
push 0x4410dc
mov eax, dword [0x471c94]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474b78], eax
push 0x4410f4
mov eax, dword [0x471c94]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474b7c], eax
push 0x441108
mov eax, dword [0x471c94]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474b80], eax
push 0x441120
mov eax, dword [0x471c94]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474b84], eax
push 0x441138
mov eax, dword [0x471c94]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474b88], eax
push 0x441154
mov eax, dword [0x471c94]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474b8c], eax
push 0x441160
mov eax, dword [0x471c94]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441075
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444f00
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404030
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x444f4f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004042a0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c68c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c6dc]
test si, 4
je 0x44c6a0
or bl, 1
test si, 8
je 0x44c6aa
or bl, 4
test si, 1
je 0x44c6b4
or bl, 8
test si, 2
je 0x44c6be
or bl, 0x10
test si, 0x10
je 0x44c6c8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c6d7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44c6e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c718]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c6f9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c708
or bl, 4
test esi, 0x20000000
je 0x44c713
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452dc0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x452dd2
add esp, 0xfffffff0
call fcn.00403524
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fdf4
mov eax, dword [0x472bc4]
mov dword [eax + 4], ebx
mov dword [eax], 0x453164
mov eax, dword [0x472bd4]
mov dword [eax + 4], ebx
mov dword [eax], 0x453170
mov eax, ebx
call fcn.0045317c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417b20]
call fcn.004031e8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417b20]
call fcn.004031e8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417b20]
call fcn.004031e8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417b20]
call fcn.004031e8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417b20]
call fcn.004031e8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44f598
push eax
push 0
push 0
mov eax, dword [0x472dc0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421820]
call fcn.00422c64
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421820]
call fcn.00422c64
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421820]
call fcn.00422c64
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045359c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453478
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453478
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453478
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452f0f
call fcn.0040357c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45325c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453407
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4533e8
mov dl, 1
mov eax, dword [0x417ff4]
call fcn.004031e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404030
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4533d7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00441268
test al, al
je 0x4533ca
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x453418
lea eax, [ebp - 0x254]
call fcn.00409054
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4533ca
xor eax, eax
push ebp
push 0x4533c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x453450
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4533ac
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042a0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4533ac
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4533ca
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4532cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041bf94
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45340e
lea eax, [ebp - 0x260]
call fcn.00404030
ret

Function at 0x453d3c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x474bb4]
cmp byte [eax + 0xa5], 0
jne 0x453dad
cmp dword [0x474bcc], 0
jne 0x453d6e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x453cf8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x474bcc], eax
cmp dword [0x474bc8], 0
jne 0x453d89
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x474bc8], eax
cmp dword [0x474bd0], 0
jne 0x453dad
push esp
push 0
push 0
push 0x453c9c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x474bd0], eax
pop edx
ret
Function at 0x453ea4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x453ebb
add esp, 0xfffffff0
call fcn.00403524
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fdf4
mov eax, dword [0x472da4]
cmp word [eax + 2], 0
jne 0x453ee3
mov eax, dword [0x472da4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045557c
mov eax, dword [0x472ea0]
cmp word [eax + 2], 0
jne 0x453efd
mov eax, dword [0x472ea0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455774
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417b20]
call fcn.004031e8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417b20]
call fcn.004031e8
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x421fd0]
call fcn.00427c18
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x454084
mov eax, dword [0x472c5c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427fe8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455d14
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x472c5c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040c82c
test eax, eax
je 0x453ff2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408a48
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c854
test eax, eax
je 0x454006
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004042a0
mov eax, dword [0x472ab4]
cmp byte [eax], 0
jne 0x45403a
mov eax, ebx
call fcn.004541ac
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00455ef0
mov eax, ebx
call fcn.004568b4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45407a
call fcn.0040357c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45442c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x474bb4]
cmp dword [eax + 0x30], 0
je 0x4544d6
cmp dword [ebx + 0x94], 0
jne 0x4544d0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4543bc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4544d0
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 0x454496
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4544d0
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.00419f74
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4544a5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455038
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 0x45506d
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.00404120
jmp 0x45507a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404084
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4560cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45610d
mov eax, esi
call fcn.0043c894
test al, al
je 0x45610d
mov eax, dword [ebx + 0x84]
call fcn.0043c590
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45610d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c590
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x428830
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
jmp 0x42884a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x428851
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x428840
mov eax, 1
add ebx, ebx
jne 0x428863
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x428858
jne 0x428874
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428858
xor ecx, ecx
sub eax, 3
jb 0x428888
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4288fa
mov ebp, eax
add ebx, ebx
jne 0x428893
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4288a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4288c4
inc ecx
add ebx, ebx
jne 0x4288b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4288a5
jne 0x4288c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4288a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4288e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4288d5
jmp 0x428846
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4288e4
add edi, ecx
jmp 0x428846
pop esi
mov edi, esi
mov ecx, 0x645
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428902
cmp byte [edi], 7
jne 0x428902
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 0x428907
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x428976
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x289cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28aa0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x428934
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x28aa8]
or eax, eax
je 0x428970
mov dword [ebx], eax
add ebx, 4
jmp 0x428951
call dword [esi + 0x28aa4]
mov ebp, dword [esi + 0x28aac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4289aa
sub esp, 0xffffff80
jmp 0x411d75
Function at 0x406760
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406784
xor eax, eax
test eax, eax
je 0x406797
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406797
xor ecx, ecx
jmp 0x40679a
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4068bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dac], 0
push esi
jne 0x4068f4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4068ce
mov dword [ecx*4 + 0x427da8], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406925
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427da8]
xor eax, esi
inc ecx
dec edx
jne 0x406907
pop edi
not eax
pop esi
ret 0xc

Function at 0x427b60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
or ebp, 0xffffffff
jmp 0x427b82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427b78
mov eax, 1
add ebx, ebx
jne 0x427b9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427b90
jne 0x427bac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427b90
xor ecx, ecx
sub eax, 3
jb 0x427bc0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427c32
mov ebp, eax
add ebx, ebx
jne 0x427bcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427bd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427bfc
inc ecx
add ebx, ebx
jne 0x427be8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427bdd
jne 0x427bf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427bdd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427c1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427c0d
jmp 0x427b7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427c1c
add edi, ecx
jmp 0x427b7e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427c3a
cmp byte [edi], 0
jne 0x427c3a
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 0x427c3f
lea edi, [esi + 0x25000]
Function at 0x404d50
Capabilities:
Shutdown system

Disassembly:
call fcn.00431180
push 2
mov eax, str.SeShutdownPrivilege
push eax
call fcn.0040ad6d
movsx eax, byte [esp + 4]
push eax
push 0
push 1
mov eax, str.Exit
push eax
push 0
call sub.ADVAPI32.dll_InitiateSystemShutdownW
xor eax, eax
ret 4

Function at 0x4052fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00431180
push dword [esp + 0x2c]
call fcn.00418360
mov edx, dword [esp + 0x20]
lea ecx, [esp]
call fcn.00418060
mov edx, dword [esp + 0x24]
lea ecx, [esp + 4]
call fcn.00418060
mov dword [esp + 8], 0
push edx
call fcn.00430fa0
pop edx
push eax
push edx
call fcn.00430fa0
pop edx
push eax
push 0xff
call fcn.0042fc10
lea eax, [esp + 0x10]
push eax
call fcn.00430fe0
mov dword [esp + 0x10], 0xff
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push dword [esp + 0xc]
push dword [esp + 0x2c]
call sub.ADVAPI32.dll_RegOpenKeyExW
and eax, eax
je 0x405390
mov edx, 0x434028
lea ecx, [esp + 0xc]
call fcn.00418068
jmp 0x4053f7
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x14]
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegQueryValueExW
and eax, eax
je 0x4053c5
mov edx, 0x434028
lea ecx, [esp + 0xc]
call fcn.00418068
jmp 0x4053ee
push edx
call fcn.00430fa0
pop edx
push eax
push edx
call fcn.00430fa0
pop edx
push eax
mov ebx, dword [esp + 0x18]
dec ebx
push ebx
push dword [esp + 0x18]
call fcn.0042fc60
lea eax, [esp + 0x10]
push eax
call fcn.00430fe0
push dword [esp + 8]
call sub.ADVAPI32.dll_RegCloseKey
mov edx, dword [esp + 0xc]
push edx
call fcn.00430fa0
pop edx
push eax
push edx
call fcn.00431070
pop eax
push eax
call fcn.00418330
pop edx
add eax, edx
jmp 0x40541f
push dword [esp + 0xc]
call fcn.00431240
push dword [esp]
call fcn.00431240
push dword [esp + 4]
call fcn.00431240
add esp, 0x14
pop ebx
ret 0x10

Function at 0x40cba1
Capabilities:
Get common file path

Disassembly:
xor eax, eax
push eax
push eax
call fcn.00431180
push dword [esp + 0x10]
call fcn.00418360
push edx
call fcn.00430fa0
pop edx
push eax
push edx
call fcn.00430fa0
pop edx
push eax
push 0x104
call fcn.0042fc10
lea eax, [esp + 8]
push eax
call fcn.00430fe0
lea eax, [esp]
push eax
push 0
push 0
push dword [esp + 0x18]
push 0
call sub.SHELL32.dll_SHGetFolderLocation
mov eax, dword [esp + 4]
push eax
push dword [esp + 4]
call sub.SHELL32.dll_SHGetPathFromIDListW
mov edx, dword [esp + 4]
push edx
call fcn.00430fa0
pop edx
push eax
push edx
call fcn.00431070
pop eax
push eax
call fcn.00418330
pop edx
add eax, edx
jmp 0x40cc29
push dword [esp + 4]
call fcn.00431240
add esp, 8
ret 4
Function at 0x40fb75
Capabilities:
Query environment variable

Disassembly:
xor eax, eax
push eax
push eax
push eax
call fcn.00431180
push dword [esp + 0x14]
call fcn.00418360
mov edx, dword [esp + 0x10]
lea ecx, [esp]
call fcn.00418060
mov edx, 0x434028
lea ecx, [esp + 4]
call fcn.00418068
push 0
push 0
push dword [esp + 8]
call sub.KERNEL32.dll_ExpandEnvironmentStringsW
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x40fbf5
push edx
call fcn.00430fa0
pop edx
push eax
push edx
call fcn.00430fa0
pop edx
push eax
push dword [esp + 0x10]
call fcn.0042fc10
lea eax, [esp + 8]
push eax
call fcn.00430fe0
push dword [esp + 8]
mov eax, dword [esp + 8]
push eax
push dword [esp + 8]
call sub.KERNEL32.dll_ExpandEnvironmentStringsW
push edx
call fcn.00430fa0
pop edx
push eax
push edx
call fcn.00430fa0
pop edx
push eax
push dword [esp + 0xc]
call fcn.0042f040
pop eax
push eax
call fcn.00418330
pop edx
add eax, edx
jmp 0x40fc24
push dword [esp]
call fcn.00431240
push dword [esp + 4]
call fcn.00431240
add esp, 0xc
ret 4