joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4482a8
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 + 0x1f8], 0
je 0x4482c4
cmp dword [esi + 4], 0
je 0x4482f1
test byte [ebx + 0x55], 1
jne 0x4482e3
mov eax, ebx
call fcn.00446e48
test eax, eax
jne 0x4482e3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x448401
mov edx, esi
mov eax, ebx
call fcn.00447dcc
jmp 0x448401
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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 0x4483fa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044a118
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.00444ae4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004482a8
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 + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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.0044a118
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448401
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 0x44ead4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c16e8]
cmp byte [eax + 0xc], 0
je 0x44ec41
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44ec3a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c2b98], 0
jne 0x44eb28
push 0x44ec48
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44ec50
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2b98], eax
cmp dword [0x4bee4c], 0
jne 0x44ec23
push 0x44ec60
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4bee4c], eax
cmp dword [0x4bee4c], 0
je 0x44ec23
push 0x44ec6c
mov eax, dword [0x4bee4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2b9c], eax
push 0x44ec7c
mov eax, dword [0x4bee4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2ba0], eax
push 0x44ec90
mov eax, dword [0x4bee4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2ba4], eax
push 0x44eca8
mov eax, dword [0x4bee4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2ba8], eax
push 0x44ecc0
mov eax, dword [0x4bee4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bac], eax
push 0x44ecd4
mov eax, dword [0x4bee4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bb0], eax
push 0x44ecec
mov eax, dword [0x4bee4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bb4], eax
push 0x44ed04
mov eax, dword [0x4bee4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bb8], eax
push 0x44ed20
mov eax, dword [0x4bee4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bbc], eax
push 0x44ed2c
mov eax, dword [0x4bee4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ec41
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x452f84
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.00404630
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x452fd3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004048a0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45a710
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45a760]
test si, 4
je 0x45a724
or bl, 1
test si, 8
je 0x45a72e
or bl, 4
test si, 1
je 0x45a738
or bl, 8
test si, 2
je 0x45a742
or bl, 0x10
test si, 0x10
je 0x45a74c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a75b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45a764
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45a79c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a77d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a78c
or bl, 4
test esi, 0x20000000
je 0x45a797
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x460e44
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x460e56
add esp, 0xfffffff0
call fcn.00403b80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004253ac
mov eax, dword [0x4c0fec]
mov dword [eax + 4], ebx
mov dword [eax], 0x4611e8
mov eax, dword [0x4c1000]
mov dword [eax + 4], ebx
mov dword [eax], 0x4611f4
mov eax, ebx
call fcn.00461200
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419de4]
call fcn.004037ec
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419de4]
call fcn.004037ec
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419de4]
call fcn.004037ec
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419de4]
call fcn.004037ec
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419de4]
call fcn.004037ec
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, 0x45d61c
push eax
push 0
push 0
mov eax, dword [0x4c12d0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427438]
call fcn.00428bac
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427438]
call fcn.00428bac
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427438]
call fcn.00428bac
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00461620
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4614fc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4614fc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4614fc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460f93
call fcn.00403bd8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4612e0
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 0x46148b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46146c
mov dl, 1
mov eax, dword [0x41a448]
call fcn.004037ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404630
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46145b
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.0044ee34
test al, al
je 0x46144e
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, 0x46149c
lea eax, [ebp - 0x254]
call fcn.00409b04
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46144e
xor eax, eax
push ebp
push 0x461447
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 0x4614d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461430
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048a0
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 0x461430
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46144e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461351
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ee10
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 0x461492
lea eax, [ebp - 0x260]
call fcn.00404630
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c2be4]
cmp byte [eax + 0xa5], 0
jne 0x461e31
cmp dword [0x4c2bfc], 0
jne 0x461df2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x461d7c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c2bfc], eax
cmp dword [0x4c2bf8], 0
jne 0x461e0d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c2bf8], eax
cmp dword [0x4c2c00], 0
jne 0x461e31
push esp
push 0
push 0
push 0x461d20
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4c2c00], eax
pop edx
ret
Function at 0x461f28
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x461f3f
add esp, 0xfffffff0
call fcn.00403b80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004253ac
mov eax, dword [0x4c12a8]
cmp word [eax + 2], 0
jne 0x461f67
mov eax, dword [0x4c12a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463600
mov eax, dword [0x4c1414]
cmp word [eax + 2], 0
jne 0x461f81
mov eax, dword [0x4c1414]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004637f8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419de4]
call fcn.004037ec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419de4]
call fcn.004037ec
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 [0x427f18]
call fcn.0042f67c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x462108
mov eax, dword [0x4c10b4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042fa4c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x463d98
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c10b4]
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.0040da44
test eax, eax
je 0x462076
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004094c8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040da6c
test eax, eax
je 0x46208a
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.004048a0
mov eax, dword [0x4c0e58]
cmp byte [eax], 0
jne 0x4620be
mov eax, ebx
call fcn.00462230
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.00463f74
mov eax, ebx
call fcn.00464938
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4620fe
call fcn.00403bd8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4624b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c2be4]
cmp dword [eax + 0x30], 0
je 0x46255a
cmp dword [ebx + 0x94], 0
jne 0x462554
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462440
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462554
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 0x46251a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462554
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.0041c838
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462529
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4630bc
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 0x4630f1
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.00404720
jmp 0x4630fe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404684
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x464150
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x464191
mov eax, esi
call fcn.0044a41c
test al, al
je 0x464191
mov eax, dword [ebx + 0x84]
call fcn.0044a118
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x464191
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044a118
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4879a3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4bff46
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4879fb
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4bff67
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4879f1
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4879ff
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4abfa4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4abfd2
mov eax, ebx
call fcn.004aca58
cmp dword [ebx + 0x40], 0
je 0x4abfcb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4ac043
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4ac035
cmp dword [ebx + 8], 0
je 0x4abff4
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 0x4ac006
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4ac035
cmp dword [ebx + 8], 0
je 0x4abfe7
cmp eax, 3
je 0x4ac019
dec eax
jne 0x4abfe7
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 0x4abfe7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4abfe7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4ac061
cmp dword [ebx + 0x14], 0xcc
je 0x4ac061
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.004ac06c
pop ebx
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401443
pop dword [ebp - 0x40]
mov eax, 0xdda3fb74
add eax, 0x229c18cf
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x610ffd9c
add dword [ebp - 0x50], 0xed4247af
mov dword [ebp - 0x4c], 0xbc310411
add dword [ebp - 0x4c], 0x76024834
mov dword [ebp - 0x48], 0x912cfcd5
add dword [ebp - 0x48], 0xbb1f4759
mov dword [ebp - 0x44], 0x2d73ff3f
sub dword [ebp - 0x44], 0x2d73ff3f
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xeec1381e
add dword [ebp - 0x50], 0x85b13138
mov dword [ebp - 0x4c], 0x4d572eed
add dword [ebp - 0x4c], 0xf4153288
mov dword [ebp - 0x48], 0xea6e8f5
sub dword [ebp - 0x48], 0xab377c89
mov dword [ebp - 0x44], 0x66080eb6
sub dword [ebp - 0x44], 0x66080eb6
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xdae8453d
sub eax, 0xdaa7c43d
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x38392
push 0
call eax
mov ecx, 0x47bb
mov esi, eax
mov edi, 0xef645ca8
add edi, 0x10e28758
add edi, dword [ebp - 0x40]
mov ebx, 0x8b9da418
add ebx, 0x58c5b8bd
mov edx, dword [edi]
xor edx, ebx
mov dword [ebp - 0x2c], 0x627dd040
mov dword [esi], edx
xor dword [ebp - 8], ebx
add esi, 0x5388c018
add esi, 0xac773fec
add edi, 0x2e119666
add edi, 0xd1ee699e
loop 0x40155a
add eax, 0x14b897c8
add eax, 0xeb4879f7
mov ebx, eax
add eax, 0xa1de1d0e
add eax, 0x5e21e2f7
mov ecx, 0x1bfae187
add ecx, 0xe4451e79
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x403039
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x403074
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40305b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x40306c
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x403076
inc edi
add eax, 0x28
cmp edi, esi
jb 0x403051
xor eax, eax
pop edi
pop esi
ret

Function at 0x403272
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov al, 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00402ff9
pushfd
inc ecx
div byte [ecx]
lea eax, [ebp - 0x58]
push eax
call fcn.00403009
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00402fbe
invalid
invalid

Function at 0x403573
Capabilities:
Inspect section memory permissions

Disassembly:
jle 0x4035b1
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x4037e8
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x40359e
cmp dword [eax + 0xc], ebx
je 0x403641
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00402ff9
imul edx, eax, 0x5d393ce0
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
jmp [ecx - 0x30]
call fcn.00402ff9
jg 0x40367b
xchg ebp, eax
xor al, 0x8b
xchg dword [eax + 0x3b000000], esp
ret
add byte [eax], al

Function at 0x403658
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4036ad
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4036a8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x403692
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40369a
cmp edx, ebx
jne 0x4037e8
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x403669
add eax, dword [eax + 4]
jmp 0x403656
mov dword [ebp + 0xc], ebx
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret