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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x4b0e50]
cmp byte [eax + 0xc], 0
je 0x44648e
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x446487
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b1b94], 0
jne 0x446375
push 0x446494
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x44649c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1b94], eax
cmp dword [0x4aee3c], 0
jne 0x446470
push 0x4464ac
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4aee3c], eax
cmp dword [0x4aee3c], 0
je 0x446470
push 0x4464b8
mov eax, dword [0x4aee3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1b98], eax
push 0x4464c8
mov eax, dword [0x4aee3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1b9c], eax
push 0x4464dc
mov eax, dword [0x4aee3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1ba0], eax
push 0x4464f4
mov eax, dword [0x4aee3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1ba4], eax
push 0x44650c
mov eax, dword [0x4aee3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1ba8], eax
push 0x446520
mov eax, dword [0x4aee3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bac], eax
push 0x446538
mov eax, dword [0x4aee3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bb0], eax
push 0x446550
mov eax, dword [0x4aee3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bb4], eax
push 0x44656c
mov eax, dword [0x4aee3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bb8], eax
push 0x446578
mov eax, dword [0x4aee3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44648e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x44ae2c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00405438
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44ae85
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.004056a8
mov esp, ebp
pop ebp
ret
Function at 0x453a1c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x453a74]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x453a36
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x453a40
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x453a4a
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x453a54
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x453a5e
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453a6e
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x453a78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x453abc]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453a99
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453aa9
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x453ab3
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x45ba1c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x45ba2e
add esp, 0xfffffff0
call fcn.00404990
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00421584
mov eax, dword [0x4b09ec]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x45bf8c
mov eax, dword [0x4b09fc]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x45bfac
mov eax, dword [ebp - 4]
call fcn.0045bfcc
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418344]
call fcn.00404654
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418344]
call fcn.00404654
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x418344]
call fcn.00404654
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x418344]
call fcn.00404654
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x418344]
call fcn.00404654
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x4573dc
push eax
push 0
push 0
mov eax, dword [0x4b0bb0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42375c]
call fcn.00424d54
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x42375c]
call fcn.00424d54
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x42375c]
call fcn.00424d54
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0045c518
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45c364
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45c364
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45c364
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x45bbb6
call fcn.004049e8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45c11c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45c2e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c2c5
mov dl, 1
mov eax, dword [0x418760]
call fcn.00404654
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405438
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x45c2ae
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.004466bc
test al, al
je 0x45c2a2
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x45c2f8
lea eax, [ebp - 0x25c]
call fcn.0040b7d8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45c2a2
xor eax, eax
push ebp
push 0x45c29b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x45c330
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45c284
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004056a8
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45c284
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004056a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c2a2
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x45c191
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.0041ce7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c2ee
lea eax, [ebp - 0x268]
call fcn.00405438
ret
Function at 0x45ce20
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4b1be0]
cmp byte [eax + 0xa5], 0
jne 0x45ce97
cmp dword [0x4b1bf8], 0
jne 0x45ce55
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45cddc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b1bf8], eax
cmp dword [0x4b1bf4], 0
jne 0x45ce70
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b1bf4], eax
cmp dword [0x4b1bfc], 0
jne 0x45ce97
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x45cd7c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b1bfc], eax
pop ecx
pop ebp
ret

Function at 0x45cf60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0045cef8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x45cf81
xor eax, eax
call fcn.0045cf30
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x45cf9b
mov al, 1
call fcn.0045cf30
mov esp, ebp
pop ebp
ret

Function at 0x45d660
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4b1be0]
cmp dword [eax + 0x30], 0
je 0x45d72a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x45d721
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x45d5e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x45d721
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45d6db
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x45d721
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.0041ab4c
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x45d6f0
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x45e444
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x45e489
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00405528
jmp 0x45e49a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.0040548c
mov esp, ebp
pop ebp
ret
Function at 0x45f690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x45f6e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00440cec
test al, al
je 0x45f6e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00440928
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f6e3
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00440928
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x460890
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x460899
mov eax, dword [ebp - 4]
add esp, 0xffffffdc
mov word [ebp - 8], cx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
call fcn.00460810
lea eax, [ebp - 0x4028]
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp - 6]
dec eax
test eax, eax
jl 0x4608fe
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x1c]
mov word [edx + 2], ax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x1c]
mov word [edx], ax
inc dword [ebp - 4]
add dword [ebp - 0x1c], 4
inc dword [ebp - 0x20]
dec dword [ebp - 0x24]
jne 0x4608d6
mov ax, word [ebp - 6]
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], 1
mov word [ebp - 0x10], 0
mov word [ebp - 0xe], 0
mov ax, word [ebp - 8]
mov word [ebp - 0x18], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x16], ax
mov ax, word [ebp - 8]
add ax, word [ebp - 6]
dec eax
mov word [ebp - 0x14], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
lea eax, [ebp - 0x4028]
push eax
mov eax, dword [0x4af0e0]
push eax
call sub.kernel32.dll_WriteConsoleOutputA
mov esp, ebp
pop ebp
ret 8

Function at 0x4609a8
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov word [ebp - 4], dx
mov word [ebp - 2], ax
call fcn.00461474
mov ax, word [ebp - 2]
mov word [ebp - 0x10], ax
mov ax, word [ebp - 4]
mov word [ebp - 0xe], ax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 1
lea eax, [ebp - 0x11]
push eax
mov eax, dword [0x4af0e0]
push eax
call sub.kernel32.dll_ReadConsoleOutputCharacterA
cmp byte [ebp - 0x11], 0x3f
jne 0x460a15
push 0x4e3
call sub.kernel32.dll_SetConsoleOutputCP
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 1
lea eax, [ebp - 0x11]
push eax
mov eax, dword [0x4af0e0]
push eax
call sub.kernel32.dll_ReadConsoleOutputCharacterA
push 0x362
call sub.kernel32.dll_SetConsoleOutputCP
cmp dword [ebp - 0xc], 0
jne 0x460a21
mov byte [ebp - 5], 0
jmp 0x460a27
mov al, byte [ebp - 0x11]
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x461298
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov word [ebp - 6], cx
mov word [ebp - 4], dx
mov word [ebp - 2], ax
call fcn.00461474
mov ax, word [ebp - 6]
mov word [ebp - 0xe], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], 0
mov word [ebp - 8], 0
mov ax, word [ebp - 2]
dec eax
mov word [ebp - 0x16], ax
mov ax, word [ebp - 4]
dec eax
mov word [ebp - 0x14], ax
mov ax, word [ebp - 2]
add ax, word [ebp - 6]
sub ax, 2
mov word [ebp - 0x12], ax
mov ax, word [ebp - 4]
add ax, word [ebp + 0xc]
sub ax, 2
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x16]
push eax
push dword [ebp - 0xa]
push dword [ebp - 0xe]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
mov eax, dword [0x4af0e0]
push eax
call sub.kernel32.dll_WriteConsoleOutputA
mov esp, ebp
pop ebp
ret 8

Function at 0x46289c
Capabilities:
Enumerate gui resources
Set console window title

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x462a16
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4af298], 0
jne 0x4629fb
call sub.kernel32.dll_FreeConsole
call sub.kernel32.dll_AllocConsole
call fcn.00461418
call fcn.00461474
call fcn.00461488
push 0x362
call sub.kernel32.dll_SetConsoleCP
push 0x362
call sub.kernel32.dll_SetConsoleOutputCP
call sub.kernel32.dll_GetCurrentProcessId
mov dword [ebp - 0x10], eax
mov edx, 0x4af198
mov eax, dword [ebp - 0x10]
call fcn.00403af8
push 0x462a2c
lea eax, [ebp - 0x18]
mov edx, 0x4af198
call fcn.0040569c
push dword [ebp - 0x18]
push 0x462a38
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004057b8
mov edx, dword [ebp - 0x14]
mov eax, 0x4af198
mov ecx, 0xff
call fcn.004056d4
push 0x4af199
call sub.kernel32.dll_SetConsoleTitleA
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.00461150
test al, al
jne 0x462970
mov word [0x4af180], 0x50
mov word [0x4af184], 0x19
jmp 0x4629bd
mov ax, word [ebp - 4]
mov word [0x4af180], ax
mov ax, word [ebp - 8]
mov word [0x4af184], ax
cmp word [0x4af180], 0x80
jbe 0x462998
mov word [0x4af180], 0x80
cmp word [0x4af184], 0x32
jbe 0x4629ab
mov word [0x4af184], 0x32
mov dx, word [0x4af184]
mov ax, word [0x4af180]
call fcn.004611a0
mov eax, dword [0x4b09f0]
mov byte [eax], 7
mov eax, dword [ebp - 0x10]
push eax
push 0x46280c
call sub.user32.dll_EnumWindows
cmp dword [0x4af178], 0
jne 0x4629ea
mov eax, dword [ebp - 0x10]
push eax
push 0x46280c
call sub.user32.dll_EnumWindows
push 0x462a3c
call sub.kernel32.dll_SetConsoleTitleA
mov byte [0x4af298], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462a1d
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040545c
ret
Function at 0x47429c
Capabilities:
Get common file path
Link many functions at runtime
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
xor eax, eax
mov dword [ebp - 0x30c], eax
xor eax, eax
push ebp
push 0x474420
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [0x4af890], 0
push 0x47442c
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
ja 0x4743a0
lea eax, [ebp - 0x208]
push eax
push 0xff
call sub.kernel32.dll_GetCurrentDirectoryA_1
lea ecx, [ebp - 0x40c]
mov edx, 0x474434
mov eax, 0x474444
call fcn.0046cd54
lea edx, [ebp - 0x40c]
lea eax, [ebp - 0x30c]
call fcn.0040569c
lea eax, [ebp - 0x30c]
mov edx, 0x474450
call fcn.00405700
mov edx, dword [ebp - 0x30c]
lea eax, [ebp - 0x108]
mov ecx, 0xff
call fcn.004056d4
lea eax, [ebp - 0x107]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA_1
push 0x47442c
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jbe 0x474394
push 0x474454
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4af954], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0
push 0
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x308]
push eax
push 0x1a
call dword [0x4af954]
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA_1
cmp dword [ebp - 4], 0x20
jbe 0x4743f4
push 0x474454
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4af954], eax
push 0x47445c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4af958], eax
push 0x474468
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4af95c], eax
push 0x474468
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4af960], eax
jmp 0x474407
mov word [0x4af890], 0x14
mov eax, 0x474474
call fcn.004a2f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474427
lea eax, [ebp - 0x30c]
call fcn.00405438
ret
Function at 0x49ea3c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcf4
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30c], ecx
mov dword [ebp - 0x308], ecx
mov esi, edx
lea edi, [ebp - 0x204]
xor ecx, ecx
mov cl, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
mov esi, eax
lea edi, [ebp - 0x104]
xor ecx, ecx
mov cl, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
xor eax, eax
push ebp
push 0x49eb6d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x304]
lea eax, [ebp - 0x204]
call fcn.0046b180
lea eax, [ebp - 0x304]
call fcn.0049e940
lea eax, [ebp - 0x308]
lea edx, [ebp - 0x104]
call fcn.0040569c
lea eax, [ebp - 0x308]
mov edx, 0x49eb88
call fcn.00405700
mov edx, dword [ebp - 0x308]
lea eax, [ebp - 0x104]
mov ecx, 0xff
call fcn.004056d4
lea eax, [ebp - 0x30c]
lea edx, [ebp - 0x204]
call fcn.0040569c
lea eax, [ebp - 0x30c]
mov edx, 0x49eb88
call fcn.00405700
mov edx, dword [ebp - 0x30c]
lea eax, [ebp - 0x204]
mov ecx, 0xff
call fcn.004056d4
push 0
lea eax, [ebp - 0x203]
push eax
lea eax, [ebp - 0x103]
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
jne 0x49eb38
call sub.kernel32.dll_GetLastError_1
mov word [ebp - 4], ax
cmp byte [ebp - 2], 0
je 0x49eb49
lea eax, [ebp - 0x104]
call fcn.0049e878
mov al, byte [ebp - 2]
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49eb74
lea eax, [ebp - 0x30c]
mov edx, 2
call fcn.0040545c
ret
Function at 0x49ebc4
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x38]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov byte [ebp - 6], 0
xor eax, eax
mov al, byte [ebp - 6]
add eax, eax
lea eax, [eax + eax*2]
mov al, byte [ebp + eax - 0x34]
shl eax, 3
xor edx, edx
mov dl, byte [ebp - 6]
add edx, edx
lea edx, [edx + edx*2]
mov dl, byte [ebp + edx - 0x35]
shl edx, 2
add al, dl
xor edx, edx
mov dl, byte [ebp - 6]
add edx, edx
lea edx, [edx + edx*2]
mov dl, byte [ebp + edx - 0x36]
add edx, edx
add al, dl
xor edx, edx
mov dl, byte [ebp - 6]
add edx, edx
lea edx, [edx + edx*2]
add al, byte [ebp + edx - 0x37]
mov byte [ebp - 7], al
xor eax, eax
mov al, byte [ebp - 6]
add eax, eax
lea eax, [eax + eax*2]
mov al, byte [ebp + eax - 0x33]
add eax, eax
xor edx, edx
mov dl, byte [ebp - 6]
add edx, edx
lea edx, [edx + edx*2]
add al, byte [ebp + edx - 0x38]
mov byte [ebp - 8], al
xor eax, eax
mov al, byte [ebp - 8]
add eax, eax
xor edx, edx
mov dl, byte [ebp - 6]
shl edx, 3
lea edx, [edx*8 + 0x4affa4]
lea eax, [edx + eax*8]
xor edx, edx
mov dl, byte [ebp - 7]
mov al, byte [eax + edx]
mov byte [ebp - 5], al
xor eax, eax
mov al, byte [ebp - 6]
shl eax, 2
inc eax
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 5]
and cl, 1
mov byte [edx + eax - 1], cl
xor eax, eax
mov al, byte [ebp - 6]
shl eax, 2
add eax, 2
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 5]
and cl, 2
and ecx, 0xff
shr ecx, 1
mov byte [edx + eax - 1], cl
xor eax, eax
mov al, byte [ebp - 6]
shl eax, 2
add eax, 3
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 5]
and cl, 4
and ecx, 0xff
shr ecx, 2
mov byte [edx + eax - 1], cl
xor eax, eax
mov al, byte [ebp - 6]
shl eax, 2
add eax, 4
mov edx, dword [ebp - 4]
mov cl, byte [ebp - 5]
and cl, 8
and ecx, 0xff
shr ecx, 3
mov byte [edx + eax - 1], cl
inc byte [ebp - 6]
cmp byte [ebp - 6], 8
jne 0x49ebdf
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x49ecf8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x55]
push ecx
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, eax
lea edi, [ebp - 0x25]
push ecx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 4], ecx
mov byte [ebp - 5], 1
xor eax, eax
mov al, byte [ebp - 5]
movzx eax, byte [eax + 0x4afe9b]
mov al, byte [ebp + eax - 0x26]
xor edx, edx
mov dl, byte [ebp - 5]
xor al, byte [ebp + edx - 0x56]
xor edx, edx
mov dl, byte [ebp - 5]
mov byte [ebp + edx - 0xa6], al
inc byte [ebp - 5]
cmp byte [ebp - 5], 0x31
jne 0x49ed26
lea edx, [ebp - 0x75]
lea eax, [ebp - 0xa5]
call fcn.0049ebc4
mov byte [ebp - 5], 1
xor eax, eax
mov al, byte [ebp - 5]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [ebp - 5]
movzx ecx, byte [ecx + 0x4aff33]
mov cl, byte [ebp + ecx - 0x76]
mov byte [edx + eax - 1], cl
inc byte [ebp - 5]
cmp byte [ebp - 5], 0x21
jne 0x49ed66
pop edi
pop esi
mov esp, ebp
pop ebp
ret