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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46b2ac]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46b28d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46b29c
or bl, 4
test esi, 0x20000000
je 0x46b2a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x471954
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x471966
add esp, 0xfffffff0
call fcn.00403558
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421028
mov eax, dword [0x4ab178]
mov dword [eax + 4], ebx
mov dword [eax], 0x471cf8
mov eax, dword [0x4ab188]
mov dword [eax + 4], ebx
mov dword [eax], 0x471d04
mov eax, ebx
call fcn.00471d10
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416234]
call fcn.004031c4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416234]
call fcn.004031c4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416234]
call fcn.004031c4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416234]
call fcn.004031c4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416234]
call fcn.004031c4
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, 0x46e12c
push eax
push 0
push 0
mov eax, dword [0x4ab384]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422ae8]
call fcn.0042425c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422ae8]
call fcn.0042425c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422ae8]
call fcn.0042425c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004721c0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472054
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472054
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472054
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x471aa3
call fcn.004035b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x471e38
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 0x471fe3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x471fc4
mov dl, 1
mov eax, dword [0x416898]
call fcn.004031c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f84
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x471fb3
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.0045fbcc
test al, al
je 0x471fa6
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, 0x471ff4
lea eax, [ebp - 0x254]
call fcn.00409104
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x471fa6
xor eax, eax
push ebp
push 0x471f9f
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 0x47202c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x471f88
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041f4
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 0x471f88
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471fa6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x471ea9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041af94
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 0x471fea
lea eax, [ebp - 0x260]
call fcn.00403f84
ret

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

Disassembly:
push ecx
mov eax, dword [0x4acbc0]
cmp byte [eax + 0xa5], 0
jne 0x4729d1
cmp dword [0x4acbd8], 0
jne 0x472992
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47291c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4acbd8], eax
cmp dword [0x4acbd4], 0
jne 0x4729ad
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4acbd4], eax
cmp dword [0x4acbdc], 0
jne 0x4729d1
push esp
push 0
push 0
push 0x4728c0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4acbdc], eax
pop edx
ret
Function at 0x472ac8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x472adf
add esp, 0xfffffff0
call fcn.00403558
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421028
mov eax, dword [0x4ab368]
cmp word [eax + 2], 0
jne 0x472b07
mov eax, dword [0x4ab368]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00474248
mov eax, dword [0x4ab474]
cmp word [eax + 2], 0
jne 0x472b21
mov eax, dword [0x4ab474]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00474440
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416234]
call fcn.004031c4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416234]
call fcn.004031c4
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 [0x4235c8]
call fcn.0042b424
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x472ca8
mov eax, dword [0x4ab224]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b7f4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4749e0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ab224]
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.0040cb00
test eax, eax
je 0x472c16
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ae4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cb28
test eax, eax
je 0x472c2a
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.004041f4
mov eax, dword [0x4ab04c]
cmp byte [eax], 0
jne 0x472c5e
mov eax, ebx
call fcn.00472dd0
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.00474bbc
mov eax, ebx
call fcn.00475580
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x472c9e
call fcn.004035b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473050
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4acbc0]
cmp dword [eax + 0x30], 0
je 0x4730fa
cmp dword [ebx + 0x94], 0
jne 0x4730f4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x472fe0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4730f4
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 0x4730ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4730f4
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.00418a84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4730c9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x473c5c
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 0x473c91
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.00404074
jmp 0x473c9e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fd8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x474d98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x474dd9
mov eax, esi
call fcn.0045b194
test al, al
je 0x474dd9
mov eax, dword [ebx + 0x84]
call fcn.0045ae90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x474dd9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045ae90
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x478b04
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x478b32
mov eax, ebx
call fcn.004795b8
cmp dword [ebx + 0x40], 0
je 0x478b2b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x478ba3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x478b95
cmp dword [ebx + 8], 0
je 0x478b54
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 0x478b66
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x478b95
cmp dword [ebx + 8], 0
je 0x478b47
cmp eax, 3
je 0x478b79
dec eax
jne 0x478b47
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 0x478b47
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x478b47
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x478bc1
cmp dword [ebx + 0x14], 0xcc
je 0x478bc1
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.00478bcc
pop ebx
ret
Function at 0x49123c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49149c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49129f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00490d04
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c634
cmp al, 1
jne 0x49129f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049101c
test al, al
je 0x49142b
cmp dword [ebp - 8], 0
jge 0x4912bd
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00490d04
mov eax, dword [ebp - 0x210]
call fcn.00404244
cmp ebx, eax
jge 0x491307
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00490d04
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4ab644]
and eax, 0xff
bt dword [edx], eax
jae 0x491307
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x49131b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00491218
cmp ebx, dword [ebp - 8]
je 0x49141d
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x491347
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033f0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4aa9b0]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x49140a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033f0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4aa9b0]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045ae90
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033f0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4aa9b0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045ae90
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491411
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x49147e
cmp dword [ebp - 8], 0
jge 0x491436
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00490d04
mov eax, dword [ebp - 0x218]
call fcn.00404244
cmp eax, dword [ebp - 8]
jg 0x491470
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00490d04
mov eax, dword [ebp - 0x21c]
call fcn.00404244
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00491218
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4914a3
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403fa8
ret
Function at 0x49cdc4
Capabilities:
Find taskbar

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, 0x4acc18
mov edi, esp
push 0
push 0x49cf30
call sub.user32.dll_FindWindowA
push edi
push eax
call sub.user32.dll_GetWindowRect
mov bl, 1
cmp dword [edi], 0
jg 0x49cdf3
cmp dword [edi + 4], 0
jle 0x49cdf3
mov bl, 1
cmp dword [edi], 0
jg 0x49ce11
cmp dword [edi + 4], 0
jg 0x49ce11
mov eax, dword [0x4ab630]
mov eax, dword [eax]
call fcn.00471b80
cmp eax, dword [edi + 8]
jg 0x49ce11
mov bl, 2
cmp dword [edi], 0
jle 0x49ce18
mov bl, 3
cmp dword [edi], 0
jg 0x49ce36
cmp dword [edi + 4], 0
jg 0x49ce36
mov eax, dword [0x4ab630]
mov eax, dword [eax]
call fcn.00471b74
cmp eax, dword [edi + 0xc]
jg 0x49ce36
mov bl, 4
cmp bl, 1
jne 0x49ce77
mov eax, dword [0x4ab630]
mov eax, dword [eax]
call fcn.00471b80
mov edx, eax
mov eax, dword [esi]
sub edx, dword [eax + 0x48]
mov eax, dword [esi]
call fcn.00453dd0
mov eax, dword [0x4ab630]
mov eax, dword [eax]
call fcn.00471b74
mov edx, eax
mov eax, dword [esi]
sub edx, dword [eax + 0x4c]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
sub edx, eax
mov eax, dword [esi]
call fcn.00453df4
cmp bl, 2
jne 0x49cea3
mov eax, dword [0x4ab630]
mov eax, dword [eax]
call fcn.00471b80
mov edx, eax
mov eax, dword [esi]
sub edx, dword [eax + 0x48]
mov eax, dword [esi]
call fcn.00453dd0
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
mov eax, dword [esi]
call fcn.00453df4
cmp bl, 3
jne 0x49cee3
mov eax, dword [0x4ab630]
mov eax, dword [eax]
call fcn.00471b80
mov edx, eax
mov eax, dword [esi]
sub edx, dword [eax + 0x48]
mov eax, dword [edi + 8]
sub eax, dword [edi]
sub edx, eax
mov eax, dword [esi]
call fcn.00453dd0
mov eax, dword [0x4ab630]
mov eax, dword [eax]
call fcn.00471b74
mov edx, eax
mov eax, dword [esi]
sub edx, dword [eax + 0x4c]
mov eax, dword [esi]
call fcn.00453df4
cmp bl, 4
jne 0x49cf0e
mov edx, dword [edi + 8]
sub edx, dword [edi]
mov eax, dword [esi]
call fcn.00453dd0
mov eax, dword [0x4ab630]
mov eax, dword [eax]
call fcn.00471b74
mov edx, eax
mov eax, dword [esi]
sub edx, dword [eax + 0x4c]
mov eax, dword [esi]
call fcn.00453df4
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x49cf1f
mov eax, dword [esi]
call fcn.00470b20
jmp 0x49cf26
mov eax, dword [esi]
call fcn.00470978
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x49eeb8
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
test bl, bl
jne 0x49eee1
push 3
push 0
push 0
push 0x49efa8
push 0x49efd4
mov eax, dword [0x4ab140]
mov eax, dword [eax]
call fcn.0045ae90
push eax
call sub.shell32.dll_ShellExecuteA
cmp bl, 1
jne 0x49ef08
push 3
push 0
push 0
push 0x49efdc
push 0x49efd4
mov eax, dword [0x4ab140]
mov eax, dword [eax]
call fcn.0045ae90
push eax
call sub.shell32.dll_ShellExecuteA
cmp bl, 2
jne 0x49ef2f
push 3
push 0
push 0
push 0x49f00c
push 0x49efd4
mov eax, dword [0x4ab140]
mov eax, dword [eax]
call fcn.0045ae90
push eax
call sub.shell32.dll_ShellExecuteA
cmp bl, 3
jne 0x49ef56
push 3
push 0
push 0
push 0x49f03c
push 0x49efd4
mov eax, dword [0x4ab140]
mov eax, dword [eax]
call fcn.0045ae90
push eax
call sub.shell32.dll_ShellExecuteA
cmp bl, 4
jne 0x49ef7d
push 3
push 0
push 0
push 0x49f06c
push 0x49efd4
mov eax, dword [0x4ab140]
mov eax, dword [eax]
call fcn.0045ae90
push eax
call sub.shell32.dll_ShellExecuteA
cmp bl, 5
jne 0x49efa4
push 3
push 0
push 0
push 0x49f09c
push 0x49efd4
mov eax, dword [0x4ab140]
mov eax, dword [eax]
call fcn.0045ae90
push eax
call sub.shell32.dll_ShellExecuteA
pop ebx
ret

Function at 0x49f0cc
Capabilities:
Create process on windows

Disassembly:
push 3
push 0
push 0
push 0x49f0f0
push 0x49f120
mov eax, dword [0x4ab140]
mov eax, dword [eax]
call fcn.0045ae90
push eax
call sub.shell32.dll_ShellExecuteA
ret

Function at 0x49f128
Capabilities:
Create process on windows

Disassembly:
push 3
push 0
push 0
push 0x49f14c
push 0x49f180
mov eax, dword [0x4ab140]
mov eax, dword [eax]
call fcn.0045ae90
push eax
call sub.shell32.dll_ShellExecuteA
ret

Function at 0x49f188
Capabilities:
Create process on windows

Disassembly:
push 3
push 0
push 0
push 0x49f1ac
push 0x49f1e8
mov eax, dword [0x4ab140]
mov eax, dword [eax]
call fcn.0045ae90
push eax
call sub.shell32.dll_ShellExecuteA
ret

Function at 0x49f2f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x49f35c
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
push 0
push 0
mov edx, dword [0x4ab510]
mov edx, dword [edx]
lea eax, [ebp - 4]
mov ecx, 0x49f370
call fcn.00404290
mov eax, dword [ebp - 4]
call fcn.00404444
push eax
push 0x49f37c
mov eax, dword [0x4ab140]
mov eax, dword [eax]
call fcn.0045ae90
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f363
lea eax, [ebp - 4]
call fcn.00403f84
ret
Function at 0x4a6f94
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a7036
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0049ecb8
inc eax
jne 0x4a7018
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.004041f4
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
mov edx, 0x4a704c
call fcn.00404290
mov edx, dword [ebp - 0x108]
mov eax, dword [ebx + 0x3d4]
call fcn.00454690
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a703d
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00403fa8
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x100195d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0xd
push 0x400
mov dword [0x100a4e4], 0x1005f63
mov dword [0x100a4ec], 0xc
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
cmp word [ebp - 4], 0x31
jne 0x10019b1
mov eax, 0x3e8
mov dword [0x100a4d0], eax
mov dword [0x100a4d8], eax
mov dword [0x100a4b0], 0xa006
mov eax, 0x2ee
jmp 0x10019cf
mov eax, 0x9c4
mov dword [0x100a4d0], eax
mov dword [0x100a4d8], eax
mov dword [0x100a4b0], 0xa00a
mov eax, 0x7d0
mov dword [0x100a4cc], eax
mov dword [0x100a4d4], eax
leave
ret

Function at 0x1001d73
Capabilities:
Open clipboard

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push ebx
push esi
push edi
push dword [0x1009830]
call dword [sym.imp.user32.dll_GetMenu]
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xb0
push dword [0x1009838]
call dword [sym.imp.user32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc]
mov esi, dword [sym.imp.user32.dll_GetSubMenu]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
sete al
push eax
push 0x300
push 1
push ebx
mov dword [ebp - 4], eax
call esi
mov edi, dword [sym.imp.user32.dll_EnableMenuItem]
push eax
call edi
push dword [ebp - 4]
push 0x301
push 1
push ebx
call esi
push eax
call edi
push dword [ebp - 4]
push 0x303
push 1
push ebx
call esi
push eax
call edi
push 0
push 0x19
push 1
push ebx
call esi
push eax
call dword [sym.imp.user32.dll_GetMenuState]
cmp eax, 1
jne 0x1001e16
cmp dword [ebp - 4], eax
jne 0x1001e16
push 0
push 0x19
push eax
push ebx
call esi
push eax
call edi
push dword [ebp + 8]
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x1001e34
push 1
call dword [sym.imp.user32.dll_IsClipboardFormatAvailable]
mov dword [ebp - 8], eax
call dword [sym.imp.user32.dll_CloseClipboard]
xor eax, eax
cmp dword [ebp - 8], eax
sete al
push eax
push 0x302
push 1
push ebx
call esi
push eax
call edi
push 0
push 0
push 0xe
push dword [0x1009838]
mov dword [ebp - 4], 1
call dword [sym.imp.user32.dll_SendMessageW]
test eax, eax
je 0x1001e6b
and dword [ebp - 4], 0
push dword [ebp - 4]
push 0x15
push 1
push ebx
call esi
push eax
call edi
push dword [ebp - 4]
push 0x16
push 1
push ebx
call esi
push eax
call edi
xor eax, eax
cmp dword [0x1009850], eax
setne al
push eax
push 0x18
push 1
push ebx
call esi
push eax
call edi
push 0
push 0
push 0xc6
push dword [0x1009838]
call dword [sym.imp.user32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
sete cl
push ecx
push 0x10
push 1
push ebx
call esi
push eax
call edi
mov eax, dword [0x1009850]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x20
push 2
push ebx
call esi
mov edi, dword [sym.imp.user32.dll_CheckMenuItem]
push eax
call edi
mov eax, dword [0x1009840]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x1b
push 3
push ebx
call esi
push eax
call edi
pop edi
pop esi
pop ebx
leave
ret 4