joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a0fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a134]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a115
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a124
or bl, 4
test esi, 0x20000000
je 0x44a12f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450890
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4508a2
add esp, 0xfffffff0
call fcn.00403d44
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cfdc
mov eax, dword [0x474f60]
mov dword [eax + 4], ebx
mov dword [eax], 0x450c34
mov eax, dword [0x474f6c]
mov dword [eax + 4], ebx
mov dword [eax], 0x450c40
mov eax, ebx
call fcn.00450c4c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414c8c]
call fcn.004039dc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414c8c]
call fcn.004039dc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414c8c]
call fcn.004039dc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414c8c]
call fcn.004039dc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414c8c]
call fcn.004039dc
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, 0x44cfcc
push eax
push 0
push 0
mov eax, dword [0x47511c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ea30]
call fcn.004200f0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ea30]
call fcn.004200f0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ea30]
call fcn.004200f0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451150
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450fd0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450fd0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450fd0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4509df
call fcn.00403d9c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450db4
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 0x450f5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450f40
mov dl, 1
mov eax, dword [0x4150a8]
call fcn.004039dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404818
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450f2f
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.0043e450
test al, al
je 0x450f22
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, 0x450f70
lea eax, [ebp - 0x254]
call fcn.0040bdbc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450f22
xor eax, eax
push ebp
push 0x450f1b
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 0x450fa8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450f04
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a88
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 0x450f04
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450f22
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450e25
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418c04
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 0x450f66
lea eax, [ebp - 0x260]
call fcn.00404818
ret

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

Disassembly:
push ecx
mov eax, dword [0x478dd8]
cmp byte [eax + 0xa5], 0
jne 0x451a29
cmp dword [0x478df0], 0
jne 0x4519ea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x451974
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x478df0], eax
cmp dword [0x478dec], 0
jne 0x451a05
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x478dec], eax
cmp dword [0x478df4], 0
jne 0x451a29
push esp
push 0
push 0
push 0x451918
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x478df4], eax
pop edx
ret
Function at 0x4520cc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x478dd8]
cmp dword [eax + 0x30], 0
je 0x452176
cmp dword [ebx + 0x94], 0
jne 0x452170
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45205c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452170
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 0x452136
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452170
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.00417074
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452145
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452cd4
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 0x452d09
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.00404908
jmp 0x452d16
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040486c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453e50
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453e91
mov eax, esi
call fcn.00439c58
test al, al
je 0x453e91
mov eax, dword [ebx + 0x84]
call fcn.004399f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453e91
push 0
mov eax, dword [ebx + 0x84]
call fcn.004399f8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x455414
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff99c
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x5c]
mov edx, 0x1f
call fcn.00455408
lea eax, [ebp - 0x15c]
mov edx, 0xff
call fcn.00455408
lea eax, [ebp - 0x1dc]
mov edx, 0x7f
call fcn.00455408
lea eax, [ebp - 0x25c]
mov edx, 0x7f
call fcn.00455408
lea eax, [ebp - 0xa5c]
mov edx, 0x7ff
call fcn.00455408
lea eax, [ebp - 0x1263]
mov edx, 0x806
call fcn.00455408
lea eax, [ebp - 0x1663]
mov edx, 0x3ff
call fcn.00455408
lea eax, [ebp - 0x3c]
mov edx, 0x3c
call fcn.004073f0
mov dword [ebp - 0x3c], 0x3c
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0x20
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], pe_nt_image_headers32
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x80
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x80
lea eax, [ebp - 0xa5c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x800
lea eax, [ebp - 0x1663]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0x400
lea eax, [ebp - 0x3c]
push eax
push 0x90000000
mov eax, ebx
call fcn.00404ad8
push eax
mov eax, ebx
call fcn.00404cd8
push eax
call sub.wininet.dll_InternetCrackUrlA
mov eax, edi
lea edx, [ebp - 0x15c]
mov ecx, pe_nt_image_headers32
call fcn.00404a88
mov eax, esi
lea edx, [ebp - 0xa5c]
mov ecx, 0x800
call fcn.00404a88
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
mov edx, ebx
call fcn.00404e1c
push eax
mov eax, ebx
call fcn.00404ad8
mov edi, eax
pop eax
sub edi, eax
mov eax, dword [esi]
call fcn.00404ad8
sub edi, eax
inc edi
push edi
mov eax, dword [esi]
mov edx, ebx
call fcn.00404e1c
mov edi, eax
mov eax, dword [esi]
call fcn.00404ad8
add edi, eax
mov edx, edi
mov eax, ebx
pop ecx
call fcn.00404d38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4569f0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x456b80
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x70], 0
jne 0x456b6a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
jmp 0x456b5d
mov eax, dword [ebp - 4]
add eax, 0x98
xor edx, edx
call fcn.004583a4
mov eax, dword [ebp - 4]
add eax, 0x98
push eax
mov eax, dword [ebp - 4]
add eax, 0x6c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x456abc
xor eax, eax
push ebp
push 0x456ab5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
call fcn.00456eb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456b5d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
push eax
call sub.kernel32.dll_ResetEvent
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], ebx
cmp ebx, 0xea
jne 0x456b4e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x84]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
add eax, 0x84
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.kernel32.dll_PeekNamedPipe
test eax, eax
je 0x456b41
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x84]
mov eax, dword [ebp - 4]
cmp esi, dword [eax + 0x80]
jbe 0x456b5d
mov edx, esi
mov eax, dword [ebp - 4]
add eax, 0x7c
call fcn.00402d88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
jmp 0x456b5d
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
jmp 0x456b6a
cmp ebx, 0x3e5
jne 0x456b6a
mov eax, dword [ebp - 4]
mov byte [eax + 0x70], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x70], 0
je 0x456a2b
pop dword fs:[0]
add esp, 8
push 0x456b87
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x70]
ret
Function at 0x456cb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x71], 0
jne 0x456dcf
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x456dcb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.004579bc
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], ebx
test ebx, ebx
je 0x456dcf
mov eax, dword [ebp - 4]
add eax, 0xac
xor edx, edx
call fcn.004583a4
mov eax, dword [ebp - 4]
add eax, 0xac
push eax
mov eax, dword [ebp - 4]
add eax, 0x60
push eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x68]
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
call sub.kernel32.dll_GetLastError
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], esi
test bl, bl
je 0x456db4
xor eax, eax
push ebp
push 0x456dad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.kernel32.dll_FlushFileBuffers
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
mov edx, 0x467
mov eax, dword [ebp - 4]
call fcn.004569bc
mov eax, dword [ebp - 4]
add eax, 0x68
call fcn.004585a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456dcf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbc]
push eax
call sub.kernel32.dll_ResetEvent
ret
cmp esi, 0x3e5
jne 0x456dc5
mov eax, dword [ebp - 4]
mov byte [eax + 0x71], 1
jmp 0x456dcf
mov byte [ebp - 5], 0
jmp 0x456dcf
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4584d0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x105
xor eax, eax
push ebp
push 0x45852d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404e64
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d30
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
jne 0x458514
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458534
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404e64
ret
Function at 0x4587bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x47150c
push 0x478e78
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x4588bd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi], 0
jne 0x45887c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x471508]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov dx, word [0x471564]
mov word [eax + 6], dx
mov edx, 0x458750
mov eax, dword [ebp - 8]
add eax, 7
call fcn.00458770
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 8]
mov word [eax + 4], 0
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 6]
mov eax, dword [ebx]
call fcn.00458770
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffe
jl 0x458843
mov eax, dword [ebp - 8]
mov dword [0x471508], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebx]
call fcn.00458788
inc word [eax + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4588c4
push 0x478e78
call sub.kernel32.dll_LeaveCriticalSection_1
ret

Function at 0x4592c8
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebx
mov ebx, eax
push 0
push 0x459308
call sub.user32.dll_FindWindowA
mov dword [ebx + 0x4c], eax
push 0x45931c
push 0
push 0
call sub.kernel32.dll_OpenMutexA
test eax, eax
je 0x4592f6
mov bl, 1
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x459301
call sub.kernel32.dll_GetLastError
cmp eax, 2
setne bl
mov eax, ebx
pop ebx
ret
Function at 0x459970
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403400
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 1
xor eax, eax
push ebp
push 0x459a0f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
mov eax, esi
call fcn.00404cd8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test bl, bl
jne 0x4599d9
mov bl, 1
jmp 0x4599f3
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov bl, 1
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459a22
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b71c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x45b74b
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x45b7ca
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00459fd8
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x45b798
mov cx, word [esp]
sub cx, si
jmp 0x45b79a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x45b781
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x45b7c0
mov cx, word [esp]
sub cx, si
jmp 0x45b7c2
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x45b7a9
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x45b827
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0045b3f0
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x45b812
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x45b827
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x45b726
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x461dcc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4792bc
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x461dee
shr eax, 1
xor eax, 0xedb88320
jmp 0x461df0
shr eax, 1
dec edx
jne 0x461ddc
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x461dd5
mov byte [0x4796bc], 1
pop esi
pop ebx
ret

Function at 0x461e0c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4796bc], 0
jne 0x461e23
call fcn.00461dcc
mov eax, edi
dec eax
test eax, eax
jl 0x461e4c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4792bc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x461e2d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x464968
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x464999
dec al
je 0x4649d5
dec al
je 0x464a19
dec al
je 0x464a84
jmp 0x464b0e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x464b0e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4649a9
jmp 0x464b0e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x464b0e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4649e5
jmp 0x464b0e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x464b0e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x464a47
xor ebp, ebp
jmp 0x464a58
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x464a61
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x464a29
jmp 0x464b0e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x464b0e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x464adc
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00461e54
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x464a98
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret