joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d924
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 0x43d940
cmp dword [esi + 4], 0
je 0x43d96d
test byte [ebx + 0x55], 1
jne 0x43d95f
mov eax, ebx
call fcn.0043c57c
test eax, eax
jne 0x43d95f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43da7d
mov edx, esi
mov eax, ebx
call fcn.0043d444
jmp 0x43da7d
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 0x43da76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043f72c
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.0043a228
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043d924
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.0043f72c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43da7d
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 0x443f98
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x482e2c]
cmp byte [eax + 0xc], 0
je 0x444105
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4440fe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x483bbc], 0
jne 0x443fec
push 0x44410c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x444114
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bbc], eax
cmp dword [0x481a9c], 0
jne 0x4440e7
push 0x444124
call sub.kernel32.dll_LoadLibraryA
mov dword [0x481a9c], eax
cmp dword [0x481a9c], 0
je 0x4440e7
push 0x444130
mov eax, dword [0x481a9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bc0], eax
push 0x444140
mov eax, dword [0x481a9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bc4], eax
push 0x444154
mov eax, dword [0x481a9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bc8], eax
push 0x44416c
mov eax, dword [0x481a9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bcc], eax
push 0x444184
mov eax, dword [0x481a9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bd0], eax
push 0x444198
mov eax, dword [0x481a9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bd4], eax
push 0x4441b0
mov eax, dword [0x481a9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bd8], eax
push 0x4441c8
mov eax, dword [0x481a9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bdc], eax
push 0x4441e4
mov eax, dword [0x481a9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483be0], eax
push 0x4441f0
mov eax, dword [0x481a9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483be4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444105
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4481ec
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.0040442c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44823b
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.00404694
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450124
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450174]
test si, 4
je 0x450138
or bl, 1
test si, 8
je 0x450142
or bl, 4
test si, 1
je 0x45014c
or bl, 8
test si, 2
je 0x450156
or bl, 0x10
test si, 0x10
je 0x450160
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45016f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x450178
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4501b0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450191
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4501a0
or bl, 4
test esi, 0x20000000
je 0x4501ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4567b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4567c6
add esp, 0xfffffff0
call fcn.00403a04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c3a8
mov eax, dword [0x4829c4]
mov dword [eax + 4], ebx
mov dword [eax], 0x456b58
mov eax, dword [0x4829d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x456b64
mov eax, ebx
call fcn.00456b70
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.00403670
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.00403670
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.00403670
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.00403670
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.00403670
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, 0x453038
push eax
push 0
push 0
mov eax, dword [0x482b98]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41dde0]
call fcn.0041f4dc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41dde0]
call fcn.0041f4dc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41dde0]
call fcn.0041f4dc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00456f90
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456e6c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456e6c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456e6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456903
call fcn.00403a5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456c50
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 0x456dfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456ddc
mov dl, 1
mov eax, dword [0x4125e8]
call fcn.00403670
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040442c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456dcb
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.004442f8
test al, al
je 0x456dbe
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, 0x456e0c
lea eax, [ebp - 0x254]
call fcn.0040942c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456dbe
xor eax, eax
push ebp
push 0x456db7
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 0x456e44
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456da0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404694
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 0x456da0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456dbe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456cc1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416a40
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 0x456e02
lea eax, [ebp - 0x260]
call fcn.0040442c
ret

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

Disassembly:
push ecx
mov eax, dword [0x483c00]
cmp byte [eax + 0xa5], 0
jne 0x4577a1
cmp dword [0x483c18], 0
jne 0x457762
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4576ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x483c18], eax
cmp dword [0x483c14], 0
jne 0x45777d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x483c14], eax
cmp dword [0x483c1c], 0
jne 0x4577a1
push esp
push 0
push 0
push 0x457690
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x483c1c], eax
pop edx
ret
Function at 0x457898
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4578af
add esp, 0xfffffff0
call fcn.00403a04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c3a8
mov eax, dword [0x482b7c]
cmp word [eax + 2], 0
jne 0x4578d7
mov eax, dword [0x482b7c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458f5c
mov eax, dword [0x482c60]
cmp word [eax + 2], 0
jne 0x4578f1
mov eax, dword [0x482c60]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459154
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412040]
call fcn.00403670
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.00403670
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 [0x41e888]
call fcn.00426578
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457a78
mov eax, dword [0x482a58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426948
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4596c4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x482a58]
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.0040af44
test eax, eax
je 0x4579e6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408d88
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040af6c
test eax, eax
je 0x4579fa
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.00404694
mov eax, dword [0x482888]
cmp byte [eax], 0
jne 0x457a2e
mov eax, ebx
call fcn.00457ba0
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.004598a0
mov eax, ebx
call fcn.0045a1e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457a6e
call fcn.00403a5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457e14
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x483c00]
cmp dword [eax + 0x30], 0
je 0x457ebe
cmp dword [ebx + 0x94], 0
jne 0x457eb8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457da4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457eb8
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 0x457e7e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457eb8
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.00414798
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457e8d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45899c
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 0x4589d1
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.0040451c
jmp 0x4589de
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404480
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459a7c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459abd
mov eax, esi
call fcn.0043fa30
test al, al
je 0x459abd
mov eax, dword [ebx + 0x84]
call fcn.0043f72c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459abd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f72c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45cb1c
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 [0x41169c]
call fcn.00404e08
xor eax, eax
push ebp
push 0x45cc60
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x481d20], 0
jne 0x45cb6f
mov ecx, dword [0x4828b0]
mov dl, 1
mov eax, dword [0x4077dc]
call fcn.0040a504
call fcn.00403e6c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fb4
mov eax, ebx
call fcn.00404c78
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45cc70
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.004061a8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404c88
test eax, eax
jle 0x45cc07
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 0x45cc00
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004046ac
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404694
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408654
test eax, eax
jne 0x45cc00
mov ebx, 0x15
jmp 0x45cc0c
mov ebx, 0x10
jmp 0x45cc0c
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 [0x481d20]
call fcn.0045ca74
mov eax, dword [ebp - 8]
call fcn.0045ca74
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004061c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cc67
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404450
lea eax, [ebp - 0x10]
mov edx, dword [0x41169c]
call fcn.00404ed8
ret
Function at 0x46ee50
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46ee7e
mov eax, ebx
call fcn.0046f908
cmp dword [ebx + 0x3c], 0
je 0x46ee77
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46eeef
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x46eee1
cmp dword [ebx + 8], 0
je 0x46eea0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x46eeb2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46eee1
cmp dword [ebx + 8], 0
je 0x46ee93
cmp eax, 3
je 0x46eec5
dec eax
jne 0x46ee93
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 0x46ee93
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x46ee93
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46ef0d
cmp dword [ebx + 0x10], 0xcc
je 0x46ef0d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046ef18
pop ebx
ret
Function at 0x414e70
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x414f11
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov esi, dword [ecx + 4]
xor eax, eax
cmp esi, edx
push edi
jle 0x414ebf
mov edi, dword [ecx]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x4fbbd8]
add edx, 1
cmp edx, esi
jl 0x414ea1
xor edx, edx
mov esi, dword [ecx + 0xc]
cmp esi, edx
jle 0x414eec
mov edi, dword [ecx + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x4fbbd8]
add edx, 1
cmp edx, esi
jl 0x414ed0
mov edx, dword [ecx]
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
pop edi
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
pop esi
shr eax, 0x18
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x428de0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x52600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x80], 0
jne 0x428e46
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x428900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x80], eax
test eax, eax
jne 0x428e46
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x428e48
movzx eax, ax
or eax, 0x80070000
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcfcc
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bcfcc
mov esp, ebp
pop ebp
ret
Function at 0x42a340
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2990
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x52600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [edi + 0x18], 2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
je 0x42a4f2
cmp dword [edi + 0x10], 0
je 0x42a4f2
mov eax, dword [edi + 0x1824]
lea esi, [edi + 0x1824]
mov ecx, esi
xor ebx, ebx
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov edx, dword [sym.imp.IMM32.dll_ImmGetContext]
test al, 0x20
je 0x42a41e
push dword [ebp - 0x10]
call edx
push 0x400
lea ebx, [edi + 0x81c]
mov edx, eax
push ebx
or eax, 0xffffffff
mov dword [ebp - 0x1c], edx
push 0x20
mov ecx, 0x400
mov edi, ebx
rep stosd dword es:[edi], eax
push edx
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringA]
mov edi, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42a404
mov eax, dword [edi + 0x1820]
mov edx, dword [eax + 0x34]
mov eax, dword [ebx]
cmp eax, edx
jbe 0x42a3f2
cmp eax, 0xffffffff
jne 0x42a3fd
inc ecx
add ebx, 4
cmp ecx, dword [ebp - 0x18]
jb 0x42a3e7
jmp 0x42a404
mov dword [edi + ecx*4 + 0x81c], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov eax, dword [ebp + 0x10]
mov ebx, 1
mov edx, dword [sym.imp.IMM32.dll_ImmGetContext]
test eax, 0x1000
je 0x42a49d
lea ebx, [edi + 0x1c]
test ebx, ebx
je 0x42a494
push dword [ebp - 0x10]
call edx
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ecx + 0x1820]
push dword [eax + 0x34]
lea eax, [ecx + 0x41c]
push eax
push 8
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringA]
push edi
push dword [ebp - 0x10]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov edi, dword [ebp - 0x14]
lea ecx, [ebx + 1]
mov dword [edi + 0x18], 2
mov al, byte [ebx]
inc ebx
test al, al
jne 0x42a466
mov eax, dword [edi + 0x1820]
sub ebx, ecx
mov eax, dword [eax + 0x34]
cmp ebx, eax
jl 0x42a48d
mov byte [eax + edi + 0x41c], 0
mov eax, dword [edi + 0x1820]
mov ebx, dword [eax + 0x34]
mov word [ebx + edi + 0x1c], 0
mov dword [edi + 0x14], 0
jmp 0x42a4b2
test al, 0x88
je 0x42a4b7
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0042a510
mov dword [edi + 0x18], 1
mov ebx, 1
cmp dword [ebp + 0x10], 0
jne 0x42a4ce
cmp dword [ebp + 0xc], 0
jne 0x42a4ce
mov byte [edi + 0x1c], 0
mov dword [edi + 0x18], 2
mov dword [ebp - 4], 0
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc