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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x576b98], 0
je 0x463fb3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x574dd4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x463fb3
mov eax, dword [0x576b9c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x576b98]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x463f82
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x576b98]
call fcn.0041cb34
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x463f76
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x463f76
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x463f76
mov eax, dword [ebp - 0x14]
call fcn.0046f4e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463f76
push ebp
call fcn.00463e0c
pop ecx
test al, al
jne 0x463f76
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x463f32
mov eax, dword [ebp - 0x14]
call fcn.0046d8e8
dec eax
jle 0x463f76
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403b7c
cmp byte [ebp - 1], 0
je 0x463f76
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x463f76
mov edx, dword [ebp - 0x14]
mov eax, dword [0x576b9c]
call fcn.004632d4
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x463ec4
mov eax, dword [0x576b9c]
cmp dword [eax + 8], 0
jle 0x463f9a
mov eax, dword [0x576b9c]
call fcn.00463380
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x463fb3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00463c48
pop ecx
test al, al
jne 0x463fb3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4686a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x4686fb
mov eax, dword [ebp - 0x14]
call fcn.00482fec
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4686fb
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x4686fb
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x46888a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x468744
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x468744
mov eax, dword [ebp - 0x14]
call fcn.00482fec
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46887f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x46888a
jmp 0x46887f
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x46885a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x46885a
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x468787
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x468781
sub eax, 3
je 0x468781
sub eax, 3
jne 0x468787
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x46879e
dec eax
je 0x4687b5
dec eax
je 0x4687dc
dec eax
je 0x4687b5
jmp 0x4687e9
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x574dd4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0048edd0
jmp 0x46887f
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x4687cf
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403b7c
jmp 0x46888a
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x46887f
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x46887f
mov eax, dword [0x576b54]
cmp byte [eax + 0x20], 0
je 0x46887f
mov eax, dword [0x576b54]
cmp dword [eax + 0x1c], 0
je 0x46887f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x576b54]
cmp eax, dword [edx + 0x1c]
jne 0x46887f
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.00482edc
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00403b7c
jmp 0x46888a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x46887f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00466754
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46cc5c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x46cc7d
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x46ccb2
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x46cca2
mov eax, dword [ebp - 4]
call fcn.0046b238
test eax, eax
jne 0x46cca2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x46cddc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046c630
jmp 0x46cddc
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x46cdd5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0046f4e8
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0046855c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046cc5c
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0046f4e8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cddc
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x47530c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x57516c]
cmp byte [eax + 0xc], 0
je 0x47547e
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x475477
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x576ba8], 0
jne 0x475365
push 0x475484
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x47548c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x576ba8], eax
cmp dword [0x56eed8], 0
jne 0x475460
push 0x47549c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x56eed8], eax
cmp dword [0x56eed8], 0
je 0x475460
push 0x4754a8
mov eax, dword [0x56eed8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x576bac], eax
push 0x4754b8
mov eax, dword [0x56eed8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x576bb0], eax
push 0x4754cc
mov eax, dword [0x56eed8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x576bb4], eax
push 0x4754e4
mov eax, dword [0x56eed8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x576bb8], eax
push 0x4754fc
mov eax, dword [0x56eed8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x576bbc], eax
push 0x475510
mov eax, dword [0x56eed8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x576bc0], eax
push 0x475528
mov eax, dword [0x56eed8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x576bc4], eax
push 0x475540
mov eax, dword [0x56eed8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x576bc8], eax
push 0x47555c
mov eax, dword [0x56eed8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x576bcc], eax
push 0x475568
mov eax, dword [0x56eed8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x576bd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47547e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x47a1f0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00404794
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47a249
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404a04
mov esp, ebp
pop ebp
ret
Function at 0x482e38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x482e90]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x482e52
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x482e5c
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x482e66
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x482e70
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x482e7a
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x482e8a
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x482e94
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x482ed8]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x482eb5
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x482ec5
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x482ecf
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x482f48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [ebp - 0x101]
call fcn.00482edc
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x48aecc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x48aede
add esp, 0xfffffff0
call fcn.00403ce4
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004279d4
mov eax, dword [0x574990]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x48b43c
mov eax, dword [0x5749a0]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x48b45c
mov eax, dword [ebp - 4]
call fcn.0048b47c
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419cbc]
call fcn.00403950
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419cbc]
call fcn.00403950
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x419cbc]
call fcn.00403950
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x419cbc]
call fcn.00403950
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x419cbc]
call fcn.00403950
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x48688c
push eax
push 0
push 0
mov eax, dword [0x574c98]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x429c14]
call fcn.0042b568
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x429c14]
call fcn.0042b568
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x429c14]
call fcn.0042b568
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0048bb04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x48b8ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x48b8ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x48b8ec
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x48b066
call fcn.00403d3c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x48b6a4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48b86f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48b84d
mov dl, 1
mov eax, dword [0x41a320]
call fcn.00403950
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404794
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x48b836
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.004756ac
test al, al
je 0x48b82a
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x48b880
lea eax, [ebp - 0x25c]
call fcn.0040acc0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48b82a
xor eax, eax
push ebp
push 0x48b823
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x48b8b8
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48b80c
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404a04
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x48b80c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404a04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b82a
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x48b719
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00420558
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b876
lea eax, [ebp - 0x268]
call fcn.00404794
ret
Function at 0x48c40c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x576bf4]
cmp byte [eax + 0xa5], 0
jne 0x48c483
cmp dword [0x576c0c], 0
jne 0x48c441
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48c3c8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x576c0c], eax
cmp dword [0x576c08], 0
jne 0x48c45c
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x576c08], eax
cmp dword [0x576c10], 0
jne 0x48c483
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x48c368
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x576c10], eax
pop ecx
pop ebp
ret

Function at 0x48c54c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0048c4e4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x48c56d
xor eax, eax
call fcn.0048c51c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x48c587
mov al, 1
call fcn.0048c51c
mov esp, ebp
pop ebp
ret

Function at 0x48cc90
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x576bf4]
cmp dword [eax + 0x30], 0
je 0x48cd5a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x48cd51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x48cc10
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x48cd51
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x48cd0b
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x48cd51
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.0041cb34
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x48cd20
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x48da74
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x48dab9
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404884
jmp 0x48daca
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004047e8
mov esp, ebp
pop ebp
ret
Function at 0x48ef4c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x48ef9f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0046f9b8
test al, al
je 0x48ef9f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0046f4e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48ef9f
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0046f4e8
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x48f994
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x48fa32
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x56f118]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x56f118]
push edx
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x56f118]
push edx
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x56f118]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x48f9b3
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x48fa48
dec edx
je 0x48fa7d
jmp 0x48face
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x56f118]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x56f118]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x48face
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x56f118]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x56f118]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x56f118]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret