joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cfc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x474668
cmp dword [edi], 0
jne 0x41d03c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x474664]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4725d8
mov ecx, 2
call fcn.004027a4
mov edx, 0x41cf98
lea eax, [esi + 5]
call fcn.0041cfb8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041cfb8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41d011
mov dword [0x474664], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41d160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41d1b0]
test si, 4
je 0x41d174
or bl, 1
test si, 8
je 0x41d17e
or bl, 4
test si, 1
je 0x41d188
or bl, 8
test si, 2
je 0x41d192
or bl, 0x10
test si, 0x10
je 0x41d19c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41d1ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41d1b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41d1ec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41d1cd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41d1dc
or bl, 4
test esi, 0x20000000
je 0x41d1e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x421728
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 0x4218cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40cc94]
call fcn.00402e70
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0040399c
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4218a3
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.0042c434
test al, al
je 0x421896
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x4218dc
lea eax, [ebp - 0x254]
call fcn.00407f48
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x421896
xor eax, eax
push ebp
push 0x42188f
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 0x421914
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x421878
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403bc8
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 0x421878
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421896
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x421799
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040f8b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4218d4
lea eax, [ebp - 0x260]
call fcn.0040399c
ret

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

Disassembly:
push ecx
mov eax, dword [0x47463c]
cmp byte [eax + 0x89], 0
jne 0x421bb9
cmp dword [0x474674], 0
jne 0x421b7a
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x421b04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x474674], eax
cmp dword [0x474670], 0
jne 0x421b95
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x474670], eax
cmp dword [0x474678], 0
jne 0x421bb9
push esp
push 0
push 0
push 0x421aa8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x474678], eax
pop edx
ret
Function at 0x421ca8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x421cbf
add esp, 0xfffffff0
call fcn.004030e8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00412214
mov dl, 1
mov eax, dword [0x40c9d8]
call fcn.00402e70
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x40c9d8]
call fcn.00402e70
mov dword [ebx + 0x8c], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x40], 0x80000018
mov dword [ebx + 0x58], 0x1f4
mov dword [ebx + 0x5c], 0x32
mov dword [ebx + 0x60], 0x9c4
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x81], 1
mov dl, 1
mov eax, dword [0x413b50]
call fcn.0041ad58
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x421e90
mov eax, dword [0x473860]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041b20c
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x4235bc
mov dl, 1
mov eax, dword [0x413b50]
call fcn.0041ad58
mov esi, eax
mov dword [ebx + 0x7c], esi
push 0
push 0x32
call sub.user32.dll_GetSystemMetrics
push eax
push 0x31
call sub.user32.dll_GetSystemMetrics
push eax
push 1
push 0x421e90
mov eax, dword [0x4738fc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadImageA
mov edx, eax
mov eax, esi
call fcn.0041b20c
mov eax, dword [ebx + 0x7c]
call fcn.0041ae9c
test eax, eax
jne 0x421dc0
push 0x421e90
mov eax, dword [0x473860]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, dword [ebx + 0x7c]
call fcn.0041b20c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x42360c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x473860]
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.0040af70
test eax, eax
je 0x421e18
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407974
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040af98
test eax, eax
je 0x421e2c
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403bc8
mov eax, dword [0x4737a0]
cmp byte [eax], 0
jne 0x421e5d
mov eax, ebx
call fcn.00421f94
mov byte [ebx + 0x3d], 1
mov byte [ebx + 0x3e], 1
mov byte [ebx + 0x3f], 1
mov byte [ebx + 0x82], 1
xor eax, eax
mov dword [ebx + 0x84], eax
cmp byte [ebp - 1], 0
je 0x421e88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422200
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47463c]
cmp dword [eax + 0x24], 0
je 0x422290
cmp dword [ebx + 0x74], 0
jne 0x42228d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x422194
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x70]
cmp dword [eax + 8], 0
je 0x42228d
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 0x42225c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42228d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x70]
call fcn.0040db84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x422268
inc dword [ebx + 0x74]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x422bb4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x88], 0
je 0x422be9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403a80
jmp 0x422bf3
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00403a34
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42387c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x4238b4
mov eax, esi
call fcn.0042a384
test al, al
je 0x4238b4
mov eax, dword [ebx + 0x64]
call fcn.0042a1ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4238b4
push 0
mov eax, dword [ebx + 0x64]
call fcn.0042a1ec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x428bec
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x114], 0
je 0x428c08
cmp dword [esi + 4], 0
je 0x428c2f
mov eax, ebx
call fcn.00427e20
test eax, eax
jne 0x428c21
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x428d3f
mov edx, esi
mov eax, ebx
call fcn.00428890
jmp 0x428d3f
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x428d38
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042a1ec
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00426d08
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00428bec
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042a1ec
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428d3f
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42cc94
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.0040399c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42ccf5
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x42ccf5
cmp byte [ebp - 0x102], 0
je 0x42ccf5
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403bc8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e084
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x28], 0
je 0x42e105
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42e0b6
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42e0c8
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x42e0d4
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.0042df10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42e0f9
push ebp
mov eax, dword [ebp - 4]
call fcn.0042dff4
pop ecx
mov ebx, eax
cmp bl, 2
je 0x42e0d4
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4331cc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43325d
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.00432c20
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.00403ddc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x433247
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4738f4]
call fcn.00404bac
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x432a8c]
call fcn.0040a42c
call fcn.0040345c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433264
lea eax, [ebp - 0x10]
call fcn.0040399c
ret

Function at 0x433270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43330b
push dword fs:[eax]
mov dword fs:[eax], esp
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.00403ddc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4332e5
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x473a20]
call fcn.00404bac
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x432a8c]
call fcn.0040a42c
call fcn.0040345c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00432c50
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433312
lea eax, [ebp - 0x10]
call fcn.0040399c
ret
Function at 0x43667c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4366aa
mov eax, ebx
call fcn.00437120
cmp dword [ebx + 0x3c], 0
je 0x4366a3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x43671b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x43670d
cmp dword [ebx + 8], 0
je 0x4366cc
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 0x4366de
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x43670d
cmp dword [ebx + 8], 0
je 0x4366bf
cmp eax, 3
je 0x4366f1
dec eax
jne 0x4366bf
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 0x4366bf
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4366bf
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x436739
cmp dword [ebx + 0x10], 0xcc
je 0x436739
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.00436744
pop ebx
ret
Function at 0x447e94
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
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 0x447ffe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403a34
mov eax, dword [ebp - 0x10]
call fcn.00447b14
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x447ee7
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00403e5c
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.0044830c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x447fbc
xor eax, eax
push ebp
push 0x447fb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00447c78
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00448030
test al, al
je 0x447f93
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403a80
mov ebx, dword [ebp - 0x38]
dec ebx
test ebx, ebx
jl 0x447f93
inc ebx
xor esi, esi
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.00403ddc
push eax
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x447f8f
mov eax, dword [ebp - 0x14]
call fcn.00403ddc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403b50
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00447e94
inc esi
dec ebx
jne 0x447f48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447fbc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00447c78
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403ddc
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00447c64
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 0x448005
lea eax, [ebp - 0x3c]
call fcn.0040399c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004039c0
ret

Function at 0x448030
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.00402b58
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
pop esi
pop ebx
ret
Function at 0x4481a8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x448239
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.00447b28
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.00403ddc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x448223
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4738f4]
call fcn.00404bac
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x447998]
call fcn.0040a42c
call fcn.0040345c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448240
lea eax, [ebp - 0x10]
call fcn.0040399c
ret

Function at 0x44824c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4482e7
push dword fs:[eax]
mov dword fs:[eax], esp
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.00403ddc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4482c1
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x473a20]
call fcn.00404bac
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x447998]
call fcn.0040a42c
call fcn.0040345c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00447b58
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4482ee
lea eax, [ebp - 0x10]
call fcn.0040399c
ret
Function at 0x44dd7e
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [eax], 0xfffff000
jne 0x44dd93
mov dl, byte [eax + 5]
cmp dl, 0xe8
je 0x44dd98
cmp dl, 0xcc
je 0x44dd98
dec eax
dec ecx
jne fcn.0044dd7e
ret
add eax, 0xa
add eax, dword [eax - 4]
ret

Function at 0x44e077
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push ebx
mov ebx, edx
sub ecx, ecx
push 6
pop edx
mov eax, dword fs:[ecx + 0x30]
cmp byte [ebx + 2], cl
jne 0x44e091
dec edx
mov dword [eax], edx
mov byte [eax], dl
xor eax, dword [ebx + 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.kernel32.dll_OpenProcess
test eax, eax
je 0x44e10e
push eax
push dword [ebx + 0x30]
call dword [ebx + 0x10]
push dword [ebp + 0x10]
call dword [ebx + 8]
test eax, eax
sete byte [ebp - 1]
pop eax
je 0x44e0f1
sub ecx, ecx
cmp byte [ebx + 2], cl
mov edx, dword fs:[ecx + 0x30]
push eax
je 0x44e0cc
shr eax, 2
inc eax
shl eax, 3
add eax, dword [edx + 0x44]
mov ecx, dword [ebp + 0x10]
xor ecx, dword [ebx + 4]
mov dword [eax], ecx
cmp byte [ecx], 7
pop eax
jae 0x44e0e9
inc dword [ecx + 4]
dec dword [edx + 4]
jmp 0x44e0f1
inc word [ecx + 2]
dec word [edx + 2]
push eax
push dword [ebx + 0x30]
call dword [ebx + 0x18]
pop eax
cmp byte [ebp - 1], 0
je 0x44e10e
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x57
pop ecx
call fcn.0044e007
pop ebx
leave
ret 0xc
Function at 0x450ba4
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffe8
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x450bf5
lea eax, [esp + 0xc]
push eax
push 0x450bfc
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
xor eax, eax
lea edx, [esp + 4]
push edx
push eax
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
add esp, 0x18
ret