joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436fec
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 0x437008
cmp dword [esi + 4], 0
je 0x437035
test byte [ebx + 0x55], 1
jne 0x437027
mov eax, ebx
call fcn.00435bf8
test eax, eax
jne 0x437027
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x437145
mov edx, esi
mov eax, ebx
call fcn.00436b10
jmp 0x437145
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 0x43713e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00438e94
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.00433914
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00436fec
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.00438e94
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437145
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 0x43d604
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x471c08]
cmp byte [eax + 0xc], 0
je 0x43d771
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d76a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x472b6c], 0
jne 0x43d658
push 0x43d778
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x43d780
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472b6c], eax
cmp dword [0x470b24], 0
jne 0x43d753
push 0x43d790
call sub.kernel32.dll_LoadLibraryA
mov dword [0x470b24], eax
cmp dword [0x470b24], 0
je 0x43d753
push 0x43d79c
mov eax, dword [0x470b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472b70], eax
push 0x43d7ac
mov eax, dword [0x470b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472b74], eax
push 0x43d7c0
mov eax, dword [0x470b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472b78], eax
push 0x43d7d8
mov eax, dword [0x470b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472b7c], eax
push 0x43d7f0
mov eax, dword [0x470b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472b80], eax
push 0x43d804
mov eax, dword [0x470b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472b84], eax
push 0x43d81c
mov eax, dword [0x470b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472b88], eax
push 0x43d834
mov eax, dword [0x470b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472b8c], eax
push 0x43d850
mov eax, dword [0x470b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472b90], eax
push 0x43d85c
mov eax, dword [0x470b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x472b94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d771
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4415fc
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.00403f70
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44164b
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.004041e0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448e08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448e58]
test si, 4
je 0x448e1c
or bl, 1
test si, 8
je 0x448e26
or bl, 4
test si, 1
je 0x448e30
or bl, 8
test si, 2
je 0x448e3a
or bl, 0x10
test si, 0x10
je 0x448e44
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448e53
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x448e5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448e94]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448e75
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448e84
or bl, 4
test esi, 0x20000000
je 0x448e8f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44f53c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44f54e
add esp, 0xfffffff0
call fcn.004034bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cf48
mov eax, dword [0x471890]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f8e0
mov eax, dword [0x47189c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f8ec
mov eax, ebx
call fcn.0044f8f8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415240]
call fcn.00403168
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415240]
call fcn.00403168
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415240]
call fcn.00403168
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415240]
call fcn.00403168
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415240]
call fcn.00403168
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, 0x44bd14
push eax
push 0
push 0
mov eax, dword [0x4719f8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e9ac]
call fcn.004200e8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e9ac]
call fcn.004200e8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e9ac]
call fcn.004200e8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044fd18
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fbf4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fbf4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fbf4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f68b
call fcn.00403514
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44f9d8
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 0x44fb83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44fb64
mov dl, 1
mov eax, dword [0x41565c]
call fcn.00403168
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f70
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44fb53
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.0043d964
test al, al
je 0x44fb46
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, 0x44fb94
lea eax, [ebp - 0x254]
call fcn.00408e8c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44fb46
xor eax, eax
push ebp
push 0x44fb3f
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 0x44fbcc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44fb28
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041e0
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 0x44fb28
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fb46
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44fa49
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419138
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 0x44fb8a
lea eax, [ebp - 0x260]
call fcn.00403f70
ret

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

Disassembly:
push ecx
mov eax, dword [0x472bb8]
cmp byte [eax + 0xa5], 0
jne 0x450529
cmp dword [0x472bd0], 0
jne 0x4504ea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450474
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x472bd0], eax
cmp dword [0x472bcc], 0
jne 0x450505
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x472bcc], eax
cmp dword [0x472bd4], 0
jne 0x450529
push esp
push 0
push 0
push 0x450418
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x472bd4], eax
pop edx
ret
Function at 0x450620
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450637
add esp, 0xfffffff0
call fcn.004034bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cf48
mov eax, dword [0x4719e4]
cmp word [eax + 2], 0
jne 0x45065f
mov eax, dword [0x4719e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451b74
mov eax, dword [0x471a98]
cmp word [eax + 2], 0
jne 0x450679
mov eax, dword [0x471a98]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451d6c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415240]
call fcn.00403168
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415240]
call fcn.00403168
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 [0x41f454]
call fcn.00427038
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x450800
mov eax, dword [0x4718f8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427408
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45230c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4718f8]
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.0040c6d8
test eax, eax
je 0x45076e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040886c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c700
test eax, eax
je 0x450782
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.004041e0
mov eax, dword [0x4717bc]
cmp byte [eax], 0
jne 0x4507b6
mov eax, ebx
call fcn.00450928
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.004524e8
mov eax, ebx
call fcn.00452eac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4507f6
call fcn.00403514
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450ba8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x472bb8]
cmp dword [eax + 0x30], 0
je 0x450c52
cmp dword [ebx + 0x94], 0
jne 0x450c4c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x450b38
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x450c4c
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 0x450c12
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x450c4c
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.004175a8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450c21
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4517b4
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 0x4517e9
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.00404060
jmp 0x4517f6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fc4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4526c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452705
mov eax, esi
call fcn.0043916c
test al, al
je 0x452705
mov eax, dword [ebx + 0x84]
call fcn.00438e94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452705
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438e94
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x455f54
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x455f82
mov eax, ebx
call fcn.00456a08
cmp dword [ebx + 0x40], 0
je 0x455f7b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x455ff3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x455fe5
cmp dword [ebx + 8], 0
je 0x455fa4
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 0x455fb6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x455fe5
cmp dword [ebx + 8], 0
je 0x455f97
cmp eax, 3
je 0x455fc9
dec eax
jne 0x455f97
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 0x455f97
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x455f97
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x456011
cmp dword [ebx + 0x14], 0xcc
je 0x456011
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.0045601c
pop ebx
ret
Function at 0x466e6c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00408a1c
add esp, 0x10c
pop ebx
ret

Function at 0x467374
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x4673cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00467260
cmp dword [ebp - 4], 0
je 0x4673b7
push 1
push 0
push 0x4673d8
mov eax, dword [ebp - 4]
call fcn.00404430
push eax
push 0x4673f4
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4673d4
lea eax, [ebp - 4]
call fcn.00403f70
ret

Function at 0x46787c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41483c]
call fcn.004048dc
xor eax, eax
push ebp
push 0x4679c0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x471664], 0
jne 0x4678cf
mov ecx, dword [0x4717cc]
mov dl, 1
mov eax, dword [0x40717c]
call fcn.0040b984
call fcn.00403924
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bac
mov eax, ebx
call fcn.004047ac
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4679d0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405860
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004047bc
test eax, eax
jle 0x467967
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x467960
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004041f8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004041e0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407fc4
test eax, eax
jne 0x467960
mov ebx, 0x15
jmp 0x46796c
mov ebx, 0x10
jmp 0x46796c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x471664]
call fcn.004677d4
mov eax, dword [ebp - 8]
call fcn.004677d4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405878
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4679c7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403f94
lea eax, [ebp - 0x10]
mov edx, dword [0x41483c]
call fcn.004049ac
ret
Function at 0x55a260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.00555160
test eax, eax
jne 0x55a2cc
push ebp
push 0x6a2fb0
mov ecx, edi
call fcn.005594e0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.00554b90
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00544cd0
push ebx
mov dword [esp + 0x4c], ebp
call fcn.00555310
add esp, 4
test eax, eax
je 0x55a36f
add esi, 0x18
push esi
call fcn.00545710
add esi, eax
push esi
call fcn.00545710
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x55a672
jmp dword [ecx*4 + 0x431ab0]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.00559620
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.00545710
add esi, eax
push esi
call fcn.00545710
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x55a3c0
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.00498624]
test eax, eax
je 0x55a3c0
mov eax, 1
jmp 0x55a3c2
xor eax, eax
cmp ebx, 8
jge 0x55a627
cmp ebx, 7
ja 0x55a672
jmp dword [ebx*4 + 0x431ac0]
test eax, eax
jne 0x55a63a
mov ecx, dword [esp + 0x10]
push eax
push 0x6a2f9c
call fcn.005594e0
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.0055ab80
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x68a820
call fcn.00544ed0
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x563260
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6baf90]
xor edx, edx
cmp eax, edx
jne 0x563286
xor eax, eax
mov byte [eax + 0x6bae90], al
inc eax
cmp eax, 0x100
jl 0x56326e
mov dword [0x6baf90], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6bae90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x563317
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x5632ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5632b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x563390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5633e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5633ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret