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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x467a44]
cmp byte [eax + 0xc], 0
je 0x43c77d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c776
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x468af8], 0
jne 0x43c664
push 0x43c784
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43c78c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468af8], eax
cmp dword [0x466b20], 0
jne 0x43c75f
push 0x43c79c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x466b20], eax
cmp dword [0x466b20], 0
je 0x43c75f
push 0x43c7a8
mov eax, dword [0x466b20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468afc], eax
push 0x43c7b8
mov eax, dword [0x466b20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b00], eax
push 0x43c7cc
mov eax, dword [0x466b20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b04], eax
push 0x43c7e4
mov eax, dword [0x466b20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b08], eax
push 0x43c7fc
mov eax, dword [0x466b20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b0c], eax
push 0x43c810
mov eax, dword [0x466b20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b10], eax
push 0x43c828
mov eax, dword [0x466b20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b14], eax
push 0x43c840
mov eax, dword [0x466b20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b18], eax
push 0x43c85c
mov eax, dword [0x466b20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b1c], eax
push 0x43c868
mov eax, dword [0x466b20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468b20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c77d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x447e50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447ea0]
test si, 4
je 0x447e64
or bl, 1
test si, 8
je 0x447e6e
or bl, 4
test si, 1
je 0x447e78
or bl, 8
test si, 2
je 0x447e82
or bl, 0x10
test si, 0x10
je 0x447e8c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447e9b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x447ea4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447edc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447ebd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447ecc
or bl, 4
test esi, 0x20000000
je 0x447ed7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44e5a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44e5b2
add esp, 0xfffffff0
call fcn.004037c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041996c
mov eax, dword [0x467724]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e944
mov eax, dword [0x467730]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e950
mov eax, ebx
call fcn.0044e95c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411b84]
call fcn.00403460
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411b84]
call fcn.00403460
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411b84]
call fcn.00403460
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411b84]
call fcn.00403460
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411b84]
call fcn.00403460
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, 0x44ad74
push eax
push 0
push 0
mov eax, dword [0x467864]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b3d4]
call fcn.0041cb6c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b3d4]
call fcn.0041cb6c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b3d4]
call fcn.0041cb6c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044edac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ec74
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ec74
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ec74
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e6ef
call fcn.00403820
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44ea58
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 0x44ec03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44ebe4
mov dl, 1
mov eax, dword [0x411fa0]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040421c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44ebd3
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.0043c970
test al, al
je 0x44ebc6
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, 0x44ec14
lea eax, [ebp - 0x254]
call fcn.00408e74
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44ebc6
xor eax, eax
push ebp
push 0x44ebbf
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 0x44ec4c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44eba8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
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 0x44eba8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ebc6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44eac9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415b04
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 0x44ec0a
lea eax, [ebp - 0x260]
call fcn.0040421c
ret

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

Disassembly:
push ecx
mov eax, dword [0x468b44]
cmp byte [eax + 0xa5], 0
jne 0x44f5bd
cmp dword [0x468b5c], 0
jne 0x44f57e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44f508
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x468b5c], eax
cmp dword [0x468b58], 0
jne 0x44f599
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x468b58], eax
cmp dword [0x468b60], 0
jne 0x44f5bd
push esp
push 0
push 0
push 0x44f4ac
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x468b60], eax
pop edx
ret
Function at 0x44fc50
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x468b44]
cmp dword [eax + 0x30], 0
je 0x44fcfa
cmp dword [ebx + 0x94], 0
jne 0x44fcf4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44fbe0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44fcf4
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 0x44fcba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44fcf4
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.00413f00
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44fcc9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450858
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 0x45088d
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.0040430c
jmp 0x45089a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404270
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4519ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4519ed
mov eax, esi
call fcn.00437fe0
test al, al
je 0x4519ed
mov eax, dword [ebx + 0x84]
call fcn.00437cdc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4519ed
push 0
mov eax, dword [ebx + 0x84]
call fcn.00437cdc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4550dc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45510a
mov eax, ebx
call fcn.00455b90
cmp dword [ebx + 0x40], 0
je 0x455103
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45517b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45516d
cmp dword [ebx + 8], 0
je 0x45512c
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 0x45513e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45516d
cmp dword [ebx + 8], 0
je 0x45511f
cmp eax, 3
je 0x455151
dec eax
jne 0x45511f
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 0x45511f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45511f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x455199
cmp dword [ebx + 0x14], 0xcc
je 0x455199
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.004551a4
pop ebx
ret
Function at 0x401c55
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x1b4], ebx
je 0x401c85
push ebx
push 0x414704
push 0x41470c
push dword [edi]
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea esi, [edi + 0x1b0]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esi], 1
jne 0x401caf
mov eax, dword [edi + 0x194]
push ebx
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00401c55
jmp 0x401cee
cmp dword [esi], 2
jne 0x401cc1
mov ecx, dword [edi + 0x19c]
call fcn.00402df4
jmp 0x401cee
cmp dword [esi], 3
jne 0x401ce2
mov eax, dword [edi + 0x19c]
push ebx
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x1a0]
call fcn.00402200
jmp 0x401cee
cmp dword [esi], 4
jne 0x401cee
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401cf8
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x1b0]
cmp dword [edi], 0
jle 0x401d12
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp dword [edi], 0
jne 0x401d21
mov ecx, dword [esi + 0x194]
call fcn.00403f96
jmp 0x401d5f
cmp dword [edi], 1
jne 0x401d3f
mov eax, dword [esi + 0x19c]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00401cf8
jmp 0x401d5f
cmp dword [edi], 2
jne 0x401d5f
mov ecx, dword [esi + 0x1a0]
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x19c]
call fcn.00402df4
xor eax, eax
pop edi
inc eax
pop esi
pop ecx
ret

Function at 0x402200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0xffffffffffffffeb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x402266
mov ecx, dword [eax + 0x1a4]
mov ebx, dword [eax + 0x1a8]
mov eax, dword [eax + 0x1ac]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x40223c
push 0
push ecx
call edi
test ebx, ebx
je 0x40225a
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x414880
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push ebx
call edi
mov eax, dword [ebp - 4]
test eax, eax
je 0x402266
push 0
push eax
call edi
cmp dword [esi], 0
jne 0x40227d
mov ecx, esi
call fcn.004020b8
push 5
mov ecx, esi
call fcn.00402026
jmp 0x402286
push 5
push dword [esi]
call edi
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40247f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ac
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2a8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 1
mov dword [0x417fe4], eax
call fcn.00404051
pop ecx
push 1
mov dword [0x417ff0], eax
call fcn.00404051
mov dword [0x417fec], eax
lea eax, [esp + 0x2c]
pop ecx
push eax
mov dword [esp + 0x30], 0xff
mov dword [esp + 0x2c], 8
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edi, 0x9c
push edi
call fcn.00404051
mov esi, eax
pop ecx
test esi, esi
je 0x402503
push edi
xor edi, edi
push edi
push esi
call fcn.00406660
add esp, 0xc
mov ecx, esi
call fcn.00402ea0
mov ebx, eax
jmp 0x402507
xor edi, edi
mov ebx, edi
push edi
push 0x24
push dword [ebx]
mov dword [0x417fe8], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.ResourcesThemes_
push dword [ebx]
call esi
mov ecx, ebx
call fcn.004031f2
push eax
push dword [ebx]
call esi
mov ecx, ebx
call fcn.004030ff
push 0x1b8
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00406660
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0040169f
mov esi, dword [0x417fe8]
test esi, esi
je 0x40267a
cmp dword [0x417fec], 0
je 0x402662
call fcn.0040228d
push dword [ebp + 0x14]
lea ecx, [esp + 0x34]
call fcn.00401a54
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0xc]
push edi
push edi
push edi
push eax
call esi
test eax, eax
je 0x40265c
mov ebx, pe_nt_image_headers32
cmp dword [esp + 0x10], ebx
jne 0x402634
mov eax, dword [esp + 0x14]
cmp eax, 9
jne 0x4025cc
mov ecx, dword [esp + 0xc]
call fcn.004023e9
cmp dword [esp + 0x10], ebx
jne 0x402634
mov eax, dword [esp + 0x14]
cmp eax, 0xd
jne 0x402634
xor eax, eax
push 0xc6
mov word [esp + 0x1ec], ax
lea eax, [esp + 0x1ee]
push edi
push eax
call fcn.00406660
add esp, 0xc
cmp dword [esp + 0xc], 0
je 0x402634
push 0x64
lea eax, [esp + 0x1ec]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.Button
lea eax, [esp + 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x402634
push edi
push edi
push 0xf5
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
lea eax, [esp + 0x18]
push eax
call esi
test eax, eax
jne 0x4025a6
mov esi, dword [0x417fe8]
test esi, esi
je 0x40267a
mov ecx, esi
call fcn.00403030
push esi
call fcn.004040c7
pop ecx
mov dword [0x417fe8], edi
mov eax, dword [0x417fec]
test eax, eax
je 0x402690
push eax
call fcn.004040c7
pop ecx
mov dword [0x417fec], edi
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x30]
call fcn.0040186f
mov ecx, dword [esp + 0x2b4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403fe4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4026b6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0
je 0x4026e8
push 0x4148bc
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4026f4
call fcn.00403245
push dword [edi + 8]
mov eax, dword [0x417fe8]
push dword [edi + 4]
push dword [eax]
push ecx
call fcn.00403541
xor eax, eax
push 0x206
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.00406660
add esp, 0xc
lea eax, [esp + 8]
push 0
push 0x23
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 8]
push 0x4148a4
push eax
call esi
mov ecx, dword [0x417fe8]
call fcn.004031f2
push eax
lea eax, [esp + 0xc]
push eax
call esi
push str._Data_
lea eax, [esp + 0xc]
push eax
call esi
push dword [edi + 8]
mov ecx, dword [0x417fec]
lea eax, [esp + 0xc]
push dword [edi + 4]
push eax
call fcn.00403272
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.00403fe4
mov esp, ebp
pop ebp
ret

Function at 0x402df4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0xffffffffffffffeb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x402e45
mov edx, dword [eax + 0x1a4]
mov ecx, dword [eax + 0x1a8]
mov ebx, dword [eax + 0x1ac]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 4], ecx
test edx, edx
je 0x402e33
push 0
push edx
call edi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x402e3c
push 0
push ecx
call edi
test ebx, ebx
je 0x402e45
push 0
push ebx
call edi
cmp dword [esi], 0
jne 0x402e78
mov ecx, esi
call fcn.00402bac
push 5
mov ecx, esi
call fcn.00402b08
test eax, eax
je 0x402e74
push 0x402d92
push 0
push 0x40a
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x402e96
xor eax, eax
jmp 0x402e99
push 0x402d92
push 0
push 0x40a
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4030ff
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4031c0
push esi
push eax
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call esi
cmp dword [ebp - 0x114], 5
jne 0x40316c
cmp dword [ebp - 0x110], 1
jne 0x40316c
push 0x414a0c
jmp 0x40319d
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call esi
cmp dword [ebp - 0x114], 6
jne 0x403198
cmp dword [ebp - 0x110], 1
jne 0x403198
push 0x414a24
jmp 0x40319d
push 0x414a40
push dword [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
call esi
mov ecx, edi
call fcn.004031cf
push eax
push dword [edi + 4]
call esi
push 0x4148a4
push dword [edi + 4]
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00403fe4
mov esp, ebp
pop ebp
ret
Function at 0x40389e
Capabilities:
Acquire debug privileges
Enumerate processes
Get file system object information
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
xor edi, edi
mov dword [ebp - 0x70c], esi
push 2
inc edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
test ebx, ebx
jne 0x4038d7
xor eax, eax
jmp 0x403a1a
lea eax, [ebp - 0x708]
mov dword [ebp - 0x708], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4038d0
lea eax, [ebp - 0x4dc]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x403975
lea eax, [ebp - 0x214]
push eax
push 0x414afc
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x403969
mov eax, dword [ebp - 0x214]
xor ecx, ecx
push ecx
push ecx
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x210]
push ecx
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x224]
push eax
push ecx
push dword [ebp - 0x4dc]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x218], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x4dc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2b4
lea eax, [ebp - 0x4d8]
push 0
push eax
call fcn.00406660
add esp, 0xc
lea eax, [ebp - 0x4d8]
push 0x101
push 0x2b4
push eax
push 0
lea eax, [ebp - 0x6e4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0x6e4]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403a02
push dword [ebp - 0x700]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, dword [ebp - 0x70c]
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x708]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x403975
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fe4
mov esp, ebp
pop ebp
ret 4

Function at 0x403f96
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0xffffffffffffffeb
push dword [0x417ff8]
mov esi, ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x403fbe
mov eax, dword [eax + 0x1a4]
test eax, eax
je 0x403fbe
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi], 0
jne 0x403fd5
mov ecx, esi
call fcn.00403dfb
push 5
mov ecx, esi
call fcn.00403d5f
pop esi
ret
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop esi
ret