joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4401d8
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 0x4401f4
cmp dword [esi + 4], 0
je 0x440221
test byte [ebx + 0x55], 1
jne 0x440213
mov eax, ebx
call fcn.0043ed78
test eax, eax
jne 0x440213
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x440331
mov edx, esi
mov eax, ebx
call fcn.0043fcfc
jmp 0x440331
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 0x44032a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00442080
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.0043ca14
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004401d8
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.00442080
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440331
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 0x4469f8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47d69c]
cmp byte [eax + 0xc], 0
je 0x446b65
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x446b5e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47eb98], 0
jne 0x446a4c
push 0x446b6c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x446b74
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47eb98], eax
cmp dword [0x47ac10], 0
jne 0x446b47
push 0x446b84
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47ac10], eax
cmp dword [0x47ac10], 0
je 0x446b47
push 0x446b90
mov eax, dword [0x47ac10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47eb9c], eax
push 0x446ba0
mov eax, dword [0x47ac10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47eba0], eax
push 0x446bb4
mov eax, dword [0x47ac10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47eba4], eax
push 0x446bcc
mov eax, dword [0x47ac10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47eba8], eax
push 0x446be4
mov eax, dword [0x47ac10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ebac], eax
push 0x446bf8
mov eax, dword [0x47ac10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ebb0], eax
push 0x446c10
mov eax, dword [0x47ac10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ebb4], eax
push 0x446c28
mov eax, dword [0x47ac10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ebb8], eax
push 0x446c44
mov eax, dword [0x47ac10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ebbc], eax
push 0x446c50
mov eax, dword [0x47ac10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ebc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446b65
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44a9f0
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.004045c4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44aa3f
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.00404834
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4522b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452308]
test si, 4
je 0x4522cc
or bl, 1
test si, 8
je 0x4522d6
or bl, 4
test si, 1
je 0x4522e0
or bl, 8
test si, 2
je 0x4522ea
or bl, 0x10
test si, 0x10
je 0x4522f4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452303
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45230c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452344]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452325
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452334
or bl, 4
test esi, 0x20000000
je 0x45233f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458a08
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458a1a
add esp, 0xfffffff0
call fcn.00403aec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f040
mov eax, dword [0x47d300]
mov dword [eax + 4], ebx
mov dword [eax], 0x458dac
mov eax, dword [0x47d30c]
mov dword [eax + 4], ebx
mov dword [eax], 0x458db8
mov eax, ebx
call fcn.00458dc4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416300]
call fcn.00403784
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416300]
call fcn.00403784
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416300]
call fcn.00403784
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416300]
call fcn.00403784
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416300]
call fcn.00403784
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, 0x4551dc
push eax
push 0
push 0
mov eax, dword [0x47d478]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420aa4]
call fcn.004222dc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420aa4]
call fcn.004222dc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420aa4]
call fcn.004222dc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459214
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4590dc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4590dc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4590dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458b57
call fcn.00403b44
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458ec0
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 0x45906b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45904c
mov dl, 1
mov eax, dword [0x416890]
call fcn.00403784
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045c4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45903b
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.00446d58
test al, al
je 0x45902e
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, 0x45907c
lea eax, [ebp - 0x254]
call fcn.00409d2c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45902e
xor eax, eax
push ebp
push 0x459027
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 0x4590b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459010
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404834
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 0x459010
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45902e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458f31
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ac6c
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 0x459072
lea eax, [ebp - 0x260]
call fcn.004045c4
ret

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

Disassembly:
push ecx
mov eax, dword [0x47ebe4]
cmp byte [eax + 0xa5], 0
jne 0x459a25
cmp dword [0x47ebfc], 0
jne 0x4599e6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459970
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47ebfc], eax
cmp dword [0x47ebf8], 0
jne 0x459a01
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47ebf8], eax
cmp dword [0x47ec00], 0
jne 0x459a25
push esp
push 0
push 0
push 0x459914
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x47ec00], eax
pop edx
ret
Function at 0x45a0f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47ebe4]
cmp dword [eax + 0x30], 0
je 0x45a1a2
cmp dword [ebx + 0x94], 0
jne 0x45a19c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a088
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a19c
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 0x45a162
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a19c
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.004188f8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a171
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ad00
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 0x45ad35
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.004046b4
jmp 0x45ad42
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404618
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45bf0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bf4d
mov eax, esi
call fcn.00442384
test al, al
je 0x45bf4d
mov eax, dword [ebx + 0x84]
call fcn.00442080
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bf4d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442080
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45ce94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 1
push 0
mov eax, esi
call fcn.00404a84
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
xor eax, eax
push ebp
push 0x45cf0c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp + 0x14]
call fcn.00404a84
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cf13
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
Function at 0x45d4a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45d523
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00404c10
mov eax, dword [ebp - 4]
call fcn.00404a84
push eax
mov eax, dword [ebp - 4]
call fcn.00404884
push eax
call sub.kernel32.dll_GetTempPathA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404c10
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040d4a8
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, ebx
call fcn.004048d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d52a
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045e8
ret

Function at 0x45d7d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x45d93a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004045c4
cmp dword [ebp - 4], 0
je 0x45d91f
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040465c
mov eax, dword [ebp - 8]
call fcn.00404884
mov esi, eax
sub esi, 7
lea eax, [ebp - 0x10]
push eax
mov ecx, 8
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00404ae4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x45d950
call fcn.004048d0
mov eax, dword [ebp - 0xc]
call fcn.00408ef8
mov edi, eax
lea eax, [ebp - 8]
mov ecx, 8
mov edx, esi
call fcn.00404b24
mov eax, dword [ebp - 8]
call fcn.00404884
sub eax, edi
mov edi, eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404ae4
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.00404884
mov ecx, eax
lea edx, [edi + 1]
mov eax, dword [ebp - 8]
call fcn.00404ae4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
pop ecx
call fcn.004048d0
lea eax, [ebp - 8]
call fcn.0045d744
mov edi, eax
add edi, edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404884
mov ecx, eax
sub ecx, edi
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404ae4
lea eax, [ebp - 8]
call fcn.0045d744
mov edi, eax
mov eax, ebx
call fcn.004045c4
mov eax, dword [ebp - 8]
call fcn.00404884
mov esi, eax
sar esi, 1
jns 0x45d8fa
adc esi, 0
test esi, esi
jle 0x45d91f
lea eax, [ebp - 8]
call fcn.0045d744
mov edx, eax
xor edx, edi
lea eax, [ebp - 0x1c]
call fcn.004047ac
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.0040488c
dec esi
jne 0x45d8fe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d941
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004045e8
ret
Function at 0x45d954
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45daa0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004045c4
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.00404a84
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, 1
jl 0x45da85
mov eax, ebx
call fcn.00402ac0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45da7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
mov eax, esi
call fcn.00404a84
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x45dab0
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00408e78
push dword [ebp - 0x14]
push 0x45dabc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00408e78
push dword [ebp - 0x18]
push 0x45dabc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00408e78
push dword [ebp - 0x1c]
push 0x45dabc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00408e78
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.00404944
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45da85
mov eax, dword [ebp - 8]
call fcn.00402af0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45daa7
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004045e8
ret

Function at 0x45f664
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x47d500]
cmp dword [eax], 0
je 0x45f680
push 0
mov eax, dword [0x47d500]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x45f718
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x45f7a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0x10000000
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov eax, dword [ebp + 8]
add eax, 0xffffffec
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffa8
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 4]
xor eax, eax
call fcn.00402eec
lea eax, [ebp - 4]
mov edx, 0x45f7bc
call fcn.0040488c
mov eax, dword [ebp - 4]
call fcn.00404a84
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.advapi32.dll_CreateProcessAsUserA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f7ae
lea eax, [ebp - 4]
call fcn.004045c4
ret

Function at 0x45f7c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x45f831
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xffffffec
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffa8
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 4]
xor eax, eax
call fcn.00402eec
lea eax, [ebp - 4]
mov edx, 0x45f848
call fcn.0040488c
mov eax, dword [ebp - 4]
call fcn.00404a84
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f838
lea eax, [ebp - 4]
call fcn.004045c4
ret
Function at 0x460298
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00460220
mov eax, esi
call fcn.004092c4
test al, al
je 0x4603b3
mov dl, 1
mov eax, dword [0x416b80]
call fcn.00403784
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4603ac
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0041b47c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45fd6c]
call fcn.0046069c
mov esi, eax
mov dword [ebx + 8], esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x3c]
push eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45fdd0]
call fcn.0046071c
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0041ad1c
mov edi, eax
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x18]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jl 0x46037a
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45fe9c]
call fcn.004607e8
mov esi, eax
mov eax, dword [ebx + 0x10]
mov edx, esi
call fcn.0041874c
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebp - 8]
jae 0x460372
mov dword [ebp - 8], eax
add edi, 0x28
dec dword [ebp - 0xc]
jne 0x460345
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 8]
sub eax, edi
push eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45fe34]
call fcn.00460788
mov dword [ebx + 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4603b3
mov eax, dword [ebp - 4]
call fcn.004037b4
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x46204a
cmp dword [ebx + 0x64], 0
jne 0x46204a
cmp dword [ebx + 0x6c], 0
jne 0x46204a
mov edi, esi
jmp 0x4620d1
cmp edi, 0xffffffff
jne 0x462052
dec edi
jmp 0x4620d1
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4620d1
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00460d94
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x46209f
mov cx, word [esp]
sub cx, si
jmp 0x4620a1
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x462088
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4620c7
mov cx, word [esp]
sub cx, si
jmp 0x4620c9
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4620b0
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x46212e
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00461dbc
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x462119
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x46212e
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x46202a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x467540
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov ebp, edx
mov ebx, eax
mov eax, esi
mov edx, ebx
call fcn.00404618
mov eax, dword [esi]
call fcn.00404884
mov edi, eax
test edi, edi
jle 0x46757c
mov ebx, 1
mov eax, esi
call fcn.00404adc
mov edx, ebp
mov ecx, dword [esi]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x467565
pop ebp
pop edi
pop esi
pop ebx
ret