joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445a20
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
je 0x445ab7
mov eax, dword [0x5fe374]
cmp dword [eax], 2
jne 0x445a46
mov eax, dword [0x5fddd0]
cmp dword [eax], 4
jg 0x445a6e
mov eax, dword [0x5fe374]
cmp dword [eax], 1
jne 0x445aab
mov eax, dword [0x5fddd0]
cmp dword [eax], 4
jg 0x445a6e
mov eax, dword [0x5fddd0]
cmp dword [eax], 4
jne 0x445aab
mov eax, dword [0x5fe150]
cmp dword [eax], 0
jle 0x445aab
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov esi, eax
push 0
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0xffffffffffffffff
push esi
push edi
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x445ab7
push ebx
call sub.user32.dll_BringWindowToTop
push ebx
call sub.user32.dll_SetForegroundWindow
push 0
push esi
push edi
call sub.user32.dll_AttachThreadInput
jmp 0x445ab7
push ebx
call sub.user32.dll_BringWindowToTop
push ebx
call sub.user32.dll_SetForegroundWindow
pop edi
pop esi
pop ebx
ret

Function at 0x445f28
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x445fd4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0xc]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 3]
mov cl, 1
call fcn.00403728
lea eax, [ebp - 0x14]
lea edx, [ebp - 3]
call fcn.004052c0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040a000
mov eax, dword [ebp - 0x10]
mov bl, byte [eax]
mov eax, ebx
add al, 0xbf
sub al, 0x1a
jae 0x445fb1
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.00405234
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x445fec
call fcn.00405384
mov eax, dword [ebp - 8]
call fcn.00405538
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
test eax, eax
seta byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445fdb
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405070
lea eax, [ebp - 8]
call fcn.0040504c
ret
Function at 0x448d7c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405528
xor eax, eax
push ebp
push 0x448eac
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x448e7f
xor eax, eax
push ebp
push 0x448e78
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405338
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x448e4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x448e3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405338
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405538
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402f58
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448e43
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x5fdc10]
mov dl, 1
mov eax, dword [0x4090dc]
call fcn.0040f0cc
call fcn.004049c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448eb3
lea eax, [ebp - 4]
call fcn.0040504c
ret
Function at 0x449e7c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x44a00f
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [0x5fface]
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x449ec7
call fcn.00404a6c
jmp 0x44a016
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edi, eax
test edi, edi
jne 0x449ee0
call fcn.00404a6c
jmp 0x44a016
xor eax, eax
push ebp
push 0x449ff2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41ae44]
call fcn.004040ec
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x449fd4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalSize
mov ecx, eax
mov edx, edi
mov eax, dword [ebp - 0x10]
call fcn.0041f7c4
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0041f580
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x41b244]
call fcn.00420180
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x449fb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], esi
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004221b4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x449f8a
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x449f80
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00425e4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x449fa1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449fbe
mov eax, dword [ebp - 0x14]
call fcn.0040411c
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a020
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x44a0f2
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x44a0c4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x44a0b3
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402f58
mov eax, dword [ebp - 4]
call fcn.00449db8
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a0ba
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
Function at 0x44a174
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44a1e6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x44a1ba
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00405254
jmp 0x44a1c1
mov eax, ebx
call fcn.0040504c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a1ed
cmp dword [ebp - 8], 0
je 0x44a1dd
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x44a1f4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x44a296
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x44a269
mov edx, ebx
mov eax, dword [0x429a48]
call fcn.0042e3a4
test al, al
je 0x44a259
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0042e2b4
call fcn.00404a6c
jmp 0x44a29d
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x44a224
mov ecx, dword [0x5fdcb8]
mov dl, 1
mov eax, dword [0x4090dc]
call fcn.0040f0cc
call fcn.004049c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a29d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x44a2a4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x44a2fc
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a303
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x44b71c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x44b799
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044b17c
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep_1
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x44b741
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0044ad7c
cmp dword [ebp - 4], 0
je 0x44b783
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b7a0
lea eax, [ebp - 4]
call fcn.0040504c
ret

Function at 0x44eb68
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
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 [0x5ffb38], 0
je 0x44ecb7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5fe0a0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44ecb7
mov eax, dword [0x5ffb3c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5ffb38]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44ec86
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x5ffb38]
call fcn.0041ce30
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44ec7e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44ec7e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44ec7e
mov eax, dword [ebp - 0x14]
call fcn.00457974
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44ec7e
push ebp
call fcn.0044eb24
pop ecx
test al, al
jne 0x44ec7e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44ec3a
mov eax, dword [ebp - 0x14]
call fcn.0045646c
dec eax
jle 0x44ec7e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00404324
cmp byte [ebp - 1], 0
je 0x44ec7e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44ec7e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5ffb3c]
call fcn.0044e2f0
inc edi
dec ebx
jne 0x44ebcd
mov eax, dword [0x5ffb3c]
cmp dword [eax + 8], 0
jle 0x44ec9e
mov eax, dword [0x5ffb3c]
call fcn.0044e380
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44ecb7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044e98c
pop ecx
test al, al
jne 0x44ecb7
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c394
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x5fe384]
cmp byte [eax + 0xc], 0
je 0x45c501
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45c4fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5ffb48], 0
jne 0x45c3e8
push 0x45c508
call sub.KERNEL32.DLL_GetModuleHandleA_1
mov ebx, eax
push 0x45c510
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5ffb48], eax
cmp dword [0x5eae58], 0
jne 0x45c4e3
push 0x45c520
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x5eae58], eax
cmp dword [0x5eae58], 0
je 0x45c4e3
push 0x45c52c
mov eax, dword [0x5eae58]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5ffb4c], eax
push 0x45c53c
mov eax, dword [0x5eae58]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5ffb50], eax
push 0x45c550
mov eax, dword [0x5eae58]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5ffb54], eax
push 0x45c568
mov eax, dword [0x5eae58]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5ffb58], eax
push 0x45c580
mov eax, dword [0x5eae58]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5ffb5c], eax
push 0x45c594
mov eax, dword [0x5eae58]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5ffb60], eax
push 0x45c5ac
mov eax, dword [0x5eae58]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5ffb64], eax
push 0x45c5c4
mov eax, dword [0x5eae58]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5ffb68], eax
push 0x45c5e0
mov eax, dword [0x5eae58]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5ffb6c], eax
push 0x45c5ec
mov eax, dword [0x5eae58]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5ffb70], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c501
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x467e54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x467ea4]
test si, 4
je 0x467e68
or bl, 1
test si, 8
je 0x467e72
or bl, 4
test si, 1
je 0x467e7c
or bl, 8
test si, 2
je 0x467e86
or bl, 0x10
test si, 0x10
je 0x467e90
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x467e9f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46eb10
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 0x46ecbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46ec9c
mov dl, 1
mov eax, dword [0x41ab00]
call fcn.004040ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040504c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46ec8b
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.0045c6f4
test al, al
je 0x46ec7e
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, 0x46eccc
lea eax, [ebp - 0x254]
call fcn.0040be58
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x46ec7e
xor eax, eax
push ebp
push 0x46ec77
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 0x46ed04
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46ec60
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004052cc
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 0x46ec60
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004052cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ec7e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46eb81
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f498
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 0x46ecc2
lea eax, [ebp - 0x260]
call fcn.0040504c
ret

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

Disassembly:
push ecx
mov eax, dword [0x5ffb94]
cmp byte [eax + 0xa5], 0
jne 0x46f6bd
cmp dword [0x5ffbac], 0
jne 0x46f67e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x46f608
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5ffbac], eax
cmp dword [0x5ffba8], 0
jne 0x46f699
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x5ffba8], eax
cmp dword [0x5ffbb0], 0
jne 0x46f6bd
push esp
push 0
push 0
push 0x46f5ac
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x5ffbb0], eax
pop edx
ret
Function at 0x47a29c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47a3e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004797cc
xor eax, eax
push ebp
push 0x47a3c9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x47a301
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x47a301
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x47a3b3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47a314
call fcn.00404a6c
jmp 0x47a3d0
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x47a3b3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x47a3b3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404324
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x47a3b3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040e7d0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x47a400
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5fe1c8]
mov dl, 1
mov eax, dword [0x478ae0]
call fcn.0040f108
call fcn.004049c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a3d0
mov eax, dword [ebp - 4]
call fcn.004797d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a3ed
lea eax, [ebp - 0x28]
call fcn.0040504c
ret

Function at 0x48877c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x488810
push 0
mov eax, ebx
call fcn.00405538
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x4887eb
mov eax, esi
call fcn.00405338
inc eax
push eax
mov eax, esi
call fcn.00405538
push eax
push 1
push 0
mov eax, edi
call fcn.00405538
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
test ebx, ebx
je 0x488806
mov ecx, dword [0x5fddbc]
mov dl, 1
mov eax, dword [0x486738]
call fcn.0040f0cc
call fcn.004049c0
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x488864
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 [0x419870]
call fcn.00405d1c
xor eax, eax
push ebp
push 0x4889a8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5eba34], 0
jne 0x4888b7
mov ecx, dword [0x5fdb78]
mov dl, 1
mov eax, dword [0x4090dc]
call fcn.0040f0cc
call fcn.004049c0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004038a8
mov eax, ebx
call fcn.004059d8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4889b8
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.00406fe8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004059e8
test eax, eax
jle 0x48894f
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 0x488948
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00405300
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004052cc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040a0a0
test eax, eax
jne 0x488948
mov ebx, 0x15
jmp 0x488954
mov ebx, 0x10
jmp 0x488954
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 [0x5eba34]
call fcn.0048870c
mov eax, dword [ebp - 8]
call fcn.0048870c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00407000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4889af
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00405070
lea eax, [ebp - 0x10]
mov edx, dword [0x419870]
call fcn.00405dec
ret

Function at 0x48da4c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x48da7a
mov eax, ebx
call fcn.0048e4f0
cmp dword [ebx + 0x3c], 0
je 0x48da73
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48daeb
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x48dadd
cmp dword [ebx + 8], 0
je 0x48da9c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x48daae
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48dadd
cmp dword [ebx + 8], 0
je 0x48da8f
cmp eax, 3
je 0x48dac1
dec eax
jne 0x48da8f
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 0x48da8f
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x48da8f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x48db09
cmp dword [ebx + 0x10], 0xcc
je 0x48db09
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.0048db14
pop ebx
ret