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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46768c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46766d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46767c
or bl, 4
test esi, 0x20000000
je 0x467687
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46dd34
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46dd46
add esp, 0xfffffff0
call fcn.004037b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424964
mov eax, dword [0x529ec0]
mov dword [eax + 4], ebx
mov dword [eax], 0x46e0d8
mov eax, dword [0x529ed8]
mov dword [eax + 4], ebx
mov dword [eax], 0x46e0e4
mov eax, ebx
call fcn.0046e0f0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b540]
call fcn.0040345c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b540]
call fcn.0040345c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b540]
call fcn.0040345c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b540]
call fcn.0040345c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b540]
call fcn.0040345c
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, 0x46a50c
push eax
push 0
push 0
mov eax, dword [0x52a230]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426a30]
call fcn.00428244
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426a30]
call fcn.00428244
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426a30]
call fcn.00428244
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046e510
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46e3ec
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46e3ec
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46e3ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46de83
call fcn.00403808
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46e1d0
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 0x46e37b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46e35c
mov dl, 1
mov eax, dword [0x41bba4]
call fcn.0040345c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404340
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46e34b
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.0045bc58
test al, al
je 0x46e33e
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, 0x46e38c
lea eax, [ebp - 0x254]
call fcn.00409da0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46e33e
xor eax, eax
push ebp
push 0x46e337
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 0x46e3c4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46e320
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045b0
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 0x46e320
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e33e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46e241
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00420488
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 0x46e382
lea eax, [ebp - 0x260]
call fcn.00404340
ret

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

Disassembly:
push ecx
mov eax, dword [0x52bbec]
cmp byte [eax + 0xa5], 0
jne 0x46ed21
cmp dword [0x52bc04], 0
jne 0x46ece2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46ec6c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x52bc04], eax
cmp dword [0x52bc00], 0
jne 0x46ecfd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x52bc00], eax
cmp dword [0x52bc08], 0
jne 0x46ed21
push esp
push 0
push 0
push 0x46ec10
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x52bc08], eax
pop edx
ret
Function at 0x46ee18
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46ee2f
add esp, 0xfffffff0
call fcn.004037b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424964
mov eax, dword [0x52a208]
cmp word [eax + 2], 0
jne 0x46ee57
mov eax, dword [0x52a208]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00470598
mov eax, dword [0x52a3e0]
cmp word [eax + 2], 0
jne 0x46ee71
mov eax, dword [0x52a3e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00470790
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b540]
call fcn.0040345c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b540]
call fcn.0040345c
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 [0x4275b0]
call fcn.0042f1e4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46eff8
mov eax, dword [0x529fc4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f5b4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x470d40
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x529fc4]
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.0040dc70
test eax, eax
je 0x46ef66
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409740
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dc98
test eax, eax
je 0x46ef7a
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.004045b0
mov eax, dword [0x529c8c]
cmp byte [eax], 0
jne 0x46efae
mov eax, ebx
call fcn.0046f120
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.00470f1c
mov eax, ebx
call fcn.004718e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46efee
call fcn.00403808
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f3a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x52bbec]
cmp dword [eax + 0x30], 0
je 0x46f44a
cmp dword [ebx + 0x94], 0
jne 0x46f444
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46f330
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46f444
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 0x46f40a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46f444
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.0041dd34
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46f419
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46ffac
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 0x46ffe1
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.00404430
jmp 0x46ffee
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404394
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4710f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x471139
mov eax, esi
call fcn.004571fc
test al, al
je 0x471139
mov eax, dword [ebx + 0x84]
call fcn.00456ef8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x471139
push 0
mov eax, dword [ebx + 0x84]
call fcn.00456ef8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x471fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404340
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404800
push eax
push edi
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x472067
xor eax, eax
push ebp
push 0x472060
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040498c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00404800
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404800
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x472042
mov edx, dword [ebp - 8]
dec edx
mov eax, ebx
call fcn.0040498c
jmp 0x472049
mov eax, ebx
call fcn.00404340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472067
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4720a8
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 [0x41a9f8]
call fcn.00404e20
xor eax, eax
push ebp
push 0x4721ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x525208], 0
jne 0x4720fb
mov ecx, dword [0x529ce4]
mov dl, 1
mov eax, dword [0x407e18]
call fcn.0040cea0
call fcn.00403cdc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402e0c
mov eax, ebx
call fcn.00404bd8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4721fc
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.004061e8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404be8
test eax, eax
jle 0x472193
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 0x47218c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004045c8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004045b0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408d30
test eax, eax
jne 0x47218c
mov ebx, 0x15
jmp 0x472198
mov ebx, 0x10
jmp 0x472198
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 [0x525208]
call fcn.00471e98
mov eax, dword [ebp - 8]
call fcn.00471e98
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406200
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4721f3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404364
lea eax, [ebp - 0x10]
mov edx, dword [0x41a9f8]
call fcn.00404ef0
ret
Function at 0x498408
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x498589
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x52562c], 0
jne 0x498566
push 0x52bca0
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x49855f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x52562c], 0
jne 0x498547
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040498c
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404800
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00408a94
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x4985a0
call fcn.00409e20
mov eax, dword [ebp - 0xc]
call fcn.00404800
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x4984c8
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040498c
jmp 0x4984ff
lea eax, [ebp - 8]
mov edx, 0x4985c0
call fcn.004043d8
xor eax, eax
push ebp
push 0x4984f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00472254
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4984ff
mov eax, dword [ebp - 8]
call fcn.00404800
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x52562c], eax
cmp dword [0x52562c], 0
jne 0x498532
mov ecx, dword [0x52a1b0]
mov dl, 1
mov eax, dword [0x407e18]
call fcn.0040cea0
call fcn.00403cdc
push 0x4985cc
mov eax, dword [0x52562c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52bcb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498566
push 0x52bca0
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498590
lea eax, [ebp - 0x18]
call fcn.00404340
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404364
ret

Function at 0x4987f0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xffffffb8
mov dword [esp], eax
mov eax, dword [0x52a46c]
cmp byte [eax], 0
je 0x49884f
mov eax, dword [0x529f68]
call fcn.00402c5c
call fcn.00402958
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
call fcn.00409704
push eax
lea eax, [esp + 0xc]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 8]
push eax
push 2
push 0x498894
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x498885
push 0x40
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x529ea4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x52b668]
call fcn.00405c18
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x48
ret
Function at 0x49adb8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x200
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.kernel32.dll_GetLocaleInfoA_1
push 0x525dbf
lea ecx, [ebp - 0x200]
push ecx
call fcn.004989a0
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00498960
pop ecx
mov edx, 0x200
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00498960
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
push 0x525dc1
lea ecx, [ebp - 0x200]
push ecx
call fcn.004989a0
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00498960
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0049c8d0
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x49aec9
push esi
call fcn.00498960
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00498960
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.00498898
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x49aea0
xor eax, eax
jmp 0x49af50
push esi
call fcn.00498960
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00498960
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.0049892c
add esp, 0xc
jmp 0x49af09
mov edi, dword [ebx + 0x24]
push edi
call fcn.00498960
pop ecx
push eax
push esi
call fcn.00498960
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00498960
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.004988d4
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x49af09
xor eax, eax
jmp 0x49af50
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.004989a0
add esp, 8
push 0x525dc3
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.004989a0
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.004989a0
add esp, 8
push 0x525dc5
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.004989a0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49d9ae
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
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 4]
push ecx
push 0
push 0x4001f
push 0
push 0
push 0
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x49da02
push esi
call fcn.00498960
pop ecx
inc eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 4]
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4c8efc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4c90d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x4c90b9
mov eax, dword [edi + 0x30]
call fcn.00404600
test eax, eax
jne 0x4c8f52
mov eax, dword [edi + 0x34]
call fcn.00404600
test eax, eax
jne 0x4c8f52
mov eax, edi
call fcn.004c9170
jmp 0x4c90b9
cmp dword [edi + 0xa0], 0
jne 0x4c8f89
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.0040979c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x52be10]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x4c8fc0
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.0040979c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x52be10]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.004c91b0
mov ebx, eax
test bl, bl
jne 0x4c906e
mov eax, dword [edi + 0x30]
call fcn.00404600
test eax, eax
jne 0x4c8ff8
mov eax, dword [edi + 0xc0]
call fcn.00404600
test eax, eax
je 0x4c906e
mov eax, dword [edi + 0xc0]
call fcn.00404600
test eax, eax
je 0x4c901a
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.0040979c
jmp 0x4c9046
push dword [edi + 0x30]
push 0x4c90ec
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.004046c0
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.0040979c
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x4c906e
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.004c91b0
mov ebx, eax
test bl, bl
jne 0x4c907b
mov eax, edi
call fcn.004c9170
jmp 0x4c90b9
mov eax, dword [edi + 0x58]
test eax, eax
je 0x4c908a
mov dword [edi + 0xa8], eax
jmp 0x4c9094
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.004c9228
test al, al
je 0x4c90b9
mov eax, edi
mov si, 0xffee
call fcn.00403688
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.004c93f8
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c90d9
lea eax, [ebp - 0x108]
call fcn.00404340
ret

Function at 0x4cac10
Capabilities:
Log keystrokes

Disassembly:
push 0
push 0
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x56
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x56
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x56
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x56
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x11
call sub.user32.dll_keybd_event
ret
Function at 0x4cac68
Capabilities:
Log keystrokes

Disassembly:
push 0
push 0
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x12
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x44
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x44
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x44
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x44
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x12
call sub.user32.dll_keybd_event
ret
Function at 0x4d8ad8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004047f0
mov eax, dword [ebp - 8]
call fcn.004047f0
xor eax, eax
push ebp
push 0x4d8b6a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x4d8b2b
push 3
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404800
push eax
push 0x4d8b7c
mov eax, dword [esi + 8]
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4d8b4f
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404800
push eax
mov eax, dword [ebp - 8]
call fcn.00404800
push eax
push 0x4d8bac
mov eax, dword [esi + 8]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8b71
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404364
ret

Function at 0x4dadc4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4dade9
cmp dword [esp + 4], 5
jb 0x4dade9
mov al, 1
jmp 0x4dadeb
xor eax, eax
add esp, 0x94
ret