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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x449178
mov eax, esi
call fcn.0045eec8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x449178
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x449178
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4492b7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4491b8
cmp eax, 0x108
ja 0x4491b8
mov eax, esi
call fcn.0045eec8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4492ae
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4492b7
jmp 0x4492ae
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x449297
cmp eax, 0x20a
ja 0x449297
test byte [esi + 0x50], 0x80
jne 0x4491ea
sub eax, 0x203
je 0x4491e7
sub eax, 3
je 0x4491e7
sub eax, 3
jne 0x4491ea
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4491fe
dec eax
je 0x449213
dec eax
je 0x449230
dec eax
je 0x449213
jmp 0x449237
mov ecx, ebx
mov eax, dword [0x489d10]
mov eax, dword [eax]
mov edx, esi
call fcn.0046872c
jmp 0x4492ae
cmp byte [esi + 0x5d], 1
jne 0x449229
mov eax, esi
mov si, 0xffed
call fcn.00403a58
jmp 0x4492b7
or word [esi + 0x54], 1
jmp 0x4492ae
and word [esi + 0x54], 0xfffe
jmp 0x4492ae
mov eax, dword [0x48ab20]
cmp byte [eax + 0x20], 0
je 0x4492ae
mov eax, dword [0x48ab20]
cmp dword [eax + 0x1c], 0
je 0x4492ae
mov eax, dword [ebx]
mov edx, dword [0x48ab20]
cmp eax, dword [edx + 0x1c]
jne 0x4492ae
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0045ee0c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403a58
jmp 0x4492b7
cmp eax, 0xb00b
jne 0x4492ae
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00447a4c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c824
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 0x44c840
cmp dword [esi + 4], 0
je 0x44c86d
test byte [ebx + 0x55], 1
jne 0x44c85f
mov eax, ebx
call fcn.0044b3c4
test eax, eax
jne 0x44c85f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
mov edx, esi
mov eax, ebx
call fcn.0044c348
jmp 0x44c97d
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 0x44c976
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044e694
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.00449060
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044c824
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.0044e694
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c97d
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
Function at 0x4530b4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x489f54]
cmp byte [eax + 0xc], 0
je 0x453221
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45321a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48ab74], 0
jne 0x453108
push 0x453228
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x453230
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ab74], eax
cmp dword [0x488ec0], 0
jne 0x453203
push 0x453240
call sub.kernel32.dll_LoadLibraryA
mov dword [0x488ec0], eax
cmp dword [0x488ec0], 0
je 0x453203
push 0x45324c
mov eax, dword [0x488ec0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ab78], eax
push 0x45325c
mov eax, dword [0x488ec0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ab7c], eax
push 0x453270
mov eax, dword [0x488ec0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ab80], eax
push 0x453288
mov eax, dword [0x488ec0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ab84], eax
push 0x4532a0
mov eax, dword [0x488ec0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ab88], eax
push 0x4532b4
mov eax, dword [0x488ec0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ab8c], eax
push 0x4532cc
mov eax, dword [0x488ec0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ab90], eax
push 0x4532e4
mov eax, dword [0x488ec0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ab94], eax
push 0x453300
mov eax, dword [0x488ec0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ab98], eax
push 0x45330c
mov eax, dword [0x488ec0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ab9c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453221
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4575e8
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.00404630
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x457637
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.004048a0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45ed7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45edcc]
test si, 4
je 0x45ed90
or bl, 1
test si, 8
je 0x45ed9a
or bl, 4
test si, 1
je 0x45eda4
or bl, 8
test si, 2
je 0x45edae
or bl, 0x10
test si, 0x10
je 0x45edb8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45edc7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45edd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45ee08]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45ede9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45edf8
or bl, 4
test esi, 0x20000000
je 0x45ee03
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4654b0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4654c2
add esp, 0xfffffff0
call fcn.00403b80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421368
mov eax, dword [0x489a14]
mov dword [eax + 4], ebx
mov dword [eax], 0x465854
mov eax, dword [0x489a24]
mov dword [eax + 4], ebx
mov dword [eax], 0x465860
mov eax, ebx
call fcn.0046586c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418570]
call fcn.0040382c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418570]
call fcn.0040382c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418570]
call fcn.0040382c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418570]
call fcn.0040382c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418570]
call fcn.0040382c
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, 0x461c88
push eax
push 0
push 0
mov eax, dword [0x489c48]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422de4]
call fcn.00424480
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422de4]
call fcn.00424480
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422de4]
call fcn.00424480
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00465c8c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465b68
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465b68
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465b68
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4655ff
call fcn.00403bd8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46594c
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 0x465af7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x465ad8
mov dl, 1
mov eax, dword [0x418bd4]
call fcn.0040382c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404630
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x465ac7
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.00453414
test al, al
je 0x465aba
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, 0x465b08
lea eax, [ebp - 0x254]
call fcn.00409960
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x465aba
xor eax, eax
push ebp
push 0x465ab3
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 0x465b40
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x465a9c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048a0
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 0x465a9c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465aba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4659bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041cf38
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 0x465afe
lea eax, [ebp - 0x260]
call fcn.00404630
ret

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

Disassembly:
push ecx
mov eax, dword [0x48abc0]
cmp byte [eax + 0xa5], 0
jne 0x46649d
cmp dword [0x48abd8], 0
jne 0x46645e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4663e8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48abd8], eax
cmp dword [0x48abd4], 0
jne 0x466479
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48abd4], eax
cmp dword [0x48abdc], 0
jne 0x46649d
push esp
push 0
push 0
push 0x46638c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x48abdc], eax
pop edx
ret
Function at 0x466594
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4665ab
add esp, 0xfffffff0
call fcn.00403b80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421368
mov eax, dword [0x489c24]
cmp word [eax + 2], 0
jne 0x4665d3
mov eax, dword [0x489c24]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467d14
mov eax, dword [0x489d48]
cmp word [eax + 2], 0
jne 0x4665ed
mov eax, dword [0x489d48]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467f0c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418570]
call fcn.0040382c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418570]
call fcn.0040382c
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 [0x4237ec]
call fcn.0042ac70
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x466774
mov eax, dword [0x489ab8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b040
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4684bc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x489ab8]
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.0040d208
test eax, eax
je 0x4666e2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409340
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d230
test eax, eax
je 0x4666f6
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.004048a0
mov eax, dword [0x4898d8]
cmp byte [eax], 0
jne 0x46672a
mov eax, ebx
call fcn.0046689c
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.00468698
mov eax, ebx
call fcn.0046905c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46676a
call fcn.00403bd8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466b1c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48abc0]
cmp dword [eax + 0x30], 0
je 0x466bc6
cmp dword [ebx + 0x94], 0
jne 0x466bc0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x466aac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x466bc0
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 0x466b86
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x466bc0
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.0041aba0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x466b95
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x467728
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 0x46775d
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.00404720
jmp 0x46776a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404684
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x468874
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4688b5
mov eax, esi
call fcn.0044e998
test al, al
je 0x4688b5
mov eax, dword [ebx + 0x84]
call fcn.0044e694
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4688b5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044e694
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x470718
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x470978
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x47077b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004701e0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cd3c
cmp al, 1
jne 0x47077b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004704f8
test al, al
je 0x470907
cmp dword [ebp - 8], 0
jge 0x470799
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004701e0
mov eax, dword [ebp - 0x210]
call fcn.004048f0
cmp ebx, eax
jge 0x4707e3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004701e0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x489f38]
and eax, 0xff
bt dword [edx], eax
jae 0x4707e3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4707f7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004706f4
cmp ebx, dword [ebp - 8]
je 0x4708f9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x470823
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a58
and eax, 0x7f
movzx eax, word [eax*2 + 0x489718]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4708e6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a58
and eax, 0x7f
movzx eax, word [eax*2 + 0x489718]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044e694
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a58
and eax, 0x7f
movzx eax, word [eax*2 + 0x489718]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044e694
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4708ed
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x47095a
cmp dword [ebp - 8], 0
jge 0x470912
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004701e0
mov eax, dword [ebp - 0x218]
call fcn.004048f0
cmp eax, dword [ebp - 8]
jg 0x47094c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004701e0
mov eax, dword [ebp - 0x21c]
call fcn.004048f0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004706f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47097f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404654
ret
Function at 0x4821e8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov esi, 0x48af68
mov eax, dword [esp + 8]
call fcn.00482154
xor eax, eax
xor edx, edx
xor ecx, ecx
cmp ecx, dword [esp + 4]
jge 0x482278
inc eax
and al, 0xff
mov edi, eax
and edi, 0xff
add dl, byte [esi + edi]
and dl, 0xff
xor ebx, ebx
mov bl, al
mov bl, byte [esi + ebx]
mov byte [esp + 0xd], bl
xor ebx, ebx
mov bl, dl
mov bl, byte [esi + ebx]
mov byte [esi + edi], bl
xor ebx, ebx
mov bl, dl
lea ebp, [esi + ebx]
mov bl, byte [esp + 0xd]
mov byte [ebp], bl
mov bl, byte [esi + edi]
mov edi, edx
and edi, 0xff
add bl, byte [esi + edi]
and bl, 0xff
mov byte [esp + 0xc], bl
mov ebx, dword [esp]
mov bl, byte [ebx + ecx]
movzx edi, byte [esp + 0xc]
xor bl, byte [esi + edi]
mov edi, dword [esp]
mov byte [edi + ecx], bl
inc ecx
cmp ecx, dword [esp + 4]
jl 0x482214
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x483dd8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov bl, 0x9a
mov esi, edi
xor ecx, ecx
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov al, byte [eax]
xor bl, al
inc ecx
cmp ecx, 0x53
jne 0x483de3
mov byte [edi + 0x53], bl
pop edi
pop esi
pop ebx
ret
Function at 0x4014d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x40d4b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
push edi
lea ecx, [esp + 8]
call fcn.00404660
push str.ExecuteHTA___START
xor esi, esi
push 0xb0
push str.D:projectMSISRCCWP_MSIAPPAutoUpLoaderAutoUploader.cpp
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], esi
call fcn.004041e0
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], 0x40
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], str.open
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov edx, dword [esp + 0x4c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.ExecuteHTA___END
push 0xc5
push str.D:projectMSISRCCWP_MSIAPPAutoUpLoaderAutoUploader.cpp
lea ecx, [esp + 0x14]
call fcn.004041e0
lea ecx, [esp + 8]
mov dword [esp + 0x58], 0xffffffff
call fcn.00404690
mov ecx, dword [esp + 0x50]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x54
ret
Function at 0x403950
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
xor eax, eax
push ebx
mov ebx, ecx
push edi
mov ecx, 0x41
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x10c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x403995
pop edi
pop ebx
add esp, 0x208
ret
lea ecx, [esp + 8]
lea edx, [esp + 0x10c]
push ecx
push 0
push 0x4105fc
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4039bc
pop edi
pop ebx
add esp, 0x208
ret
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00404e6e
mov edx, eax
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebx + 4], edx
repne scasb al, byte es:[edi]
not ecx
mov edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebx + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
pop edi
pop ebx
add esp, 0x208
ret