joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446eb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4755d0]
cmp byte [eax + 0xc], 0
je 0x44701d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x447016
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x479570], 0
jne 0x446f04
push 0x447024
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44702c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479570], eax
cmp dword [0x4745e4], 0
jne 0x446fff
push 0x44703c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4745e4], eax
cmp dword [0x4745e4], 0
je 0x446fff
push 0x447048
mov eax, dword [0x4745e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479574], eax
push 0x447058
mov eax, dword [0x4745e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479578], eax
push 0x44706c
mov eax, dword [0x4745e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47957c], eax
push 0x447084
mov eax, dword [0x4745e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479580], eax
push 0x44709c
mov eax, dword [0x4745e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479584], eax
push 0x4470b0
mov eax, dword [0x4745e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479588], eax
push 0x4470c8
mov eax, dword [0x4745e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47958c], eax
push 0x4470e0
mov eax, dword [0x4745e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479590], eax
push 0x4470fc
mov eax, dword [0x4745e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479594], eax
push 0x447108
mov eax, dword [0x4745e4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479598], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44701d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44c664
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44c6b8]
test si, 4
je 0x44c679
or bl, 1
test si, 8
je 0x44c683
or bl, 4
test si, 1
je 0x44c68d
or bl, 8
test si, 2
je 0x44c697
or bl, 0x10
test si, 0x10
je 0x44c6a1
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c6b0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c6bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44c6f8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c6d6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c6e5
or bl, 4
test esi, 0x20000000
je 0x44c6f0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x453dac
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x453dbe
add esp, 0xfffffff0
call fcn.00403b98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a3c4
mov eax, dword [0x475268]
mov dword [eax + 4], ebx
mov dword [eax], 0x454150
mov eax, dword [0x475274]
mov dword [eax + 4], ebx
mov dword [eax], 0x45415c
mov eax, ebx
call fcn.00454168
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4121c0]
call fcn.00403844
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4121c0]
call fcn.00403844
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4121c0]
call fcn.00403844
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4121c0]
call fcn.00403844
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4121c0]
call fcn.00403844
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, 0x44fc00
push eax
push 0
push 0
mov eax, dword [0x4753d4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41df78]
call fcn.0041f7cc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41df78]
call fcn.0041f7cc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41df78]
call fcn.0041f7cc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00454598
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454468
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454468
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454468
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453efb
call fcn.00403bf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45424c
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 0x4543f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4543d8
mov dl, 1
mov eax, dword [0x4125e4]
call fcn.00403844
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046a0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4543c7
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.0044720c
test al, al
je 0x4543ba
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, 0x454408
lea eax, [ebp - 0x254]
call fcn.00409428
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4543ba
xor eax, eax
push ebp
push 0x4543b3
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 0x454440
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45439c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404910
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 0x45439c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4543ba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4542bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004162c4
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 0x4543fe
lea eax, [ebp - 0x260]
call fcn.004046a0
ret

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

Disassembly:
push ecx
mov eax, dword [0x4795a8]
cmp byte [eax + 0xad], 0
jne 0x454de1
cmp dword [0x4795c0], 0
jne 0x454da2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x454d2c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4795c0], eax
cmp dword [0x4795bc], 0
jne 0x454dbd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4795bc], eax
cmp dword [0x4795c4], 0
jne 0x454de1
push esp
push 0
push 0
push 0x454cd0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4795c4], eax
pop edx
ret
Function at 0x454fb4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x454fcb
add esp, 0xfffffff0
call fcn.00403b98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a3c4
mov eax, dword [0x4753b8]
cmp word [eax + 2], 0
jne 0x454ff3
mov eax, dword [0x4753b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456a64
mov eax, dword [0x475470]
cmp word [eax + 2], 0
jne 0x45500d
mov eax, dword [0x475470]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456c70
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4121c0]
call fcn.00403844
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4121c0]
call fcn.00403844
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4121c0]
call fcn.00403844
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41ea88]
call fcn.004263f0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4551c4
mov eax, dword [0x4752d4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004267c4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x457330
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4752d4]
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.0040cbd4
test eax, eax
je 0x455114
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408de0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc08
test eax, eax
je 0x455128
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404910
mov byte [ebx + 0xd4], 0
push ebx
push 0x4565c4
call fcn.0041b540
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4751ac]
cmp byte [eax], 0
jne 0x455179
mov eax, ebx
call fcn.00455308
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045750c
mov eax, ebx
call fcn.0045806c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4551b9
call fcn.00403bf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455588
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4795a8]
cmp dword [eax + 0x30], 0
je 0x455632
cmp dword [ebx + 0x94], 0
jne 0x45562c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455518
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45562c
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 0x4555f2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45562c
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.0041456c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455601
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45634c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x456381
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.00404790
jmp 0x45638e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4576f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45775e
mov eax, esi
call fcn.00441f80
test al, al
je 0x45775e
mov eax, dword [ebx + 0x84]
call fcn.00441c0c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45775e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x457752
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441c0c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043a038
jmp 0x45775e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045752c
pop esi
pop ebx
ret
Function at 0x45b2d4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45b302
mov eax, ebx
call fcn.0045bd88
cmp dword [ebx + 0x40], 0
je 0x45b2fb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45b373
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45b365
cmp dword [ebx + 8], 0
je 0x45b324
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 0x45b336
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45b365
cmp dword [ebx + 8], 0
je 0x45b317
cmp eax, 3
je 0x45b349
dec eax
jne 0x45b317
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 0x45b317
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45b317
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45b391
cmp dword [ebx + 0x14], 0xcc
je 0x45b391
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.0045b39c
pop ebx
ret

Function at 0x471100
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4711bf
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov dl, 2
mov eax, ebx
call fcn.004711f0
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4711d4
call fcn.004049b0
mov eax, dword [ebp - 4]
call fcn.00408bc8
test al, al
je 0x471150
push 0
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00470ee0
lea ecx, [ebp - 0xc]
mov dl, 3
mov eax, ebx
call fcn.004711f0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x4711e4
call fcn.004049b0
mov eax, dword [ebp - 4]
call fcn.00404b64
push eax
call sub.kernel32.dll_DeleteFileA
lea ecx, [ebp - 0x10]
mov dl, 1
mov eax, ebx
call fcn.004711f0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x4711e4
call fcn.004049b0
mov eax, dword [ebp - 4]
call fcn.00404b64
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4711c6
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004046c4
ret
Function at 0x402540
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax]
mov edi, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x38], edi
test ebx, ebx
jne 0x40258e
push ebx
push 0x42e34b
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
call fcn.00413cf0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00414c3c
mov esp, ebp
pop ebp
ret
mov eax, ebx
xor esi, esi
and eax, 3
jne 0x4025a5
cmp byte [ebx + edx - 1], 0x3d
je 0x4025a5
xor ecx, ecx
mov dword [ebp - 0x24], ecx
jmp 0x4025bf
mov ecx, 1
mov dword [ebp - 0x24], ecx
cmp eax, 2
ja 0x4025bd
cmp byte [ebx + edx - 2], 0x3d
jne 0x4025bd
xor eax, eax
jmp 0x4025bf
mov eax, ecx
sub ebx, ecx
mov dword [ebp - 0x30], eax
and ebx, 0xfffffffc
mov dword [ebp - 0x10], esi
mov ecx, ebx
mov dword [ebp - 0x3c], ebx
shr ecx, 2
push 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [ebp - 0x20]
add eax, dword [ebp - 0x24]
push eax
call fcn.00413bb0
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
test ebx, ebx
je 0x40267b
mov edx, dword [ebp - 0x28]
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0x2c]
add edx, 2
shr eax, 2
inc eax
mov dword [ebp - 0x34], eax
mov edi, eax
nop word [eax + eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov ecx, dword [eax*4 + 0x42ef48]
movzx eax, byte [edx - 5]
shl ecx, 6
or ecx, dword [eax*4 + 0x42ef48]
movzx eax, byte [edx - 4]
shl ecx, 6
or ecx, dword [eax*4 + 0x42ef48]
movzx eax, byte [edx - 3]
shl ecx, 6
or ecx, dword [eax*4 + 0x42ef48]
mov eax, ecx
sar eax, 0x10
mov byte [ebx + esi], al
mov eax, ecx
sar eax, 8
mov byte [ebx + esi + 1], al
mov byte [ebx + esi + 2], cl
add esi, 3
sub edi, 1
jne 0x402620
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
cmp dword [ebp - 0x24], 0
je 0x4026ca
add ebx, dword [ebp - 0x28]
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
mov edx, dword [eax*4 + 0x42ef48]
shl edx, 6
or edx, dword [ecx*4 + 0x42ef48]
mov ecx, dword [ebp - 0x2c]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
cmp dword [ebp - 0x30], 0
mov byte [ecx + esi], al
je 0x4026ca
movzx eax, byte [ebx + 2]
sar edx, 8
mov eax, dword [eax*4 + 0x42ef48]
shl eax, 6
sar eax, 8
or al, dl
mov byte [ecx + esi + 1], al
movups xmm0, xmmword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov eax, edi
xor ecx, ebp
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [edi + 0x10], xmm0
pop edi
pop esi
pop ebx
call fcn.00414c3c
mov esp, ebp
pop ebp
ret
Function at 0x402a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x400
lea eax, [ebp - 0x404]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.00415ec0
add esp, 0xc
mov dword [ebp - 0x408], 0x400
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x40c]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402aa5
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x408]
push ecx
lea ecx, [ebp - 0x404]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x404]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402ad0
sub ecx, edx
lea eax, [ebp - 0x404]
push ecx
push eax
mov ecx, edi
call fcn.00413cf0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x402b18
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402b0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b6c
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x402b5a
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402b50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b6c
push edx
push ecx
call fcn.004152ae
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00414c3c
mov esp, ebp
pop ebp
ret
call fcn.004186fc
int3
Function at 0x402b80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 8]
push ecx
push 0xf003f
lea eax, [ebp + 8]
mov dword [ebp - 8], 0x80000001
cmovae eax, dword [ebp + 8]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402be7
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
mov eax, dword [ebp + 0x48]
lea ecx, [ebp + 0x20]
cmovae edx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 0x10
cmovae ecx, dword [ebp + 0x20]
inc eax
push eax
push edx
push 2
push 0
push ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x402c24
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402c1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402cb6
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x402c66
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402c5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402cb6
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x402ca8
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402c9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402cb6
push edx
push ecx
call fcn.004152ae
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414c3c
mov esp, ebp
pop ebp
ret
call fcn.004186fc
int3
Function at 0x403470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x18], 1
jne 0x40348d
cmp byte [eax], 0x31
jne 0x40348d
mov cl, 1
jmp 0x40348f
xor cl, cl
xor edx, edx
mov eax, 5
test cl, cl
lea ecx, [ebp + 8]
push esi
cmove eax, edx
mov edx, str.runas
push eax
mov eax, 0x42e34b
cmovne eax, edx
push eax
call fcn.00413cf0
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
push 0
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push edx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov dword [0x4332c4], esi
cmp edx, 0x10
jb 0x40351f
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403515
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035a8
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x403561
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403557
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035a8
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x4035a3
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403599
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035a8
push edx
push ecx
call fcn.004152ae
add esp, 8
mov eax, esi
pop esi
pop ebp
ret
call fcn.004186fc
int3