joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d664
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 0x43d680
cmp dword [esi + 4], 0
je 0x43d6ad
test byte [ebx + 0x55], 1
jne 0x43d69f
mov eax, ebx
call fcn.0043c204
test eax, eax
jne 0x43d69f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43d7bd
mov edx, esi
mov eax, ebx
call fcn.0043d188
jmp 0x43d7bd
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 0x43d7b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043f4d4
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.00439ea0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043d664
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.0043f4d4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d7bd
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 0x443e4c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x475d14]
cmp byte [eax + 0xc], 0
je 0x443fb9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443fb2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x476b9c], 0
jne 0x443ea0
push 0x443fc0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x443fc8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476b9c], eax
cmp dword [0x474c14], 0
jne 0x443f9b
push 0x443fd8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x474c14], eax
cmp dword [0x474c14], 0
je 0x443f9b
push 0x443fe4
mov eax, dword [0x474c14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476ba0], eax
push 0x443ff4
mov eax, dword [0x474c14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476ba4], eax
push 0x444008
mov eax, dword [0x474c14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476ba8], eax
push 0x444020
mov eax, dword [0x474c14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bac], eax
push 0x444038
mov eax, dword [0x474c14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bb0], eax
push 0x44404c
mov eax, dword [0x474c14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bb4], eax
push 0x444064
mov eax, dword [0x474c14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bb8], eax
push 0x44407c
mov eax, dword [0x474c14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bbc], eax
push 0x444098
mov eax, dword [0x474c14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bc0], eax
push 0x4440a4
mov eax, dword [0x474c14]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443fb9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x447e44
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.00403f70
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x447e93
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.004041e0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f5d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f620]
test si, 4
je 0x44f5e4
or bl, 1
test si, 8
je 0x44f5ee
or bl, 4
test si, 1
je 0x44f5f8
or bl, 8
test si, 2
je 0x44f602
or bl, 0x10
test si, 0x10
je 0x44f60c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f61b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44f624
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f65c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f63d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f64c
or bl, 4
test esi, 0x20000000
je 0x44f657
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455d04
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455d16
add esp, 0xfffffff0
call fcn.00403544
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cbe8
mov eax, dword [0x475990]
mov dword [eax + 4], ebx
mov dword [eax], 0x4560a8
mov eax, dword [0x47599c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4560b4
mov eax, ebx
call fcn.004560c0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414ee0]
call fcn.004031f0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414ee0]
call fcn.004031f0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414ee0]
call fcn.004031f0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414ee0]
call fcn.004031f0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414ee0]
call fcn.004031f0
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, 0x4524dc
push eax
push 0
push 0
mov eax, dword [0x475af8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e65c]
call fcn.0041fdd0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e65c]
call fcn.0041fdd0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e65c]
call fcn.0041fdd0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004564e0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4563bc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4563bc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4563bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455e53
call fcn.0040359c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4561a0
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 0x45634b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45632c
mov dl, 1
mov eax, dword [0x4152fc]
call fcn.004031f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f70
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45631b
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.004441ac
test al, al
je 0x45630e
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, 0x45635c
lea eax, [ebp - 0x254]
call fcn.00408e74
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45630e
xor eax, eax
push ebp
push 0x456307
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 0x456394
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4562f0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041e0
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 0x4562f0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45630e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456211
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418dd8
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 0x456352
lea eax, [ebp - 0x260]
call fcn.00403f70
ret

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

Disassembly:
push ecx
mov eax, dword [0x476be8]
cmp byte [eax + 0xa5], 0
jne 0x456cf1
cmp dword [0x476c00], 0
jne 0x456cb2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456c3c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x476c00], eax
cmp dword [0x476bfc], 0
jne 0x456ccd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x476bfc], eax
cmp dword [0x476c04], 0
jne 0x456cf1
push esp
push 0
push 0
push 0x456be0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x476c04], eax
pop edx
ret
Function at 0x456de8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456dff
add esp, 0xfffffff0
call fcn.00403544
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cbe8
mov eax, dword [0x475ae4]
cmp word [eax + 2], 0
jne 0x456e27
mov eax, dword [0x475ae4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458550
mov eax, dword [0x475b9c]
cmp word [eax + 2], 0
jne 0x456e41
mov eax, dword [0x475b9c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458748
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414ee0]
call fcn.004031f0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414ee0]
call fcn.004031f0
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 [0x41f13c]
call fcn.004267f0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x456fc8
mov eax, dword [0x4759f8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426bc0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x458ce8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4759f8]
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.0040c638
test eax, eax
je 0x456f36
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408854
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c660
test eax, eax
je 0x456f4a
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.004041e0
mov eax, dword [0x4758c0]
cmp byte [eax], 0
jne 0x456f7e
mov eax, ebx
call fcn.004570f0
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.00458ec4
mov eax, ebx
call fcn.00459888
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456fbe
call fcn.0040359c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457370
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x476be8]
cmp dword [eax + 0x30], 0
je 0x45741a
cmp dword [ebx + 0x94], 0
jne 0x457414
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457300
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457414
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 0x4573da
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457414
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.00417248
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4573e9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457f7c
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 0x457fb1
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.00404060
jmp 0x457fbe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fc4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4590a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4590e1
mov eax, esi
call fcn.0043f7d8
test al, al
je 0x4590e1
mov eax, dword [ebx + 0x84]
call fcn.0043f4d4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4590e1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f4d4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x459dfc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41469c]
call fcn.00404908
xor eax, eax
push ebp
push 0x459f40
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x474e48], 0
jne 0x459e4f
mov ecx, dword [0x4758d0]
mov dl, 1
mov eax, dword [0x40714c]
call fcn.0040b864
call fcn.004039ac
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402c34
mov eax, ebx
call fcn.004047d8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x459f50
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040588c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004047e8
test eax, eax
jle 0x459ee7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x459ee0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004041f8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004041e0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407fe0
test eax, eax
jne 0x459ee0
mov ebx, 0x15
jmp 0x459eec
mov ebx, 0x10
jmp 0x459eec
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x474e48]
call fcn.00459cf8
mov eax, dword [ebp - 8]
call fcn.00459cf8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004058a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459f47
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403f94
lea eax, [ebp - 0x10]
mov edx, dword [0x41469c]
call fcn.004049d8
ret

Function at 0x45d510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45d581
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x474f2c]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x45d56b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0045d500
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x45d30c]
call fcn.0045d5a8
mov dword [0x474f90], eax
mov eax, dword [ebp - 4]
call fcn.0045d4b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d588
lea eax, [ebp - 8]
call fcn.0040588c
ret
Function at 0x46063c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46066a
mov eax, ebx
call fcn.004610f0
cmp dword [ebx + 0x40], 0
je 0x460663
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4606db
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4606cd
cmp dword [ebx + 8], 0
je 0x46068c
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 0x46069e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4606cd
cmp dword [ebx + 8], 0
je 0x46067f
cmp eax, 3
je 0x4606b1
dec eax
jne 0x46067f
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 0x46067f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46067f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4606f9
cmp dword [ebx + 0x14], 0xcc
je 0x4606f9
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.00460704
pop ebx
ret
Function at 0x402fb0
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x56ae44]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403180
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.0046a3b0
jmp fcn.00402fb0
Function at 0x40b680
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x56ae44]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b84b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b6a9
mov eax, 0x7000000
jmp 0x40b6b1
test eax, eax
je 0x40b826
mov dword [esp + 0x34], eax
mov ecx, dword [0x56ae44]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov ebx, dword [ecx + 0x44c]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov dword [esp], edx
call fcn.0046b760
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x543ba0]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40b83e
cmp edx, 0x21
jae 0x40b832
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0045e740
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0045e810
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x4d4850]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4d4898]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b801
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4d48d0]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.0046b840
mov eax, edx
mov ecx, 0x21
call fcn.0046b8d0
nop
call fcn.0046a3b0
jmp fcn.0040b680