joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61fff4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407340
xor eax, eax
push ebp
push 0x62007c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004080c4
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x62005d
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetFileSize
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x620083
lea eax, [ebp - 4]
call fcn.0040725c
ret
Function at 0x62074c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407340
mov eax, dword [ebp - 8]
call fcn.00407340
mov eax, dword [ebp - 0xc]
call fcn.00407340
xor eax, eax
push ebp
push 0x620914
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00424478
cmp dword [ebp - 0x14], 0
jne 0x620809
lea eax, [ebp - 0x80]
call fcn.0061ed68
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0xc], 0
sete al
test al, al
je 0x6207db
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.00407684
jmp 0x6207e6
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.00407684
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x20]
call fcn.00407684
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.0042ba4c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x28]
call fcn.00407684
jmp 0x620825
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
call fcn.00424514
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 4]
call fcn.00407684
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x44
call fcn.00405008
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
mov word [ebp - 0x3c], 0
push dword [ebp - 0x14]
push dword [ebp - 4]
push 0x620934
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004083a8
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.004080c4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x6208c8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0xc], 0
je 0x6208b4
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x78]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x6208cf
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62091b
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004072bc
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004072bc
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004072bc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004072bc
ret
Function at 0x620c04
Capabilities:
Get domain controller name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407340
xor eax, eax
push ebp
push 0x620d35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040763c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00407684
lea eax, [ebp - 0x20]
call fcn.0061f28c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.00422e10
test eax, eax
sete byte [ebp - 0x21]
cmp byte [ebp - 0x21], 0
jne 0x620d12
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x620d12
cmp byte [ebp - 5], 0
je 0x620c90
mov dword [ebp - 0x30], 0x80020000
mov dword [ebp - 0x2c], 0
jmp 0x620c9e
mov dword [ebp - 0x30], 0x40010000
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004080c4
push eax
push 0
call sub.netapi32.dll_DsGetDcNameW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x620d12
xor eax, eax
push ebp
push 0x620d0b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x620ce7
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x1c]
call fcn.0040811c
jmp 0x620cf4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
call fcn.0040811c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x620d12
mov eax, dword [ebp - 0x14]
push eax
call sub.netapi32.dll_NetApiBufferFree_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x620d3c
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004072bc
lea eax, [ebp - 4]
call fcn.0040725c
ret
Function at 0x64ea94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x64eb1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00408248
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004080c4
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x64eb00
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00408248
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0062ae78
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040763c
jmp 0x64eb08
mov eax, dword [ebp - 4]
call fcn.0040725c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64eb25
lea eax, [ebp - 0xc]
call fcn.0040725c
ret

Function at 0x65c954
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040725c
mov dword [ebp - 8], 0xf
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x65c98b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.004073e4
mov esp, ebp
pop ebp
ret

Function at 0x68a8f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
test dl, dl
je 0x68a907
add esp, 0xfffffff0
call fcn.00405b58
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x68a997
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040551c
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x18], 0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0068af24
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.0040763c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, 0x68a9cc
call fcn.00408320
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x689e04]
call fcn.0068b60c
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68a99e
lea eax, [ebp - 0xc]
call fcn.0040725c
ret
Function at 0x6c6788
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6c68a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4456c4]
call fcn.00454060
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
call fcn.0061ed68
mov eax, dword [ebp - 0x1c]
mov cl, 1
mov edx, 0x6c68c0
call fcn.00620090
mov eax, dword [ebp - 8]
call fcn.00452564
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6c6859
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x6c682a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00407684
push 4
push 0
mov eax, dword [ebp - 0xc]
call fcn.004080c4
push eax
call sub.kernel32.dll_MoveFileExW
mov eax, dword [ebp - 0x10]
call fcn.00451b28
test al, al
jne 0x6c67f3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c6860
cmp dword [ebp - 0x10], 0
je 0x6c6858
mov dl, 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx - 4]
xor eax, eax
mov dword [ebp - 0x10], eax
ret
Function at 0x6c9624
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x84], eax
xor eax, eax
push ebp
push 0x6c97ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x19], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov word [eax + 0x254], 0
push 0x11
mov eax, dword [0x7177a0]
mov eax, dword [eax]
call eax
mov ebx, eax
and bx, 0x80
movsx ebx, bx
shr ebx, 6
push 0x12
mov eax, dword [0x7177a0]
mov eax, dword [eax]
call eax
and ax, 0x80
movsx eax, ax
shr eax, 5
or bl, al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x27], bl
mov eax, dword [ebp + 8]
mov al, byte [eax - 9]
and al, 0xf1
or al, 0x10
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
or al, byte [edx + 0x27]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov byte [edx + 0x26], al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x3c
call fcn.0040725c
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.0061f594
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x30
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.user32.dll_GetWindowThreadProcessId
push eax
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x34], eax
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]
cmp eax, dword [edx + 0x34]
je 0x6c979d
push 0x40
lea eax, [ebp - 0x80]
push eax
push 0x1004
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx eax, word [eax + 0x34]
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x6c9780
xor eax, eax
push ebp
push 0x6c9769
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x84]
lea edx, [ebp - 0x80]
mov ecx, 0x40
call fcn.00408170
mov eax, dword [ebp - 0x84]
call fcn.00423a54
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6c978b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x24], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x25], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c97d1
lea eax, [ebp - 0x84]
call fcn.0040725c
ret
Function at 0x6c9e70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
mov word [ebp - 0x22], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x34]
push eax
push 2
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_MapVirtualKeyExW
mov dword [ebp - 0x14], eax
test dword [ebp - 0x14], 0x80000000
ja 0x6c9f02
mov eax, dword [ebp - 8]
add eax, 0xffffffd0
sub eax, 0xa
jb 0x6c9ec9
sub eax, 0x81
je 0x6c9ec9
sub eax, 4
je 0x6c9ec9
sub eax, 0x1f
jne 0x6c9ee1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x27], 6
jne 0x6c9ee1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x18], 0
je 0x6c9f02
mov eax, dword [ebp - 8]
sub eax, 0x36
je 0x6c9ef0
sub eax, 0x8a
jne 0x6c9efe
mov eax, dword [ebp + 8]
push eax
call fcn.006c9dc8
pop ecx
test al, al
ja 0x6c9f02
xor eax, eax
jmp 0x6c9f04
mov al, 1
mov byte [ebp - 0xe], al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x27], 0
je 0x6c9f3f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x27], 6
sete al
and al, byte [ebp - 0xe]
jne 0x6c9f3f
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x134]
push eax
mov cl, byte [ebp - 0xc]
lea eax, [ebp - 0x22]
mov edx, dword [ebp - 8]
call fcn.006c95c4
pop ecx
cmp byte [ebp - 0xe], 0
je 0x6c9f60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x18], 0
jne 0x6c9f60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x18], 1
jmp 0x6c9fe5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x18], 0
je 0x6c9f8c
mov eax, dword [ebp + 8]
push eax
mov al, byte [ebp - 0x14]
and al, 0xff
call fcn.006c9e08
pop ecx
mov edx, dword [ebp - 4]
mov word [edx], ax
mov eax, dword [ebp - 4]
mov word [eax + 2], 0
jmp 0x6c9fe5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x27], 0
je 0x6c9fa4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x27], 6
jne 0x6c9fe5
lea eax, [ebp - 0x128]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x34]
push eax
push 0
push 0xa
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_ToUnicodeEx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov word [eax + edx*2], 0
mov eax, dword [ebp - 4]
cmp word [eax], 0
setne byte [ebp - 0xd]
cmp word [ebp - 0x22], 0
je 0x6ca013
cmp byte [ebp - 0xd], 0
jne 0x6ca013
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x22]
mov ecx, 0xa
call fcn.00404b64
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x6cb62c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
push 0x40
push 0x1000
push 0x11
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
mov dword [ebp - 4], ebx
mov eax, ebx
mov byte [eax], 0x58
mov byte [eax + 1], 0x68
mov dword [eax + 2], esi
mov byte [eax + 6], 0x50
mov byte [eax + 7], 0xff
mov byte [eax + 8], 0x25
lea edx, [eax + 0xd]
mov dword [eax + 9], edx
mov dword [eax + 0xd], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x6e2f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x6e2f58
add esp, 0xfffffff0
call fcn.00405b58
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6e308b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0xc]
shl eax, 3
call fcn.004048fc
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x6e3075
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004837bc
xor eax, eax
push ebp
push 0x6e3062
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004837bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea eax, [eax + edx*8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
add eax, 4
mov edx, dword [ebp - 0x18]
call fcn.004081ac
jmp 0x6e302d
mov eax, dword [ebp - 0x20]
add eax, 4
mov ecx, 1
mov edx, 1
call fcn.004084d8
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.00407754
dec eax
jle 0x6e3047
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp word [eax], 0x5f
je 0x6e3018
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e3069
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e3092
lea eax, [ebp - 0x18]
call fcn.004072a4
ret
Function at 0x6f42c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6f43cd
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [0x6ef680]
call fcn.006f0758
mov eax, dword [0x6ef680]
call fcn.006f0d98
mov eax, dword [0x718510]
mov eax, dword [eax]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [0x6c2c2c]
call fcn.006c38bc
mov eax, dword [0x717408]
mov eax, dword [eax]
call fcn.006c6788
mov eax, dword [0x718510]
mov eax, dword [eax]
mov dl, 3
call fcn.005f82f4
mov eax, dword [0x71790c]
mov eax, dword [eax]
xor edx, edx
call fcn.004b6500
test al, al
jne 0x6f437f
mov eax, 0x6f43e4
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x7183fc]
mov ecx, dword [ecx]
mov eax, dword [0x71790c]
mov eax, dword [eax]
mov dx, 0x36
call fcn.004b64b8
mov eax, dword [ebp - 8]
mov ecx, 0x185
mov edx, 0x6f4414
call fcn.004070a4
push 0
lea eax, [ebp - 0x14]
call fcn.0061ed68
mov eax, dword [ebp - 0x14]
call fcn.004080c4
push eax
push 0x6f449c
push 0x6f44f0
push 0x6f450c
push 0
call sub.shell32.dll_ShellExecuteW
push 0
call sub.kernel32.dll_ExitProcess_1
Function at 0x41a2b44
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
and edx, edx
je 0x41a2b62
and ecx, ecx
jle 0x41a2b62
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 0x41a2b4d
pop ebx
ret

Function at 0x41a2ba8
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x41a2bcd
and ecx, ecx
jle 0x41a2bcd
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x41a2bcf]
mov bl, byte [edx]
xor bl, al
shr ax, 8
xor ax, word [edi + ebx*2]
inc edx
dec ecx
jne 0x41a2bbb
pop edi
pop ebx
ret

Function at 0x41a2dd0
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x41a2df3
and ecx, ecx
jle 0x41a2df3
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x41a2df9]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x41a2de3
pop edi
pop ebx
ret

Function at 0x41af354
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
lea ebx, [esi + 0x1c]
mov eax, edx
lea edx, [ebx + 0x20]
mov ecx, 0x20
call sub.rtl60.bpl__System_Move_qqrpxvpvi
mov eax, dword [esi + 0x14]
dec eax
test eax, eax
jb 0x41af439
inc eax
mov dword [esp + 8], eax
mov dword [esp], 0
mov dword [esp + 4], 4
mov eax, 0x41d5504
mov dword [esp + 0xc], eax
xor eax, eax
mov edx, dword [esp]
add edx, edx
mov ecx, eax
shr ecx, 1
and ecx, 1
add edx, ecx
shl edx, 7
lea ecx, [edx*8 + 0x41cdffc]
mov edx, dword [ebx + eax*4]
and edx, 0xff
mov esi, dword [ecx + edx*4]
lea edx, [eax + 1]
and edx, 0xf
xor dword [ebx + edx*4], esi
lea edx, [eax + 0xf]
and edx, 0xf
xor dword [ebx + edx*4], esi
inc eax
mov edx, dword [ebx + eax*4]
and edx, 0xff
mov esi, dword [ecx + edx*4]
lea edx, [eax + 1]
and edx, 0xf
xor dword [ebx + edx*4], esi
lea edx, [eax + 0xf]
and edx, 0xf
xor dword [ebx + edx*4], esi
inc eax
cmp eax, 0x10
jb 0x41af39a
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov esi, 0x20
sub esi, edx
xor eax, eax
mov ecx, edx
mov edi, dword [ebx + eax*4]
shr edi, cl
mov ecx, esi
mov ebp, dword [ebx + eax*4]
shl ebp, cl
or edi, ebp
mov dword [ebx + eax*4], edi
inc eax
cmp eax, 0x10
jne 0x41af404
add dword [esp + 0xc], 4
dec dword [esp + 4]
jne 0x41af398
inc dword [esp]
dec dword [esp + 8]
jne 0x41af387
xor eax, eax
mov edx, 0xf
sub edx, eax
mov edx, dword [ebx + edx*4]
xor dword [ebx + eax*4], edx
inc eax
cmp eax, 8
jne 0x41af43b
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41b3864
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov edi, dword [0x41e4204]
mov edi, dword [edi]
mov esi, dword [ebp - 8]
mov eax, dword [esi]
call edi
mov dword [ebp - 4], eax
movzx edi, word [ebp - 2]
movzx eax, word [ebp - 4]
mov dword [ebp - 0xc], eax
mov edx, dword [0x41e4204]
mov edx, dword [edx]
mov eax, dword [esi + 4]
call edx
mov dword [ebp - 4], eax
movzx eax, word [ebp - 2]
mov dword [ebp - 0x10], eax
movzx eax, word [ebp - 4]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 4], eax
movzx edx, word [ebx]
mov eax, edi
call fcn.041b3834
mov edi, eax
movzx eax, word [ebx + 2]
add dword [ebp - 0xc], eax
movzx eax, word [ebx + 4]
add dword [ebp - 0x10], eax
movzx edx, word [ebx + 6]
mov eax, dword [ebp - 0x14]
call fcn.041b3834
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x10]
xor esi, edi
movzx edx, word [ebx + 8]
mov eax, esi
call fcn.041b3834
mov esi, eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
add eax, esi
movzx edx, word [ebx + 0xa]
call fcn.041b3834
add esi, eax
xor edi, eax
xor dword [ebp - 0x14], esi
xor esi, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
add ebx, 0xc
inc dword [ebp - 4]
cmp dword [ebp - 4], 8
jne 0x41b38b2
movzx edx, word [ebx]
mov eax, edi
call fcn.041b3834
mov word [ebp - 2], ax
mov ax, word [ebp - 0x10]
add ax, word [ebx + 2]
mov word [ebp - 4], ax
mov edi, dword [0x41e4204]
mov edi, dword [edi]
mov eax, dword [ebp - 4]
call edi
mov esi, dword [ebp - 8]
mov dword [esi], eax
mov ax, word [ebp - 0xc]
add ax, word [ebx + 4]
mov word [ebp - 2], ax
movzx edx, word [ebx + 6]
mov eax, dword [ebp - 0x14]
call fcn.041b3834
mov word [ebp - 4], ax
mov ebx, dword [0x41e4204]
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call ebx
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41b3fd8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov esi, eax
mov edx, dword [ebp + 8]
mov edi, eax
add edi, 0x100
mov ecx, 1
xor ebx, ebx
mov eax, ecx
and al, 0xff
mov byte [esi], al
mov eax, ecx
and eax, 0xff
mov byte [edi + eax], bl
lea eax, [ecx + ecx*4]
lea eax, [eax + eax*8]
mov ecx, 0x101
cdq
idiv ecx
mov ecx, edx
inc esi
inc ebx
cmp ebx, 0x100
jne 0x41b3ffb
pop edi
pop esi
pop ebx
pop ebp
ret