joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e028
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 0x43e044
cmp dword [esi + 4], 0
je 0x43e071
test byte [ebx + 0x55], 1
jne 0x43e063
mov eax, ebx
call fcn.0043cbc8
test eax, eax
jne 0x43e063
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43e181
mov edx, esi
mov eax, ebx
call fcn.0043db4c
jmp 0x43e181
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 0x43e17a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043fe98
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.0043a864
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043e028
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.0043fe98
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e181
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 0x444854
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48cb20]
cmp byte [eax + 0xc], 0
je 0x4449c1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4449ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48db94], 0
jne 0x4448a8
push 0x4449c8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4449d0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48db94], eax
cmp dword [0x485c20], 0
jne 0x4449a3
push 0x4449e0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x485c20], eax
cmp dword [0x485c20], 0
je 0x4449a3
push 0x4449ec
mov eax, dword [0x485c20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48db98], eax
push 0x4449fc
mov eax, dword [0x485c20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48db9c], eax
push 0x444a10
mov eax, dword [0x485c20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dba0], eax
push 0x444a28
mov eax, dword [0x485c20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dba4], eax
push 0x444a40
mov eax, dword [0x485c20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dba8], eax
push 0x444a54
mov eax, dword [0x485c20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbac], eax
push 0x444a6c
mov eax, dword [0x485c20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbb0], eax
push 0x444a84
mov eax, dword [0x485c20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbb4], eax
push 0x444aa0
mov eax, dword [0x485c20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbb8], eax
push 0x444aac
mov eax, dword [0x485c20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dbbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4449c1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4489c0
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.00404500
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x448a0f
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.00404780
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450220
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450270]
test si, 4
je 0x450234
or bl, 1
test si, 8
je 0x45023e
or bl, 4
test si, 1
je 0x450248
or bl, 8
test si, 2
je 0x450252
or bl, 0x10
test si, 0x10
je 0x45025c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45026b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x450274
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4502ac]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45028d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45029c
or bl, 4
test esi, 0x20000000
je 0x4502a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x456970
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456982
add esp, 0xfffffff0
call fcn.00403aa4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ebf8
mov eax, dword [0x48c74c]
mov dword [eax + 4], ebx
mov dword [eax], 0x456d14
mov eax, dword [0x48c758]
mov dword [eax + 4], ebx
mov dword [eax], 0x456d20
mov eax, ebx
call fcn.00456d2c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416a1c]
call fcn.0040373c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416a1c]
call fcn.0040373c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416a1c]
call fcn.0040373c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416a1c]
call fcn.0040373c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416a1c]
call fcn.0040373c
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, 0x453144
push eax
push 0
push 0
mov eax, dword [0x48c8e0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42064c]
call fcn.00421de4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42064c]
call fcn.00421de4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42064c]
call fcn.00421de4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045717c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457044
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457044
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457044
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456abf
call fcn.00403afc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456e28
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 0x456fd3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456fb4
mov dl, 1
mov eax, dword [0x416e38]
call fcn.0040373c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404500
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456fa3
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.00444bb4
test al, al
je 0x456f96
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, 0x456fe4
lea eax, [ebp - 0x254]
call fcn.0040a238
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456f96
xor eax, eax
push ebp
push 0x456f8f
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 0x45701c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456f78
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404780
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 0x456f78
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456f96
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456e99
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ab70
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 0x456fda
lea eax, [ebp - 0x260]
call fcn.00404500
ret

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

Disassembly:
push ecx
mov eax, dword [0x48dbe0]
cmp byte [eax + 0xa5], 0
jne 0x45798d
cmp dword [0x48dbf8], 0
jne 0x45794e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4578d8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48dbf8], eax
cmp dword [0x48dbf4], 0
jne 0x457969
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48dbf4], eax
cmp dword [0x48dbfc], 0
jne 0x45798d
push esp
push 0
push 0
push 0x45787c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48dbfc], eax
pop edx
ret
Function at 0x458020
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48dbe0]
cmp dword [eax + 0x30], 0
je 0x4580ca
cmp dword [ebx + 0x94], 0
jne 0x4580c4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457fb0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4580c4
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 0x45808a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4580c4
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.00418e0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458099
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458c28
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 0x458c5d
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.004045f0
jmp 0x458c6a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404554
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459da4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459de5
mov eax, esi
call fcn.0044019c
test al, al
je 0x459de5
mov eax, dword [ebx + 0x84]
call fcn.0043fe98
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459de5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043fe98
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45b0c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x45b0f8]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x45b0d6
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x45b0e5
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x45b0f4
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x45b9ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x4357b8]
call fcn.00403904
test al, al
je 0x45ba2e
mov eax, dword [0x48c964]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x45ba2e
mov edx, dword [0x48c964]
xor edx, edx
call fcn.00452624
push 0
mov eax, dword [0x48c964]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x45bd88
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x158
call fcn.00403160
cmp dword [ebp - 4], 0
je 0x45be3c
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
mov ax, word [ebp + 8]
mov edx, dword [ebp - 4]
mov dx, word [edx + 8]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x45bdf8
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.0045bcf4
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xa]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.00402c9c
jmp 0x45be08
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.00402c9c
mov dx, word [ebp - 6]
dec edx
test dx, dx
jb 0x45be22
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x45be19
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 0xc]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45be54
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x45bed6
mov dx, word [eax + 8]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
movzx edx, word [esp + 4]
dec edx
test edx, edx
jl 0x45be93
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x45be8c
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0x14]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 0xa]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x14]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x45bf28
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45bf4e
mov dword [ebp - 0x10], 1
jmp 0x45c09c
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xa]
test ax, ax
jne 0x45bf66
mov dword [ebp - 0x10], 2
jmp 0x45c09c
xor edx, edx
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.00403160
movzx eax, word [ebp + 8]
dec eax
movzx edx, word [ebp - 0x14]
mov ecx, edx
cdq
idiv ecx
inc eax
test ax, ax
jbe 0x45c09c
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.0045bf14
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.00403160
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x45c063
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 1
mov ax, word [ebp - 0xa]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0045bd88
cmp dword [ebp - 0x18], 1
jne 0x45c018
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.0045be44
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.0045be44
jmp 0x45c02a
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.0045be44
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.0045be54
mov cx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x45c057
inc ecx
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xa8]
mov bl, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cx
jne 0x45c04c
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x45bfd5
mov cx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x45c092
inc ecx
lea eax, [ebp - 0xa8]
mov dx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x45c08c
mov dl, byte [eax]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], dl
inc word [ebp - 0x12]
inc dword [ebp - 0x1c]
inc eax
dec cx
jne 0x45c074
dec word [ebp - 0x22]
jne 0x45bfa6
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x45c10c
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x45c114
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x45c12d
pop ebx
ret
Function at 0x45e2c0
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 0x45e2ed
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x45e36c
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0045cdc0
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 0x45e33a
mov cx, word [esp]
sub cx, si
jmp 0x45e33c
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x45e323
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 0x45e362
mov cx, word [esp]
sub cx, si
jmp 0x45e364
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x45e34b
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x45e3c9
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0045df8c
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x45e3b4
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 0x45e3c9
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x45e2ca
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x465850
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
and edx, edx
je 0x46586e
and ecx, ecx
jle 0x46586e
push ebx
xor al, byte [edx]
imul eax, eax, 0x8088405
inc eax
mov ebx, eax
shr ebx, 0x18
mov byte [edx], bl
inc edx
dec ecx
jne 0x465859
pop ebx
ret
Function at 0x467c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00402c9c
add dword [ebp - 8], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
shl eax, 2
sub eax, 5
test eax, eax
jl 0x467d2f
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x48b814]
mov edx, 8
call fcn.00465368
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x48b814]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x48b814]
mov edx, 0x10
call fcn.00465368
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x48b814]
mov edx, 0x18
call fcn.00465368
xor ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
add dword [ebp - 8], 4
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x467cb2
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46bda8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x46be02
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48c6fc]
cmp byte [eax], 0
je 0x46bdd2
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x46bdec
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404738
mov eax, dword [ebp - 4]
call fcn.004049d0
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be09
lea eax, [ebp - 4]
call fcn.00404500
ret

Function at 0x46be10
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46be6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48c6fc]
cmp byte [eax], 0
je 0x46be3e
push esi
push ebx
call sub.kernel32.dll_SetFileAttributesW
mov ebx, eax
jmp 0x46be59
push esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404738
mov eax, dword [ebp - 4]
call fcn.004049d0
push eax
call sub.kernel32.dll_SetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be76
lea eax, [ebp - 4]
call fcn.00404500
ret