joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431158
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 0x431174
cmp dword [esi + 4], 0
je 0x4311a1
test byte [ebx + 0x55], 1
jne 0x431193
mov eax, ebx
call fcn.0042fe1c
test eax, eax
jne 0x431193
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4312b1
mov edx, esi
mov eax, ebx
call fcn.00430c78
jmp 0x4312b1
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 0x4312aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00432f28
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.0042db28
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00431158
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.00432f28
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4312b1
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 0x437608
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x452030]
cmp byte [eax + 0xc], 0
je 0x437775
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43776e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x453bbc], 0
jne 0x43765c
push 0x43777c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x437784
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453bbc], eax
cmp dword [0x451998], 0
jne 0x437757
push 0x437794
call sub.kernel32.dll_LoadLibraryA
mov dword [0x451998], eax
cmp dword [0x451998], 0
je 0x437757
push 0x4377a0
mov eax, dword [0x451998]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453bc0], eax
push 0x4377b0
mov eax, dword [0x451998]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453bc4], eax
push 0x4377c4
mov eax, dword [0x451998]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453bc8], eax
push 0x4377dc
mov eax, dword [0x451998]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453bcc], eax
push 0x4377f4
mov eax, dword [0x451998]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453bd0], eax
push 0x437808
mov eax, dword [0x451998]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453bd4], eax
push 0x437820
mov eax, dword [0x451998]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453bd8], eax
push 0x437838
mov eax, dword [0x451998]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453bdc], eax
push 0x437854
mov eax, dword [0x451998]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453be0], eax
push 0x437860
mov eax, dword [0x451998]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453be4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437775
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x443218
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443268]
test si, 4
je 0x44322c
or bl, 1
test si, 8
je 0x443236
or bl, 4
test si, 1
je 0x443240
or bl, 8
test si, 2
je 0x44324a
or bl, 0x10
test si, 0x10
je 0x443254
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443263
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44326c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4432a4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443285
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443294
or bl, 4
test esi, 0x20000000
je 0x44329f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4498a8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4498ba
add esp, 0xfffffff0
call fcn.00403814
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b87c
mov eax, dword [0x451d64]
mov dword [eax + 4], ebx
mov dword [eax], 0x449c4c
mov eax, dword [0x451d70]
mov dword [eax + 4], ebx
mov dword [eax], 0x449c58
mov eax, ebx
call fcn.00449c64
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4112b0]
call fcn.00403498
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4112b0]
call fcn.00403498
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4112b0]
call fcn.00403498
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4112b0]
call fcn.00403498
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4112b0]
call fcn.00403498
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, 0x44612c
push eax
push 0
push 0
mov eax, dword [0x451e88]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41d20c]
call fcn.0041e610
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41d20c]
call fcn.0041e610
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41d20c]
call fcn.0041e610
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044a084
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449f60
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449f60
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449f60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4499f7
call fcn.0040386c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x449d44
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 0x449eef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449ed0
mov dl, 1
mov eax, dword [0x4117a0]
call fcn.00403498
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042a0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449ebf
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.00437968
test al, al
je 0x449eb2
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, 0x449f00
lea eax, [ebp - 0x254]
call fcn.00408dd8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449eb2
xor eax, eax
push ebp
push 0x449eab
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 0x449f38
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449e94
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404508
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 0x449e94
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449eb2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449db5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004159b4
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 0x449ef6
lea eax, [ebp - 0x260]
call fcn.004042a0
ret

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

Disassembly:
push ecx
mov eax, dword [0x453c00]
cmp byte [eax + 0xa5], 0
jne 0x44a895
cmp dword [0x453c18], 0
jne 0x44a856
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a7e0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x453c18], eax
cmp dword [0x453c14], 0
jne 0x44a871
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x453c14], eax
cmp dword [0x453c1c], 0
jne 0x44a895
push esp
push 0
push 0
push 0x44a784
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x453c1c], eax
pop edx
ret
Function at 0x44a98c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44a9a3
add esp, 0xfffffff0
call fcn.00403814
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b87c
mov eax, dword [0x451e78]
cmp word [eax + 2], 0
jne 0x44a9cb
mov eax, dword [0x451e78]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044bfc0
mov eax, dword [0x451efc]
cmp word [eax + 2], 0
jne 0x44a9e5
mov eax, dword [0x451efc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c1b8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4112b0]
call fcn.00403498
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4112b0]
call fcn.00403498
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], 0x80000018
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 [0x41d9bc]
call fcn.004235c8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44ab6c
mov eax, dword [0x451db8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423998
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44c728
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x451db8]
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.0040a654
test eax, eax
je 0x44aada
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408734
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a67c
test eax, eax
je 0x44aaee
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.00404508
mov eax, dword [0x451ce4]
cmp byte [eax], 0
jne 0x44ab22
mov eax, ebx
call fcn.0044ac94
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.0044c904
mov eax, ebx
call fcn.0044d244
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ab62
call fcn.0040386c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44af08
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x453c00]
cmp dword [eax + 0x30], 0
je 0x44afb2
cmp dword [ebx + 0x94], 0
jne 0x44afac
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ae98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44afac
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 0x44af72
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44afac
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.00413a1c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44af81
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ba90
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 0x44bac5
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.00404390
jmp 0x44bad2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44cae0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44cb21
mov eax, esi
call fcn.0043322c
test al, al
je 0x44cb21
mov eax, dword [ebx + 0x84]
call fcn.00432f28
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44cb21
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432f28
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x44fb34
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004501b8
test al, al
je 0x44fc48
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa2], 0
jne 0x44fb8f
mov edx, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov ecx, ebx
call fcn.0044f290
test al, al
je 0x44fb7d
mov dword [ebp - 8], ebx
jmp 0x44fc48
mov edx, 0x44fc5c
mov eax, dword [ebp - 4]
call fcn.0044f5c4
jmp 0x44fc48
mov eax, dword [ebp - 4]
call fcn.0044f564
xor eax, eax
push ebp
push 0x44fc41
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x14
call fcn.00402ddc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x44fbf3
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
je 0x44fbf3
mov edx, 0x44fc98
mov eax, dword [ebp - 4]
call fcn.0044f5c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.0044d764
test al, al
je 0x44fc15
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x44fc2b
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_GetOverlappedResult
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fc48
mov eax, dword [ebp - 4]
call fcn.0044f570
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fcb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004501b8
test al, al
je 0x44fd88
mov eax, dword [ebp - 4]
call fcn.0044f57c
xor eax, eax
push ebp
push 0x44fd81
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x14
call fcn.00402ddc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x44fd33
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
je 0x44fd33
mov edx, 0x44fd9c
mov eax, dword [ebp - 4]
call fcn.0044f5c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.0044d764
test al, al
je 0x44fd55
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x44fd6b
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.kernel32.dll_GetOverlappedResult
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fd88
mov eax, dword [ebp - 4]
call fcn.0044f588
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x430480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
mov esi, ecx
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [esi], vtable.ClipboardChainPatch.0
mov dword [0x430510], esi
mov dword [ebp - 0x118], 0x114
call fcn.00419a7e
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
ja 0x410079
call fcn.004100e0
mov dword [0x43050c], eax
test eax, eax
je 0x410079
push 0x410150
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x430508], eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00419a6e
mov esp, ebp
pop ebp
ret

Function at 0x4114b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x430480]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x430538], 0
jne 0x41155c
lea eax, [ebp - 0x1c]
push 0x42098c
push eax
call fcn.00411570
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x4114e6
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp - 8], 8
mov esi, eax
jb 0x411501
push dword [ebp - 0x1c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
test esi, esi
je 0x41155b
cmp dword [esi + 0x40], 0x5350444a
je 0x41155b
lea eax, [ebp - 0x20]
push eax
push 4
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x41155b
push 0
push 0
push 0
push 0x411aa0
push 0
push 0
call dword [sym.imp.MSVCR110.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x41155b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419a6e
mov esp, ebp
pop ebp
ret

Function at 0x4115f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
call fcn.00411710
push 0
push 0x4300f0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.JJDPS.dll_JJDPSInit]
add esp, 0x10
call fcn.00411650
call fcn.004114b0
mov eax, dword [0x430530]
test eax, eax
je 0x411640
push 0
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.MSVCR110.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x411640
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret
Function at 0x416fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c358
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x430480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x4170cd
cmp byte [edi + 0x45], 0
je 0x4170cd
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x416ff4
xor al, al
jmp 0x4170cf
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
cmp ecx, 0x10
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 8
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x48]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
cmp ebx, 0x10
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x40]
push esi
call dword [sym.imp.MSVCP110.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x417061
dec eax
je 0x417065
sub eax, 2
je 0x4170b6
xor bl, bl
jmp 0x4170b8
mov byte [edi + 0x45], 0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
cmp ebx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, ecx
sub esi, eax
je 0x417098
push dword [edi + 0x50]
lea eax, [ebp - 0x28]
push esi
cmp ebx, 0x10
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR110.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x41705d
cmp byte [edi + 0x45], 0
je 0x4170b6
test esi, esi
lea esi, [edi + 0x48]
jne 0x417027
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00417500
jmp 0x417024
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x4170c9
push dword [ebp - 0x28]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
jmp 0x4170cf
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419a6e
mov esp, ebp
pop ebp
ret
Function at 0x41b0a0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov dword [0x430998], eax
mov eax, dword [ebp + 8]
mov dword [0x4308d0], eax
mov eax, dword [ebp + 0x10]
mov dword [0x4308d4], eax
call fcn.0041b500
pop ebp
jmp fcn.0041b0d0