joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459c08
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 0x459db3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459d94
mov dl, 1
mov eax, dword [0x415ee0]
call fcn.004032d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404050
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x459d83
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.0044782c
test al, al
je 0x459d76
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, 0x459dc4
lea eax, [ebp - 0x254]
call fcn.004092d0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x459d76
xor eax, eax
push ebp
push 0x459d6f
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 0x459dfc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459d58
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042c0
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 0x459d58
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459d76
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459c79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a2e4
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 0x459dba
lea eax, [ebp - 0x260]
call fcn.00404050
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f8be0]
cmp byte [eax + 0xa5], 0
jne 0x45a759
cmp dword [0x4f8bf8], 0
jne 0x45a71a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45a6a4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f8bf8], eax
cmp dword [0x4f8bf4], 0
jne 0x45a735
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4f8bf4], eax
cmp dword [0x4f8bfc], 0
jne 0x45a759
push esp
push 0
push 0
push 0x45a648
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4f8bfc], eax
pop edx
ret
Function at 0x45a850
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45a867
add esp, 0xfffffff0
call fcn.00403624
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e264
mov eax, dword [0x4f7b4c]
cmp word [eax + 2], 0
jne 0x45a88f
mov eax, dword [0x4f7b4c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bfd0
mov eax, dword [0x4f7c1c]
cmp word [eax + 2], 0
jne 0x45a8a9
mov eax, dword [0x4f7c1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c1c8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415938]
call fcn.004032d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415938]
call fcn.004032d0
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 [0x420858]
call fcn.004287d0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45aa30
mov eax, dword [0x4f7a54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428ba0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45c778
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4f7a54]
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.0040cb30
test eax, eax
je 0x45a99e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408cb0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cb58
test eax, eax
je 0x45a9b2
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.004042c0
mov eax, dword [0x4f78fc]
cmp byte [eax], 0
jne 0x45a9e6
mov eax, ebx
call fcn.0045ab58
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.0045c954
mov eax, ebx
call fcn.0045d318
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45aa26
call fcn.0040367c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45add8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f8be0]
cmp dword [eax + 0x30], 0
je 0x45ae82
cmp dword [ebx + 0x94], 0
jne 0x45ae7c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45ad68
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ae7c
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 0x45ae42
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ae7c
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.00417e2c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ae51
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b9e4
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 0x45ba19
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.00404140
jmp 0x45ba26
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040a4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45cb30
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45cb71
mov eax, esi
call fcn.00442e14
test al, al
je 0x45cb71
mov eax, dword [ebx + 0x84]
call fcn.00442b10
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45cb71
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442b10
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x460238
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x460266
mov eax, ebx
call fcn.00460cec
cmp dword [ebx + 0x40], 0
je 0x46025f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4602d7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4602c9
cmp dword [ebx + 8], 0
je 0x460288
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 0x46029a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4602c9
cmp dword [ebx + 8], 0
je 0x46027b
cmp eax, 3
je 0x4602ad
dec eax
jne 0x46027b
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 0x46027b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46027b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4602f5
cmp dword [ebx + 0x14], 0xcc
je 0x4602f5
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.00460300
pop ebx
ret
Function at 0x472a38
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x472b59
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x4f7c90]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4f7c90]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x472b70
call fcn.00409350
mov eax, dword [ebp - 4]
call fcn.004867c0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4f7a5c]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x4f7c54]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x472b8c
call fcn.00409350
mov eax, dword [ebp - 0x10]
call fcn.004867c0
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x472704
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x472bac
call fcn.00409350
mov eax, dword [ebp - 0x24]
call fcn.004867c0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x472bc4
call fcn.00409350
mov eax, dword [ebp - 0x28]
call fcn.004867c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472b60
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404074
lea eax, [ebp - 0x10]
call fcn.00404050
lea eax, [ebp - 4]
call fcn.00404050
ret

Function at 0x478d9c
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x478dea
mov edx, dword [ebx + 0x48]
cmp dword [edx + 0x138], 0
je 0x478dea
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x138]
mov eax, dword [eax + 0x14]
jmp 0x478dfa
mov edx, dword [ebx + 0x48]
mov edx, dword [edx + 0x134]
test edx, edx
je 0x478dfa
mov eax, dword [edx + 0x14]
test eax, eax
je 0x478e13
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00476c88
jmp 0x478e56
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x34]
call fcn.004227d0
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x14]
call fcn.00421e84
mov esi, eax
mov eax, dword [ebx + 0x48]
mov edx, dword [eax + 0xa4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
call fcn.00421bac
mov edx, esp
mov eax, dword [ebx + 0x34]
call fcn.00422450
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
mov edx, esi
call fcn.00421bac
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x47db40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov edi, edx
mov ebp, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.004530c8
mov ebx, eax
mov dx, word [edi + 4]
mov eax, ebp
call fcn.0047d9ec
mov esi, eax
test esi, esi
je 0x47db8d
mov al, byte [0x47dba0]
cmp al, bl
jne 0x47db8d
mov edx, esi
mov eax, ebp
call fcn.0047d994
mov dword [edi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x47db95
mov edx, edi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x480b38
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408e60
add esp, 0x3ec
pop ebx
ret

Function at 0x481f5c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xe8]
mov eax, dword [eax + 0x34]
call fcn.0044e090
mov edi, eax
dec edi
test edi, edi
jl 0x48200f
inc edi
xor esi, esi
mov eax, dword [ebx + 0xe8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044e0a0
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x481fa6
je 0x481fc7
dec eax
je 0x481fe8
jmp 0x482007
mov eax, dword [ebx + 0xe8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044e0a0
cmp byte [ebx + 0x158], 0
setne dl
call fcn.0044dfbc
jmp 0x482007
mov eax, dword [ebx + 0xe8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044e0a0
cmp byte [ebx + 0x158], 1
setne dl
call fcn.0044dfbc
jmp 0x482007
mov eax, dword [ebx + 0xe8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044e0a0
cmp byte [ebx + 0x158], 2
setne dl
call fcn.0044dfbc
inc esi
dec edi
jne 0x481f87
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x482034
cmp eax, dword [esp]
pop edx
pop eax
jae 0x482095
jmp 0x482038
pop edx
pop eax
jge 0x482095
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x12c]
test byte [eax + 0x50], 2
je 0x482071
cmp byte [ebx + 0x155], 2
je 0x482071
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xe8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4820b1
push 0
mov eax, dword [ebx + 0x120]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0xf8]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x4820b1
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042ec2c
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x120]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x48aba4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48ace2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x84], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x48acc7
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408e60
mov dl, 1
mov eax, dword [0x471674]
call fcn.004716cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4161d0]
call fcn.004032d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.00471748
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x48acc4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov edx, 0x48acf8
call fcn.00471a94
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040435c
xor eax, eax
push ebp
push 0x48acbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.0041aaa8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048ad00
mov eax, dword [ebp - 0xc]
call fcn.00408a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48acc4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.00403300
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00403300
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ace9
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404074
ret
Function at 0x48bd38
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 [0x414ee8]
call fcn.00404bac
xor eax, eax
push ebp
push 0x48be7c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f69ac], 0
jne 0x48bd8b
mov ecx, dword [0x4f790c]
mov dl, 1
mov eax, dword [0x40755c]
call fcn.0040bdd4
call fcn.00403a8c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402cf8
mov eax, ebx
call fcn.004048c0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x48be8c
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.00405b40
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004048d0
test eax, eax
jle 0x48be23
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 0x48be1c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004042d8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004042c0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004083f0
test eax, eax
jne 0x48be1c
mov ebx, 0x15
jmp 0x48be28
mov ebx, 0x10
jmp 0x48be28
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 [0x4f69ac]
call fcn.0048bc90
mov eax, dword [ebp - 8]
call fcn.0048bc90
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405b58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48be83
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404074
lea eax, [ebp - 0x10]
mov edx, dword [0x414ee8]
call fcn.00404c7c
ret
Function at 0x493c7c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x493ca6
cmp dword [ebx + 0x64], 0
jne 0x493ca6
cmp dword [ebx + 0x6c], 0
jne 0x493ca6
mov esi, edi
jmp 0x493d34
cmp esi, 0xffffffff
jne 0x493cb1
dec esi
jmp 0x493d34
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x493d34
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.004932e4
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x493cfc
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x493d01
mov word [edx], 0
dec eax
test eax, eax
jne 0x493ce2
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x493d28
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x493d2d
mov word [edx], 0
dec eax
test eax, eax
jne 0x493d0e
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x493d92
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00493a04
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x493d7d
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x493d92
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x493c86
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49b1cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x49b204]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49b1e2
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49b1f1
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49b200
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x49bb40
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x4382c0]
call fcn.0040348c
test al, al
je 0x49bb82
mov eax, dword [0x4f7c00]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x49bb82
mov edx, dword [0x4f7c00]
xor edx, edx
call fcn.00455424
push 0
mov eax, dword [0x4f7c00]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4dc020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4dc035
add esp, 0xfffffff0
call fcn.00403624
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404500
xor eax, eax
push ebp
push 0x4dc110
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004d72c8
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004169d0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004169d0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004169d0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004169d0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.004169f8
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
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 esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc117
lea eax, [ebp - 4]
call fcn.00404050
ret