joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448dc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448df8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448dd9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448de8
or bl, 4
test esi, 0x20000000
je 0x448df3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44f4a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44f4b2
add esp, 0xfffffff0
call fcn.00403694
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004198cc
mov eax, dword [0x480048]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f844
mov eax, dword [0x480054]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f850
mov eax, ebx
call fcn.0044f85c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411b90]
call fcn.00403340
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411b90]
call fcn.00403340
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411b90]
call fcn.00403340
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411b90]
call fcn.00403340
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411b90]
call fcn.00403340
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, 0x44bc78
push eax
push 0
push 0
mov eax, dword [0x4801c4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b330]
call fcn.0041caa4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b330]
call fcn.0041caa4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b330]
call fcn.0041caa4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044fd0c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fba0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fba0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fba0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f5ef
call fcn.004036ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44f984
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 0x44fb2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44fb10
mov dl, 1
mov eax, dword [0x411fac]
call fcn.00403340
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040c0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44faff
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.0043d970
test al, al
je 0x44faf2
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, 0x44fb40
lea eax, [ebp - 0x254]
call fcn.00408e20
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44faf2
xor eax, eax
push ebp
push 0x44faeb
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 0x44fb78
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44fad4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404330
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 0x44fad4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404330
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44faf2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44f9f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415abc
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 0x44fb36
lea eax, [ebp - 0x260]
call fcn.004040c0
ret

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

Disassembly:
push ecx
mov eax, dword [0x481bdc]
cmp byte [eax + 0xa5], 0
jne 0x45051d
cmp dword [0x481bf4], 0
jne 0x4504de
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450468
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x481bf4], eax
cmp dword [0x481bf0], 0
jne 0x4504f9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x481bf0], eax
cmp dword [0x481bf8], 0
jne 0x45051d
push esp
push 0
push 0
push 0x45040c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x481bf8], eax
pop edx
ret
Function at 0x45065c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450673
add esp, 0xfffffff0
call fcn.00403694
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004198cc
mov eax, dword [0x4801b0]
cmp word [eax + 2], 0
jne 0x45069b
mov eax, dword [0x4801b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451d34
mov eax, dword [0x480278]
cmp word [eax + 2], 0
jne 0x4506b5
mov eax, dword [0x480278]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451f2c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411b90]
call fcn.00403340
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411b90]
call fcn.00403340
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 [0x41be10]
call fcn.0042352c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45083c
mov eax, dword [0x4800b0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004238fc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4524cc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4800b0]
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.0040c5e8
test eax, eax
je 0x4507aa
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408800
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c610
test eax, eax
je 0x4507be
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.00404330
mov eax, dword [0x47ff8c]
cmp byte [eax], 0
jne 0x4507f2
mov eax, ebx
call fcn.00450964
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.004526a8
mov eax, ebx
call fcn.0045306c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450832
call fcn.004036ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450be4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x481bdc]
cmp dword [eax + 0x30], 0
je 0x450c8e
cmp dword [ebx + 0x94], 0
jne 0x450c88
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x450b74
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x450c88
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 0x450c4e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x450c88
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.00413f2c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450c5d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4517f0
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 0x451825
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.004041b0
jmp 0x451832
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404114
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452884
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4528c5
mov eax, esi
call fcn.00439030
test al, al
je 0x4528c5
mov eax, dword [ebx + 0x84]
call fcn.00438d58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4528c5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438d58
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x454174
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
jmp 0x4541a1
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x454220
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004531ec
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4541ee
mov cx, word [esp]
sub cx, si
jmp 0x4541f0
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4541d7
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x454216
mov cx, word [esp]
sub cx, si
jmp 0x454218
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4541ff
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x45427d
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00453e70
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x454268
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x45427d
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x45417e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45970c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x481c0c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x45972e
shr eax, 1
xor eax, 0xedb88320
jmp 0x459730
shr eax, 1
dec edx
jne 0x45971c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x459715
mov byte [0x48200c], 1
pop esi
pop ebx
ret

Function at 0x45974c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x48200c], 0
jne 0x459763
call fcn.0045970c
mov eax, edi
dec eax
test eax, eax
jl 0x45978c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x481c0c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x45976d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x45bcdc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x45bd0d
dec al
je 0x45bd49
dec al
je 0x45bd8d
dec al
je 0x45bdf8
jmp 0x45be82
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x45be82
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x45bd1d
jmp 0x45be82
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x45be82
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x45bd59
jmp 0x45be82
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x45be82
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x45bdbb
xor ebp, ebp
jmp 0x45bdcc
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x45bdd5
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x45bd9d
jmp 0x45be82
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x45be82
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x45be50
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00459794
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x45be0c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x468a90
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x468abe
mov eax, ebx
call fcn.00469544
cmp dword [ebx + 0x40], 0
je 0x468ab7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x468b2f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x468b21
cmp dword [ebx + 8], 0
je 0x468ae0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x468af2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x468b21
cmp dword [ebx + 8], 0
je 0x468ad3
cmp eax, 3
je 0x468b05
dec eax
jne 0x468ad3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x468ad3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x468ad3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x468b4d
cmp dword [ebx + 0x14], 0xcc
je 0x468b4d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00468b58
pop ebx
ret
Function at 0x408931
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop esi
call fcn.00408959
inc edi
xor dword [eax], esi
and edx, edi
inc eax
dec edi
and edi, edx
cmp eax, ecx
jne fcn.00408931
add edx, edi
add edx, 0xb07bb48f
ret
Function at 0x4163fe
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x423458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407f55
mov dword [ebp - 0x14], eax
cmp dword [0x820f7c], esi
jne 0x4164f1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41647e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4165d1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4165d1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4165d1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x820f7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x820f80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x820f84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x820f8c], eax
test eax, eax
je 0x4164ee
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x820f88], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416516
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416509
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41652b
push 4
pop eax
jmp 0x4165d3
cmp dword [ebp - 0x14], esi
je 0x41652b
push dword [0x820f7c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416510
mov eax, dword [0x820f88]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x416589
cmp dword [0x820f8c], edi
je 0x416589
push eax
call ebx
push dword [0x820f8c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416589
test eax, eax
je 0x416589
call ecx
test eax, eax
je 0x41657e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41657e
test byte [ebp - 8], 1
jne 0x416589
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4165b9
mov eax, dword [0x820f80]
cmp eax, edi
je 0x4165b6
push eax
call ebx
test eax, eax
je 0x4165b6
call eax
mov esi, eax
test esi, esi
je 0x4165b6
mov eax, dword [0x820f84]
cmp eax, edi
je 0x4165b6
push eax
call ebx
test eax, eax
je 0x4165b6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x820f7c]
call ebx
test eax, eax
je 0x4165d1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4165d3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406efe
mov esp, ebp
pop ebp
ret
Function at 0x4069c5
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 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
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 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
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 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
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 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x400300
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
sub esp, 0x2c
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp], eax
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, str.You_are_too_late_
push ecx
mov edx, dword [esp + 0x1c]
or edx, dword [esp + 0x18]
je 0x400379
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1000
mov dword [esp], 0x400000
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add byte [0x40006c], 0x13
mov eax, 0x40004e
sub byte [0x40006d], 6
sub esp, 0x10
sub byte [0x40006e], 5
mov byte [0x400075], 0
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], 0x1010
mov dword [esp + 8], str.FCSCN07_4_v411d_f14g_47_411_y0u_n33d_m0r3_w0rk
mov dword [esp], eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor edx, edx
sub esp, 0x10
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_ExitProcess]