joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e2d0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44e2e2
add esp, 0xfffffff0
call fcn.004033fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004182dc
mov eax, ebx
call fcn.0044e61c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40f7dc]
call fcn.0040308c
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40f7dc]
call fcn.0040308c
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40f7dc]
call fcn.0040308c
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40f7dc]
call fcn.0040308c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40f7dc]
call fcn.0040308c
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x44e2a0
push eax
push 0
push 0
mov eax, dword [0x534f60]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4197a4]
call fcn.0041ad7c
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x4197a4]
call fcn.0041ad7c
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4197a4]
call fcn.0041ad7c
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0044ea8c
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e960
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e960
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e960
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e3f1
call fcn.00403454
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44e744
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 0x44e8ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x44e8d0
mov dl, 1
mov eax, dword [0x40fd08]
call fcn.0040308c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403e24
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e8bf
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.0043ce84
test al, al
je 0x44e8b2
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, 0x44e900
lea eax, [ebp - 0x254]
call fcn.0040a1a8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e8b2
xor eax, eax
push ebp
push 0x44e8ab
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 0x44e938
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e894
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404054
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x44e894
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e8b2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e7b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00413530
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e8f6
lea eax, [ebp - 0x260]
call fcn.00403e24
ret

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

Disassembly:
push ecx
mov eax, dword [0x5367d8]
cmp byte [eax + 0x95], 0
jne 0x44f1f5
cmp dword [0x5367f4], 0
jne 0x44f1b6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44f140
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5367f4], eax
cmp dword [0x5367f0], 0
jne 0x44f1d1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5367f0], eax
cmp dword [0x5367f8], 0
jne 0x44f1f5
push esp
push 0
push 0
push 0x44f0e4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5367f8], eax
pop edx
ret
Function at 0x44f2ec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44f303
add esp, 0xfffffff0
call fcn.004033fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004182dc
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40f7dc]
call fcn.0040308c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40f7dc]
call fcn.0040308c
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x41a1d4]
call fcn.004221e8
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x44f478
mov eax, dword [0x534d9c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004225b8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450ea8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x534d9c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040cacc
test eax, eax
je 0x44f3f6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409ae8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040caf4
test eax, eax
je 0x44f40a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404054
mov eax, dword [0x534b30]
cmp byte [eax], 0
jne 0x44f43b
mov eax, ebx
call fcn.0044f564
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f46d
call fcn.00403454
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f7d4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5367d8]
cmp dword [eax + 0x24], 0
je 0x44f877
cmp dword [ebx + 0x84], 0
jne 0x44f871
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f764
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x44f871
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 0x44f83a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f871
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.004113e4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f849
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x458c87
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x458cc9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403ebc
mov eax, dword [ebp - 0x10]
call fcn.00458704
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x458bb2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004042ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00459234
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x458c87
xor eax, eax
push ebp
push 0x458c80
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00458874
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00458cf8
test al, al
je 0x458c5e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403f0c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x458c5e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404268
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x458c58
mov eax, dword [ebp - 0x14]
call fcn.00404268
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403fdc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00458b60
dec ebx
cmp ebx, 0xffffffff
jne 0x458c11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458c87
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00458874
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404268
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00458860
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458cd0
lea eax, [ebp - 0x3c]
call fcn.00403e24
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403e48
ret

Function at 0x458cf8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402d20
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x535348]
cmp byte [edx + 8], 0
je 0x458d5c
mov edx, dword [0x535328]
cmp dword [edx], 2
jne 0x458d5c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x459148
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00458718
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404268
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4591a6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x534f6c]
mov dl, 1
mov eax, dword [0x458610]
call fcn.0040bd84
call fcn.00403854
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4591b0
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 esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404268
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x459208
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x535358]
mov dl, 1
mov eax, dword [0x458610]
call fcn.0040bd84
call fcn.00403854
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00458748
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x459408
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45951f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00458874
xor eax, eax
push ebp
push 0x4594fa
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00458cf8
test al, al
je 0x4594de
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004592e8
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403f0c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4594de
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404268
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueA
test eax, eax
jne 0x4594da
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404268
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00403fdc
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004592e8
pop ecx
inc edi
dec ebx
jne 0x45948f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459501
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00458874
ret
Function at 0x45dcb4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45dd8c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53687c], 0
jne 0x45dd70
lea eax, [ebp - 4]
mov edx, 0x45dda4
call fcn.00403ebc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404268
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45dd70
mov eax, ebx
call fcn.004027b4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45dd69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45dd53
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45ddb4
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45dd53
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x53687c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dd70
mov eax, dword [ebp - 0xc]
call fcn.004027cc
ret
mov ebx, dword [0x53687c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dd93
lea eax, [ebp - 4]
call fcn.00403e24
ret

Function at 0x46a630
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x46a681
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x46a668
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x46a658
jmp 0x46a681
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x46a669
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477b00
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
call fcn.004117a4
mov esi, eax
xor eax, eax
push ebp
push 0x477b7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x477b5e
mov edx, ebx
mov eax, esi
call fcn.004113e4
test byte [eax + 0x48], 1
je 0x477b58
push 0
mov edx, ebx
mov eax, esi
call fcn.004113e4
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.00411284
dec ebx
cmp ebx, 0xffffffff
jne 0x477b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477b81
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
call fcn.00411808
ret

Function at 0x47d594
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47d625
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x535328]
cmp dword [eax], 2
jne 0x47d5d4
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x47d607
lea eax, [ebp - 8]
mov edx, esi
call fcn.004045f0
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.0040406c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.00404268
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d62c
lea eax, [ebp - 8]
call fcn.004044e8
lea eax, [ebp - 4]
call fcn.00403e24
ret

Function at 0x47e410
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x47e4b7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404268
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x47e4a1
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004043d8
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404268
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47e4a1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x47e4c8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e4a1
cmp dword [ebp - 8], 0x34
jne 0x47e4a1
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e4be
lea eax, [ebp - 0x10]
call fcn.00403e24
ret
Function at 0x47f038
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x47f04d
add esp, 0xfffffff0
call fcn.004033fc
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.0040308c
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00403e78
mov eax, esi
call fcn.00404268
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x47f0a2
mov ecx, dword [0x5351cc]
mov dl, 1
mov eax, dword [0x47ee6c]
call fcn.00478f00
call fcn.00403854
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47f0c9
call fcn.00403454
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x48048c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480669
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00402d20
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x51c350], eax
mov eax, dword [ebp - 0xc]
mov dword [0x51c354], eax
mov eax, dword [ebp - 0x24]
mov dword [0x51c358], eax
mov eax, dword [0x535328]
cmp dword [eax], 2
sete byte [0x51bc48]
push 0x480674
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0047e2cc
cmp byte [0x51bc48], 0
jne 0x480518
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0047e410
test al, al
je 0x480518
mov eax, dword [ebp - 0x4c]
mov dword [0x5373e4], eax
jmp 0x48051f
xor eax, eax
mov dword [0x5373e4], eax
call fcn.004801cc
and eax, 0x7f
cmp eax, 0x12
ja case.0x480530.0
jmp dword [eax*4 + 0x480537]
mov byte [0x51bc34], 1
jmp case.0x480530.0
mov byte [0x51bc38], 1
jmp case.0x480530.0
mov byte [0x51bc3c], 1
jmp case.0x480530.0
mov byte [0x51bc40], 1
jmp case.0x480530.0
mov byte [0x51bc44], 1
jmp case.0x480530.0
mov byte [0x51bc4c], 1
mov byte [0x51bc50], 1
jmp case.0x480530.0
mov byte [0x51bc4c], 1
mov byte [0x51bc54], 1
jmp case.0x480530.0
mov byte [0x51bc4c], 1
mov byte [0x51bc54], 1
mov byte [0x51bc58], 1
jmp case.0x480530.0
mov byte [0x51bc5c], 1
jmp case.0x480530.0
mov byte [0x51bc60], 1
jmp case.0x480530.0
mov byte [0x51bc64], 1
jmp case.0x480530.0
mov byte [0x51bc68], 1
jmp case.0x480530.0
mov byte [0x51bc6c], 1
jmp case.0x480530.0
mov byte [0x51bc70], 1
jmp case.0x480530.0
mov byte [0x51bc74], 1
jmp case.0x480530.0
mov byte [0x51bc78], 1
jmp case.0x480530.0
mov byte [0x51bc7c], 1
jmp case.0x480530.0
mov byte [0x51bc80], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480670
lea eax, [ebp - 4]
call fcn.00403e24
ret
Function at 0x483ac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x483af8]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x483ad6
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x483ae5
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x483af4
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x484e94
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x535040]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x484eba
push 0
mov eax, dword [0x535040]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
ret