joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453210
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x453236
mov eax, esp
push eax
push 0x4531d8
call sub.user32.dll_EnumWindows
jmp 0x453249
mov eax, esp
push eax
push 0x4531b8
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4532d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x453328]
test si, 4
je 0x4532e9
or bl, 1
test si, 8
je 0x4532f3
or bl, 4
test si, 1
je 0x4532fd
or bl, 8
test si, 2
je 0x453307
or bl, 0x10
test si, 0x10
je 0x453311
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453320
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45332c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x453368]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453346
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453355
or bl, 4
test esi, 0x20000000
je 0x453360
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45b3d4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45b3e6
add esp, 0xfffffff0
call fcn.00403f70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e7cc
mov eax, dword [0x469088]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b778
mov eax, dword [0x469094]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b784
mov eax, ebx
call fcn.0045b790
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416564]
call fcn.00403c34
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416564]
call fcn.00403c34
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416564]
call fcn.00403c34
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416564]
call fcn.00403c34
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416564]
call fcn.00403c34
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, 0x456c38
push eax
push 0
push 0
mov eax, dword [0x4691f0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x428974]
call fcn.00429e94
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x428974]
call fcn.00429e94
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x428974]
call fcn.00429e94
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045bc08
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bad8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bad8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bad8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b523
call fcn.00403fc8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45b8bc
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 0x45ba67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ba48
mov dl, 1
mov eax, dword [0x416988]
call fcn.00403c34
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a94
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ba37
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.0044d054
test al, al
je 0x45ba2a
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, 0x45ba78
lea eax, [ebp - 0x254]
call fcn.00409fd0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ba2a
xor eax, eax
push ebp
push 0x45ba23
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 0x45bab0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ba0c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d04
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 0x45ba0c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ba2a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b92d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041a660
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 0x45ba6e
lea eax, [ebp - 0x260]
call fcn.00404a94
ret

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

Disassembly:
push ecx
mov eax, dword [0x46fd68]
cmp byte [eax + 0xad], 0
jne 0x45c451
cmp dword [0x46fd84], 0
jne 0x45c412
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c39c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46fd84], eax
cmp dword [0x46fd80], 0
jne 0x45c42d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46fd80], eax
cmp dword [0x46fd88], 0
jne 0x45c451
push esp
push 0
push 0
push 0x45c340
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46fd88], eax
pop edx
ret
Function at 0x45c654
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c66b
add esp, 0xfffffff0
call fcn.00403f70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e7cc
mov eax, dword [0x4691dc]
cmp word [eax + 2], 0
jne 0x45c693
mov eax, dword [0x4691dc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e0ec
mov eax, dword [0x469280]
cmp word [eax + 2], 0
jne 0x45c6ad
mov eax, dword [0x469280]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e2f8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416564]
call fcn.00403c34
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416564]
call fcn.00403c34
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416564]
call fcn.00403c34
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 [0x429150]
call fcn.0042f01c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45c864
mov eax, dword [0x4690f4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f3f0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45e9bc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4690f4]
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.0040def4
test eax, eax
je 0x45c7b4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409960
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040df28
test eax, eax
je 0x45c7c8
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.00404d04
mov byte [ebx + 0xd4], 0
push ebx
push 0x45ddd0
call fcn.0041f948
mov dword [ebx + 0xc8], eax
mov eax, dword [0x468fe8]
cmp byte [eax], 0
jne 0x45c819
mov eax, ebx
call fcn.0045c9a8
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.0045ebd0
mov eax, ebx
call fcn.0045f734
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c859
call fcn.00403fc8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cc28
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45ccc7
cmp dword [ebx + 0x94], 0
jne 0x45ccc1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45cbb0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ccc1
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 0x45cc87
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ccc1
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.00418908
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45cc96
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45cee0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46fd68]
cmp dword [eax + 0x30], 0
je 0x45d03d
test bl, bl
jne 0x45cf8e
cmp dword [esi + 0x9c], 0
jne 0x45cf83
mov eax, esi
call fcn.0045f5b0
push eax
push 0x45ce0c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45cf54
mov eax, dword [0x46fd68]
call fcn.0045fba0
test al, al
je 0x45cf54
mov eax, dword [0x46fd8c]
call fcn.00405c24
mov edi, eax
cmp edi, 0
jl 0x45cf54
push 0
mov eax, dword [0x46fd8c]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45cf3e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45cf83
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418908
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45cf63
inc dword [esi + 0x9c]
jmp 0x45d03d
cmp dword [esi + 0x9c], 0
jle 0x45d03d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45d03d
cmp dword [esi + 0x44], 0
je 0x45cfe9
mov eax, dword [0x46fd68]
call fcn.0045fba0
test al, al
je 0x45cfe9
mov eax, dword [0x46fd8c]
call fcn.00405c24
mov edi, eax
cmp edi, 0
jl 0x45cfe9
push 5
mov eax, dword [0x46fd8c]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45cfd3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d018
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418908
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45cff8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46fd8c
mov ecx, 1
mov edx, dword [0x45cdec]
call fcn.00405dd8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45db24
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45db8e
mov eax, ebx
call fcn.0045fba0
test al, al
jne 0x45db8e
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.00404b84
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45db7b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45db9b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ae8
jmp 0x45db9b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ae8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45edb4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ee22
mov eax, esi
call fcn.00447e8c
test al, al
je 0x45ee22
mov eax, dword [ebx + 0x84]
call fcn.00447b90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ee22
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45ee16
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447b90
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043fc34
jmp 0x45ee22
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045ebf0
pop esi
pop ebx
ret

Function at 0x46130c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x461368
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x461337
call fcn.0040e6f8
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.004030d4
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x461368
call fcn.0040e6f8
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x462034
Capabilities:
Get system information on windows

Disassembly:
push ebx
add esp, 0xffffffd4
cmp byte [0x46ff65], 0
jne 0x462048
mov ebx, 1
jmp 0x46208a
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetProcessAffinityMask
test eax, eax
je 0x46207c
xor ebx, ebx
xor eax, eax
mov ecx, eax
mov edx, 1
shl edx, cl
test dword [esp], edx
je 0x462074
inc ebx
inc eax
cmp eax, 0x20
jne 0x462065
jmp 0x46208a
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, dword [esp + 0x1c]
mov eax, ebx
add esp, 0x2c
pop ebx
ret
Function at 0x462264
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f14
mov eax, dword [ebp - 8]
call fcn.00404f14
xor eax, eax
push ebp
push 0x462417
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404a94
cmp dword [ebp - 8], 0
jne 0x4622f6
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.004051b4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4622c0
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 8]
call fcn.00404f24
push eax
mov eax, dword [0x46c7f8]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
mov edx, eax
lea eax, [ebp - 8]
call fcn.004051b4
cmp dword [ebp - 8], 0
je 0x4623ef
lea eax, [ebp - 8]
mov edx, 0x46242c
call fcn.00404d60
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f24
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4623ef
lea eax, [ebx + 0x10]
call fcn.00402e80
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4623e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
push ebx
push 0
mov eax, dword [ebp - 8]
call fcn.00404f24
push eax
call sub.version.dll_GetFileVersionInfoA
mov edx, dword [ebp - 4]
mov eax, 0x462438
call fcn.00405070
test eax, eax
jle 0x4623aa
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x462444
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
mov eax, ebx
shl eax, 0x10
shr ebx, 0x10
or eax, ebx
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x24]
mov eax, 8
call fcn.00408dd8
mov ecx, dword [ebp - 0x24]
mov edx, 0x462438
mov eax, dword [ebp - 4]
call fcn.00461604
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.00404b2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f24
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4623d2
mov eax, esi
mov edx, dword [ebp - 0x18]
call fcn.00404c8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4623ef
mov eax, dword [ebp - 0x14]
call fcn.00402e9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46241e
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404ab8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ab8
ret
Function at 0x463444
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x46344d
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f14
mov eax, dword [ebp - 8]
call fcn.00404f14
mov eax, dword [ebp - 0xc]
call fcn.00404f14
xor eax, eax
push ebp
push 0x46359e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00463378
lea eax, [ebp - 8]
call fcn.00463378
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404dac
mov eax, dword [ebp - 0x10]
mov edx, 0x20
call fcn.004094a4
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404dac
mov eax, dword [ebp - 0x14]
call fcn.00409254
mov ebx, eax
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404dac
mov eax, dword [ebp - 0x18]
call fcn.00409254
cmp ebx, eax
jle 0x463583
push 0
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404dac
mov eax, dword [ebp - 0x1c]
call fcn.00404f24
push eax
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, dword [0x46ffac]
call fcn.00404dac
mov eax, dword [ebp - 0x20]
call fcn.00404f24
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x463561
push dword [0x46ffc8]
push 0x4635b4
push 0x4635e4
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x24]
call fcn.0040c824
push dword [ebp - 0x24]
push 0x4635f4
mov eax, 0x46ffc8
mov edx, 5
call fcn.00404e28
mov byte [0x46ffd6], 1
jmp 0x463583
push dword [0x46ffc8]
push 0x463600
push dword [ebp - 0xc]
push 0x4635f4
mov eax, 0x46ffc8
mov edx, 4
call fcn.00404e28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4635a5
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00404ab8
ret

Function at 0x463718
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f14
mov eax, dword [ebp - 8]
call fcn.00404f14
xor eax, eax
push ebp
push 0x4637fb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
mov eax, dword [ebp - 8]
call fcn.00404f24
push eax
mov eax, dword [ebp - 4]
call fcn.00404f24
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x463795
mov bl, 1
push dword [0x46ffc8]
push 0x463814
push dword [ebp - 4]
push 0x46382c
push dword [ebp - 8]
push 0x463844
mov eax, 0x46ffc8
mov edx, 6
call fcn.00404e28
jmp 0x4637e0
push dword [0x46ffc8]
push 0x463850
push 0x463844
push dword [ebp - 4]
push 0x463870
push dword [ebp - 8]
push 0x463844
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0xc]
call fcn.0040c824
push dword [ebp - 0xc]
push 0x463844
mov eax, 0x46ffc8
mov edx, 9
call fcn.00404e28
mov byte [0x46ffd6], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463802
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ab8
ret
Function at 0x70397850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
lea ecx, [esp + 0x2c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
je 0x70397880
add esp, 0x3c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x2c]
lea ebp, [esp + 0x28]
mov dword [esp + 4], ebx
lea edi, [esp + 0x24]
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0x14], ebp
lea esi, [esp + 0x20]
mov dword [esp + 0x28], 4
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x703978cd
cmp dword [esp + 0x20], 4
je 0x70397990
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], 4
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x703de4d8
mov dword [esp], eax
call ebx
sub esp, 0x18
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test ebx, ebx
jne 0x70397875
cmp dword [esp + 0x20], 4
je 0x70397970
test byte [0x703d8358], 4
je 0x70397875
mov eax, 0x703de4d8
call fcn.70397560
mov dword [esp + 0xc], str.Unexpected_registry_value_type__ld__expected_REG_DWORD__for__s_n
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], str.get_feature_from_reg
mov dword [esp + 4], 0x703d8358
mov dword [esp], 2
mov dword [esp + 0x10], eax
call fcn.70397800
jmp 0x70397875
xor edx, edx
cmp dword [esp + 0x24], 1
mov eax, dword [esp + 0x50]
sete dl
mov dword [eax], edx
add esp, 0x3c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
cmp dword [esp + 0x20], 4
je 0x70397970
jmp 0x7039791e
Function at 0x7039a4e0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
push ebx
sub esp, 0xb4
lea eax, [esp + 0x2c]
mov dword [esp], ParseURLW
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
je 0x7039a530
mov ebx, eax
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
cmovg ebx, eax
add esp, 0xb4
mov eax, ebx
pop ebx
pop esi
ret
lea eax, [esp + 0x28]
mov dword [esp + 0x28], pe_nt_image_headers32
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x30]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Content_Type
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test ebx, ebx
jne 0x7039a5d0
test byte [0x703d8380], 8
jne 0x7039a5f0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
sub esp, 4
mov edx, dword [esp + 0xc4]
mov dword [edx], eax
mov edx, dword [esp + 0x28]
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], edx
call sub.ucrtbase.dll_memcpy
add esp, 0xb4
mov eax, ebx
pop ebx
pop esi
ret
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovg ebx, eax
add esp, 0xb4
mov eax, ebx
pop ebx
pop esi
ret
mov eax, esi
call fcn.70399710
mov dword [esp + 0xc], str.found_MIME__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.find_mime_from_ext
mov dword [esp + 4], 0x703d8380
mov dword [esp], 3
call fcn.70399a00
jmp 0x7039a58f