joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453e44
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 0x453e60
cmp dword [esi + 4], 0
je 0x453e8d
test byte [ebx + 0x55], 1
jne 0x453e7f
mov eax, ebx
call fcn.004529e4
test eax, eax
jne 0x453e7f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x453f9d
mov edx, esi
mov eax, ebx
call fcn.00453968
jmp 0x453f9d
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 0x453f96
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00455cb4
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.00450680
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00453e44
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.00455cb4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453f9d
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 0x45a670
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4bb134]
cmp byte [eax + 0xc], 0
je 0x45a7dd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a7d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bcbc4], 0
jne 0x45a6c4
push 0x45a7e4
call sub.kernel32.dll_GetModuleHandleA_3
mov ebx, eax
push 0x45a7ec
push ebx
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4bcbc4], eax
cmp dword [0x4b8eec], 0
jne 0x45a7bf
push 0x45a7fc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b8eec], eax
cmp dword [0x4b8eec], 0
je 0x45a7bf
push 0x45a808
mov eax, dword [0x4b8eec]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4bcbc8], eax
push 0x45a818
mov eax, dword [0x4b8eec]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4bcbcc], eax
push 0x45a82c
mov eax, dword [0x4b8eec]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4bcbd0], eax
push 0x45a844
mov eax, dword [0x4b8eec]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4bcbd4], eax
push 0x45a85c
mov eax, dword [0x4b8eec]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4bcbd8], eax
push 0x45a870
mov eax, dword [0x4b8eec]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4bcbdc], eax
push 0x45a888
mov eax, dword [0x4b8eec]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4bcbe0], eax
push 0x45a8a0
mov eax, dword [0x4b8eec]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4bcbe4], eax
push 0x45a8bc
mov eax, dword [0x4b8eec]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4bcbe8], eax
push 0x45a8c8
mov eax, dword [0x4b8eec]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4bcbec], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a7dd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45f2e8
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.004040cc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45f337
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.0040433c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x466a7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x466acc]
test si, 4
je 0x466a90
or bl, 1
test si, 8
je 0x466a9a
or bl, 4
test si, 1
je 0x466aa4
or bl, 8
test si, 2
je 0x466aae
or bl, 0x10
test si, 0x10
je 0x466ab8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466ac7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x466ad0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x466b08]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466ae9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466af8
or bl, 4
test esi, 0x20000000
je 0x466b03
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46d1b0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46d1c2
add esp, 0xfffffff0
call fcn.004036a0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042465c
mov eax, dword [0x4bac08]
mov dword [eax + 4], ebx
mov dword [eax], 0x46d554
mov eax, dword [0x4bac18]
mov dword [eax + 4], ebx
mov dword [eax], 0x46d560
mov eax, ebx
call fcn.0046d56c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4197dc]
call fcn.0040330c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4197dc]
call fcn.0040330c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4197dc]
call fcn.0040330c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4197dc]
call fcn.0040330c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4197dc]
call fcn.0040330c
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, 0x469988
push eax
push 0
push 0
mov eax, dword [0x4bae30]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4266f8]
call fcn.00427e6c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4266f8]
call fcn.00427e6c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4266f8]
call fcn.00427e6c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046d9d4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46d8b0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46d8b0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46d8b0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46d2ff
call fcn.004036f8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46d694
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 0x46d83f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46d820
mov dl, 1
mov eax, dword [0x419e40]
call fcn.0040330c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040cc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46d80f
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.0045a9d0
test al, al
je 0x46d802
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, 0x46d850
lea eax, [ebp - 0x254]
call fcn.0040961c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46d802
xor eax, eax
push ebp
push 0x46d7fb
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 0x46d888
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46d7e4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040433c
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 0x46d7e4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040433c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d802
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46d705
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e6f8
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 0x46d846
lea eax, [ebp - 0x260]
call fcn.004040cc
ret

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

Disassembly:
push ecx
mov eax, dword [0x4bcc10]
cmp byte [eax + 0xa5], 0
jne 0x46e1e5
cmp dword [0x4bcc28], 0
jne 0x46e1a6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46e130
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4bcc28], eax
cmp dword [0x4bcc24], 0
jne 0x46e1c1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4bcc24], eax
cmp dword [0x4bcc2c], 0
jne 0x46e1e5
push esp
push 0
push 0
push 0x46e0d4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4bcc2c], eax
pop edx
ret
Function at 0x46e30c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46e323
add esp, 0xfffffff0
call fcn.004036a0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042465c
mov eax, dword [0x4bae1c]
cmp word [eax + 2], 0
jne 0x46e34b
mov eax, dword [0x4bae1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046f9e4
mov eax, dword [0x4baf28]
cmp word [eax + 2], 0
jne 0x46e365
mov eax, dword [0x4baf28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046fbdc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4197dc]
call fcn.0040330c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4197dc]
call fcn.0040330c
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 [0x4271d8]
call fcn.0042ea64
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46e4ec
mov eax, dword [0x4bac9c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ee34
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47017c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4bac9c]
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.0040d4c8
test eax, eax
je 0x46e45a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408fe0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d4f0
test eax, eax
je 0x46e46e
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.0040433c
mov eax, dword [0x4baadc]
cmp byte [eax], 0
jne 0x46e4a2
mov eax, ebx
call fcn.0046e614
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.00470358
mov eax, ebx
call fcn.00470d1c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46e4e2
call fcn.004036f8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46e894
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4bcc10]
cmp dword [eax + 0x30], 0
je 0x46e93e
cmp dword [ebx + 0x94], 0
jne 0x46e938
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46e824
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46e938
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 0x46e8fe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46e938
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.0041c14c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46e90d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46f4a0
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 0x46f4d5
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.004041bc
jmp 0x46f4e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404120
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x470534
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x470575
mov eax, esi
call fcn.00455fb8
test al, al
je 0x470575
mov eax, dword [ebx + 0x84]
call fcn.00455cb4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x470575
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455cb4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x494877
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 0x4b9ff2
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4948cf
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 0x4ba013
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4948c5
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4948d3
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4a6b10
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a6b3e
mov eax, ebx
call fcn.004a75c4
cmp dword [ebx + 0x40], 0
je 0x4a6b37
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a6baf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a6ba1
cmp dword [ebx + 8], 0
je 0x4a6b60
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 0x4a6b72
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a6ba1
cmp dword [ebx + 8], 0
je 0x4a6b53
cmp eax, 3
je 0x4a6b85
dec eax
jne 0x4a6b53
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 0x4a6b53
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a6b53
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a6bcd
cmp dword [ebx + 0x14], 0xcc
je 0x4a6bcd
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.004a6bd8
pop ebx
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x4038cb
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov eax, 0x49798b
call fcn.00497330
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
test eax, eax
je 0x403905
test al, 3
jne 0x4038fd
cmp byte [edx + eax - 1], 0x3d
jne 0x403905
xor ecx, ecx
inc ecx
mov dword [ebp - 0x1c], ecx
jmp 0x40390a
mov ecx, edi
mov dword [ebp - 0x1c], edi
lea ebx, [eax + 3]
shr ebx, 2
sub ebx, ecx
shl ebx, 2
mov eax, ebx
mov dword [ebp - 0x28], ebx
shr eax, 2
imul eax, eax, 3
push edi
add eax, ecx
mov ecx, esi
push eax
call fcn.00403e36
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], 1
test ebx, ebx
je 0x4039e2
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x24], eax
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0x24]
shr eax, 2
inc eax
mov dword [ebp - 0x14], eax
mov edx, eax
movzx eax, byte [ebx - 2]
mov dword [ebp - 0x14], esi
mov ecx, dword [eax*4 + 0x4b2560]
movzx eax, byte [ebx - 1]
shl ecx, 6
or ecx, dword [eax*4 + 0x4b2560]
movzx eax, byte [ebx]
shl ecx, 6
or ecx, dword [eax*4 + 0x4b2560]
movzx eax, byte [ebx + 1]
shl ecx, 6
or ecx, dword [eax*4 + 0x4b2560]
cmp dword [esi + 0x14], 0x10
jb 0x403997
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
mov eax, ecx
sar eax, 0x10
mov byte [esi + edi], al
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
cmp dword [esi + 0x14], 0x10
jb 0x4039b3
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
mov eax, ecx
sar eax, 8
mov byte [esi + edi + 1], al
mov esi, dword [ebp - 0x18]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4039cc
mov eax, dword [esi]
mov byte [eax + edi + 2], cl
add ebx, 4
add edi, 3
sub edx, 1
jne 0x403955
mov ebx, dword [ebp - 0x28]
cmp dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x10]
je 0x403a51
movzx eax, byte [ebx + edx]
mov edi, esi
movzx ecx, byte [ebx + edx + 1]
mov edx, dword [eax*4 + 0x4b2560]
shl edx, 6
or edx, dword [ecx*4 + 0x4b2560]
shl edx, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x403a12
mov edi, dword [esi]
mov eax, dword [esi + 0x10]
mov ecx, edx
sar ecx, 0x10
mov byte [eax + edi - 1], cl
lea eax, [ebx + 2]
cmp dword [ebp + 8], eax
jbe 0x403a51
mov eax, dword [ebp - 0x10]
mov al, byte [ebx + eax + 2]
cmp al, 0x3d
je 0x403a51
movzx eax, al
mov ecx, esi
sar edx, 8
mov eax, dword [eax*4 + 0x4b2560]
shl eax, 6
sar eax, 8
or al, dl
movzx eax, al
push eax
call fcn.00403a62
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret