joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448ccc
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 0x448ce8
cmp dword [esi + 4], 0
je 0x448d15
test byte [ebx + 0x55], 1
jne 0x448d07
mov eax, ebx
call fcn.0044789c
test eax, eax
jne 0x448d07
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x448e25
mov edx, esi
mov eax, ebx
call fcn.004487ec
jmp 0x448e25
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 0x448e1e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044aa9c
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.00445548
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00448ccc
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.0044aa9c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448e25
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 0x44f34c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c5e90]
cmp byte [eax + 0xc], 0
je 0x44f4b9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44f4b2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c6bec], 0
jne 0x44f3a0
push 0x44f4c0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44f4c8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6bec], eax
cmp dword [0x4c4b48], 0
jne 0x44f49b
push 0x44f4d8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4c4b48], eax
cmp dword [0x4c4b48], 0
je 0x44f49b
push 0x44f4e4
mov eax, dword [0x4c4b48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6bf0], eax
push 0x44f4f4
mov eax, dword [0x4c4b48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6bf4], eax
push 0x44f508
mov eax, dword [0x4c4b48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6bf8], eax
push 0x44f520
mov eax, dword [0x4c4b48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6bfc], eax
push 0x44f538
mov eax, dword [0x4c4b48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6c00], eax
push 0x44f54c
mov eax, dword [0x4c4b48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6c04], eax
push 0x44f564
mov eax, dword [0x4c4b48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6c08], eax
push 0x44f57c
mov eax, dword [0x4c4b48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6c0c], eax
push 0x44f598
mov eax, dword [0x4c4b48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6c10], eax
push 0x44f5a4
mov eax, dword [0x4c4b48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6c14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f4b9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x45be9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45beec]
test si, 4
je 0x45beb0
or bl, 1
test si, 8
je 0x45beba
or bl, 4
test si, 1
je 0x45bec4
or bl, 8
test si, 2
je 0x45bece
or bl, 0x10
test si, 0x10
je 0x45bed8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45bee7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45bef0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45bf28]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45bf09
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45bf18
or bl, 4
test esi, 0x20000000
je 0x45bf23
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45bf78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045bf2c
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x46286c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46287e
add esp, 0xfffffff0
call fcn.00403abc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c884
mov eax, dword [0x4c5b10]
mov dword [eax + 4], ebx
mov dword [eax], 0x462c10
mov eax, dword [0x4c5b20]
mov dword [eax + 4], ebx
mov dword [eax], 0x462c1c
mov eax, ebx
call fcn.00462c28
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411ffc]
call fcn.00403728
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411ffc]
call fcn.00403728
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411ffc]
call fcn.00403728
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411ffc]
call fcn.00403728
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411ffc]
call fcn.00403728
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, 0x45f0f0
push eax
push 0
push 0
mov eax, dword [0x4c5c78]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e380]
call fcn.0041fa54
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e380]
call fcn.0041fa54
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e380]
call fcn.0041fa54
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00463120
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462fb4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462fb4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462fb4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4629bb
call fcn.00403b14
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x462d98
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 0x462f43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x462f24
mov dl, 1
mov eax, dword [0x412660]
call fcn.00403728
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044c4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x462f13
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.0044f6ac
test al, al
je 0x462f06
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, 0x462f54
lea eax, [ebp - 0x254]
call fcn.00409810
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x462f06
xor eax, eax
push ebp
push 0x462eff
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 0x462f8c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462ee8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040472c
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 0x462ee8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040472c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462f06
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x462e09
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416f10
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 0x462f4a
lea eax, [ebp - 0x260]
call fcn.004044c4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c6c30]
cmp byte [eax + 0xa5], 0
jne 0x463931
cmp dword [0x4c6c48], 0
jne 0x4638f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46387c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c6c48], eax
cmp dword [0x4c6c44], 0
jne 0x46390d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c6c44], eax
cmp dword [0x4c6c4c], 0
jne 0x463931
push esp
push 0
push 0
push 0x463820
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c6c4c], eax
pop edx
ret
Function at 0x463a58
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x463a6f
add esp, 0xfffffff0
call fcn.00403abc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c884
mov eax, dword [0x4c5c60]
cmp word [eax + 2], 0
jne 0x463a97
mov eax, dword [0x4c5c60]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465134
mov eax, dword [0x4c5d14]
cmp word [eax + 2], 0
jne 0x463ab1
mov eax, dword [0x4c5d14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046532c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411ffc]
call fcn.00403728
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411ffc]
call fcn.00403728
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 [0x41ee00]
call fcn.00427098
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x463c38
mov eax, dword [0x4c5b78]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427468
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46589c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c5b78]
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.0040b200
test eax, eax
je 0x463ba6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040912c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b228
test eax, eax
je 0x463bba
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.0040472c
mov eax, dword [0x4c5a3c]
cmp byte [eax], 0
jne 0x463bee
mov eax, ebx
call fcn.00463d60
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.00465a78
mov eax, ebx
call fcn.004663b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463c2e
call fcn.00403b14
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463fd4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c6c30]
cmp dword [eax + 0x30], 0
je 0x46407e
cmp dword [ebx + 0x94], 0
jne 0x464078
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x463f64
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x464078
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 0x46403e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464078
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.004148b0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46404d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464b5c
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 0x464b91
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.004045b4
jmp 0x464b9e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404518
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x465c54
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x465c95
mov eax, esi
call fcn.0044ada0
test al, al
je 0x465c95
mov eax, dword [ebx + 0x84]
call fcn.0044aa9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x465c95
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044aa9c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46a9a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404974
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret
Function at 0x4738a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x473978
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c6cb0], 0
jne 0x47395c
lea eax, [ebp - 4]
mov edx, 0x473990
call fcn.0040455c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404974
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x47395c
mov eax, ebx
call fcn.00402754
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x473955
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47393f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4739a0
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47393f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4c6cb0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47395c
mov eax, dword [ebp - 0xc]
call fcn.00402774
ret
mov ebx, dword [0x4c6cb0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47397f
lea eax, [ebp - 4]
call fcn.004044c4
ret

Function at 0x487f90
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4c6cd4], 0
jne 0x487fb3
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x487f04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c6cd4], eax
ret
Function at 0x49933c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ecx, edx
test ecx, ecx
js 0x499352
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x49934b
mov eax, esp
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, esi
test edi, edi
jl 0x4993ae
inc edi
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
call fcn.0041f768
mov ecx, eax
mov eax, ecx
and eax, 0xff
cdq
idiv esi
add dword [ebp - 8], eax
mov eax, ecx
and eax, 0xff00
shr eax, 8
cdq
idiv esi
add dword [ebp - 0xc], eax
mov eax, ecx
and eax, 0xff0000
shr eax, 0x10
cdq
idiv esi
add dword [ebp - 0x10], eax
add ebx, 4
dec edi
jne 0x499372
mov cl, byte [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov al, byte [ebp - 8]
call fcn.004075d4
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4acf34
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4acf62
mov eax, ebx
call fcn.004ad9ec
cmp dword [ebx + 0x3c], 0
je 0x4acf5b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4acfd3
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4acfc5
cmp dword [ebx + 8], 0
je 0x4acf84
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 0x4acf96
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4acfc5
cmp dword [ebx + 8], 0
je 0x4acf77
cmp eax, 3
je 0x4acfa9
dec eax
jne 0x4acf77
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 0x4acf77
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4acf77
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4acff1
cmp dword [ebx + 0x10], 0xcc
je 0x4acff1
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.004acffc
pop ebx
ret
Function at 0xc83370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xc8338e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xcac074
push ecx
mov edi, eax
call fcn.00c97198
mov esi, eax
add esp, 8
test esi, esi
jne 0xc833cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00c9702e
push esi
call fcn.00c96fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xc86850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xc868ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xcb1720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xc868ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00c971e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xc868ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xcb1720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xc8692a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00c98082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xc86957
mov word [eax], si
add eax, 2
push eax
call fcn.00c98030
add esp, 4
jmp 0xc86959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xc868ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xc868b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xc86ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret