joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b754
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 0x43b770
cmp dword [esi + 4], 0
je 0x43b79d
test byte [ebx + 0x55], 1
jne 0x43b78f
mov eax, ebx
call fcn.0043a3ac
test eax, eax
jne 0x43b78f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43b8ad
mov edx, esi
mov eax, ebx
call fcn.0043b274
jmp 0x43b8ad
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 0x43b8a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043d524
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.00438058
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043b754
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.0043d524
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b8ad
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 0x441d90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x473a5c]
cmp byte [eax + 0xc], 0
je 0x441efd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x441ef6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x474bbc], 0
jne 0x441de4
push 0x441f04
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x441f0c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bbc], eax
cmp dword [0x472ab8], 0
jne 0x441edf
push 0x441f1c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x472ab8], eax
cmp dword [0x472ab8], 0
je 0x441edf
push 0x441f28
mov eax, dword [0x472ab8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bc0], eax
push 0x441f38
mov eax, dword [0x472ab8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bc4], eax
push 0x441f4c
mov eax, dword [0x472ab8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bc8], eax
push 0x441f64
mov eax, dword [0x472ab8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bcc], eax
push 0x441f7c
mov eax, dword [0x472ab8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bd0], eax
push 0x441f90
mov eax, dword [0x472ab8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bd4], eax
push 0x441fa8
mov eax, dword [0x472ab8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bd8], eax
push 0x441fc0
mov eax, dword [0x472ab8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474bdc], eax
push 0x441fdc
mov eax, dword [0x472ab8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474be0], eax
push 0x441fe8
mov eax, dword [0x472ab8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x474be4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441efd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x445b10
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.00404438
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x445b5f
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.004046a0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44d9a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44d9f0]
test si, 4
je 0x44d9b4
or bl, 1
test si, 8
je 0x44d9be
or bl, 4
test si, 1
je 0x44d9c8
or bl, 8
test si, 2
je 0x44d9d2
or bl, 0x10
test si, 0x10
je 0x44d9dc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44d9eb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44d9f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44da2c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44da0d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44da1c
or bl, 4
test esi, 0x20000000
je 0x44da27
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x454030
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x454042
add esp, 0xfffffff0
call fcn.00403a30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d928
mov eax, dword [0x47372c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4543d4
mov eax, dword [0x473738]
mov dword [eax + 4], ebx
mov dword [eax], 0x4543e0
mov eax, ebx
call fcn.004543ec
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4138c0]
call fcn.0040369c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4138c0]
call fcn.0040369c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4138c0]
call fcn.0040369c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4138c0]
call fcn.0040369c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4138c0]
call fcn.0040369c
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, 0x4508b4
push eax
push 0
push 0
mov eax, dword [0x473878]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f350]
call fcn.00420a24
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f350]
call fcn.00420a24
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f350]
call fcn.00420a24
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045480c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4546e8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4546e8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4546e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45417f
call fcn.00403a88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4544cc
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 0x454677
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x454658
mov dl, 1
mov eax, dword [0x413db0]
call fcn.0040369c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404438
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x454647
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.004420f0
test al, al
je 0x45463a
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, 0x454688
lea eax, [ebp - 0x254]
call fcn.0040941c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45463a
xor eax, eax
push ebp
push 0x454633
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 0x4546c0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45461c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046a0
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 0x45461c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45463a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45453d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00417f2c
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 0x45467e
lea eax, [ebp - 0x260]
call fcn.00404438
ret

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

Disassembly:
push ecx
mov eax, dword [0x474c00]
cmp byte [eax + 0xa5], 0
jne 0x45501d
cmp dword [0x474c18], 0
jne 0x454fde
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x454f68
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x474c18], eax
cmp dword [0x474c14], 0
jne 0x454ff9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x474c14], eax
cmp dword [0x474c1c], 0
jne 0x45501d
push esp
push 0
push 0
push 0x454f0c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x474c1c], eax
pop edx
ret
Function at 0x455114
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45512b
add esp, 0xfffffff0
call fcn.00403a30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d928
mov eax, dword [0x473868]
cmp word [eax + 2], 0
jne 0x455153
mov eax, dword [0x473868]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004567f0
mov eax, dword [0x4738fc]
cmp word [eax + 2], 0
jne 0x45516d
mov eax, dword [0x4738fc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004569e8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4138c0]
call fcn.0040369c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4138c0]
call fcn.0040369c
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], 0x80000018
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 [0x41fdd0]
call fcn.004275a4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4552f4
mov eax, dword [0x47378c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427974
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456f68
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47378c]
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.0040cb80
test eax, eax
je 0x455262
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408d64
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cba8
test eax, eax
je 0x455276
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.004046a0
mov eax, dword [0x473674]
cmp byte [eax], 0
jne 0x4552aa
mov eax, ebx
call fcn.0045541c
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.00457144
mov eax, ebx
call fcn.00457a84
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4552ea
call fcn.00403a88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455690
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x474c00]
cmp dword [eax + 0x30], 0
je 0x45573a
cmp dword [ebx + 0x94], 0
jne 0x455734
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455620
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455734
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 0x4556fa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455734
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.00415f94
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455709
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456218
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 0x45624d
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.00404528
jmp 0x45625a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040448c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457320
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x457361
mov eax, esi
call fcn.0043d828
test al, al
je 0x457361
mov eax, dword [ebx + 0x84]
call fcn.0043d524
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x457361
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d524
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45a9f8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45aa26
mov eax, ebx
call fcn.0045b4b0
cmp dword [ebx + 0x3c], 0
je 0x45aa1f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45aa97
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x45aa89
cmp dword [ebx + 8], 0
je 0x45aa48
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x45aa5a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45aa89
cmp dword [ebx + 8], 0
je 0x45aa3b
cmp eax, 3
je 0x45aa6d
dec eax
jne 0x45aa3b
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 0x45aa3b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x45aa3b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x45aab5
cmp dword [ebx + 0x10], 0xcc
je 0x45aab5
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.0045aac0
pop ebx
ret
Function at 0x46d2d0
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.0046cf14
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.004048e8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46d32e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x473880]
mov dl, 1
mov eax, dword [0x46ce0c]
call fcn.0040bf34
call fcn.00403e98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46d338
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.004048e8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46d390
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x473a68]
mov dl, 1
mov eax, dword [0x46ce0c]
call fcn.0040bf34
call fcn.00403e98
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046cf44
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 0x406371
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40e86a
call fcn.0040d30f
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x4166e8]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x4064e2
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x4064e2
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4064e2
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4064e2
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x40645b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call main
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x4064d4
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x4064d4
mov ecx, 0x1234
cmp cx, ax
jne 0x4064d4
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call main
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x4064ae
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x4063c9
mov eax, edi
call fcn.0040d2ca
ret 4

Function at 0x409413
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x409422
pop dword [ebp - 0x3c]
mov eax, 0x744fd829
add eax, 0x8bf0bbf9
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x36e86
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x6b007161
add ecx, 0x94ffd0d9
xor edi, edi
add edi, eax
mov ebx, 0x41aa00
add ebx, dword [ebp - 0x3c]
mov edx, 0x37c2861
add edx, 0x91909659
sub dword [ebp - 0x14], 0xa5f220d6
mov esi, dword [ebx]
mov dword [ebp - 0x1c], 0x4697ab1a
add esi, edx
mov dword [ebp - 0x18], 0xf19af311
mov dword [edi], esi
xor dword [ebp - 0x38], ebx
add edi, 0x3be9ce68
sub edi, 0x3be9ce64
add ebx, 0x9d925c68
add ebx, 0x626da39c
loop 0x409478
add eax, 0x8175f28d
add eax, 0x7e8b092e
xor ebx, ebx
add ebx, eax
add eax, 0xc5f1377d
sub eax, 0xc5f13778
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x40697f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
aas
inc ebx
clc
das
cmc
wait
salc
xchg ebx, eax
inc ebx
das
lahf
dec ecx
inc edx
xchg ecx, eax
inc edx
std
das
cdq
lahf
xchg edx, eax
dec edx
cwde
stc
clc
dec edx
std
dec ebx
dec ebx
dec ebx
inc ebx
cld
inc eax
cdq
xchg edx, eax
inc edx
inc ecx
xchg ecx, eax
das
xchg edx, eax
stc
inc edx
aaa
clc
xchg ecx, eax
std
xchg ebx, eax
das
lahf
wait
clc
aas
inc eax
inc ebx
dec eax
dec edx
dec ebx
clc
lahf
cmc
xchg ecx, eax
das
dec ebx
dec eax
xchg ecx, eax
std
xchg ecx, eax
xchg ecx, eax
inc edx
cmc
lahf
cwde
nop
dec eax
stc
wait
wait
dec eax
dec eax
inc edx
dec eax
aaa
aas
xchg ebx, eax
xchg edx, eax
cld
inc ebx
std
cld
das
clc
xchg ecx, eax
cdq
dec eax
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
nop
stc
inc eax
xchg ebx, eax
salc
xchg ecx, eax
aaa
dec eax
cld
stc
cwde
stc
dec edx
das
dec eax
dec edx
cdq
xchg edx, eax
inc edx
salc
nop
lahf
nop
inc ecx
clc
inc ecx
cdq
nop
jmp 0x406877
cld
nop
call fcn.00406b67
jmp 0x40688f
nop
pushal
nop
jmp 0x40689e
mov ebp, esp
xor edx, edx
mov edx, dword fs:[edx + 0x30]
nop
jmp 0x4068b4
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
nop
jmp 0x4068c5
jmp 0x4068d0
xor edi, edi
nop
movzx ecx, word [edx + 0x26]
nop
mov esi, dword [edx + 0x28]
nop
xor eax, eax
nop
lodsb al, byte [esi]
nop
jmp 0x4068ef
cmp al, 0x61
jmp 0x406901
jl 0x406918
nop
jmp 0x406915
sub al, 0x20
nop
ror edi, 0xd
nop
add edi, eax
nop
dec ecx
nop
jmp 0x40692c
jne 0x4068dc
jmp 0x40693b
nop
jmp 0x406949
push edx
nop
mov edx, dword [edx + 0x10]
nop
push edi
nop
jmp 0x406961
mov eax, dword [edx + 0x3c]
nop
jmp 0x406971
add eax, edx
jmp 0x40697e
mov eax, dword [eax + 0x78]
nop
jmp 0x406992
test eax, eax
nop
je 0x406b19
nop
jmp 0x4069a9
add eax, edx
nop
mov ecx, dword [eax + 0x18]
nop
mov ebx, dword [eax + 0x20]
nop
jmp 0x4069c2
push eax
jmp 0x4069d0
add ebx, edx
nop
jmp 0x4069df
test ecx, ecx
nop
je 0x406b17
nop
xor edi, edi
nop
jmp 0x4069f8
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edx
nop
jmp 0x406a0c
xor eax, eax
jmp 0x406a1a
lodsb al, byte [esi]
nop
jmp 0x406a2d
ror edi, 0xd
nop
jmp 0x406a41
add edi, eax
cmp al, ah
nop
jmp 0x406a50
jne 0x4069ff
nop
jmp 0x406a66
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
jmp 0x406a76
jne 0x4069df
nop
nop
pop eax
mov ebx, dword [eax + 0x24]
nop
add ebx, edx
nop
jmp 0x406a96
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
jmp 0x406aaf
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
nop
jmp 0x406acb
pop ebx
popal
nop
jmp 0x406adf
pop ecx
jmp 0x406aef
pop edx
nop
jmp 0x406aff
push ecx
nop
jmp 0x406b15
jmp eax
pop eax
nop
pop edi
nop
jmp 0x406b2e
pop edx
jmp 0x406b41
mov edx, dword [edx]
nop
jmp 0x406b53
jmp 0x4068c5

Function at 0x407ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, ebp
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [0x4801e110]
mov ecx, dword [ebp + 0x11]
push edx
mov edx, dword [ebp + 8]
push eax
xor eax, 0xee80e
jne 0x407ee2
adc dword [eax + 0x1c], 0x5d
mov edx, 0xb0909090
nop
nop
nop
nop
nop