joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ca488
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x164]
mov edx, ebx
mov eax, edi
call fcn.004ca6ac
mov esi, eax
mov dword [edi + 0x164], esi
and esi, 0xff
add dword [edi + 0x168], esi
imul esi, dword [edi + 0x168], 0x8088405
inc esi
mov dword [edi + 0x168], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x16c]
mov eax, edi
call fcn.004ca6ac
mov dword [edi + 0x16c], eax
pop edi
pop esi
pop ebx
ret

Function at 0x4ca4fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
movzx esi, cx
dec esi
test esi, esi
jl 0x4ca522
inc esi
mov eax, edi
call fcn.004ca4e0
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.004ca488
inc ebx
dec esi
jne 0x4ca50c
pop edi
pop esi
pop ebx
ret

Function at 0x4ca5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.0040517c
xor eax, eax
push ebp
push 0x4ca625
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004ca528
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004ca4e0
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004ca488
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4ca5f0
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca62c
lea eax, [ebp - 4]
call fcn.00404ccc
ret
Function at 0x4cafc8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cb163
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4cb11f
mov eax, dword [ebp - 4]
call fcn.004cc3f8
cmp ebx, eax
jge 0x4cb11f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xec]
mov edx, ebx
call fcn.004c22d0
mov edx, dword [0x4c35a0]
call fcn.00404018
mov esi, eax
mov eax, esi
call fcn.004c3f94
test al, al
je 0x4cb115
mov edi, dword [esi + 0x3c]
test edi, edi
jne 0x4cb109
xor eax, eax
push ebp
push 0x4cb102
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004cb4d4
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x37]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx edx, word [ebp - 0x1b]
movzx eax, word [ebp - 0x19]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100]
mov cx, 1
mov esi, dword [eax]
call dword [esi + 0x14]
movzx esi, word [ebp - 0x17]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00405318
mov eax, dword [ebp - 8]
call fcn.004051e4
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x100]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x154]
mov al, byte [eax + 0x24]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004cb2c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x154]
mov dl, byte [ebp - 9]
mov byte [eax + 0x24], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb14d
mov eax, dword [ebp - 4]
call fcn.004cb550
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a7a4
jmp 0x4cb14d
mov eax, dword [ebp - 8]
call fcn.00404ccc
jmp 0x4cb14d
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x40]
push eax
push 0
lea edx, [ebp - 0x44]
mov eax, 0xb3
call fcn.00409cd4
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x41b1c8]
call fcn.0040dcec
call fcn.0040463c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb16a
lea eax, [ebp - 0x44]
call fcn.00404ccc
ret
Function at 0x4cfe18
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, edx
mov ebx, eax
mov dword [esp], ebx
lea eax, [esp + 8]
push eax
push 0x40
push 5
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4cfe46
call fcn.0040f450
mov eax, dword [esp]
mov byte [eax], 0xe9
mov eax, esi
sub eax, ebx
sub eax, 5
mov edx, eax
and dl, 0xff
mov ecx, dword [esp]
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 8
and dl, 0xff
mov ecx, dword [esp]
mov byte [ecx + 2], dl
mov edx, eax
shr edx, 0x10
and dl, 0xff
mov ecx, dword [esp]
mov byte [ecx + 3], dl
shr eax, 0x18
and al, 0xff
mov edx, dword [esp]
mov byte [edx + 4], al
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0xc]
push eax
push 5
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4cfeaa
call fcn.0040f450
add esp, 0xc
pop esi
pop ebx
ret

Function at 0x4e0a14
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e0b35
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00403068
mov eax, dword [ebp - 0x1c]
call fcn.0040518c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jbe 0x4e0b0d
mov eax, ebx
call fcn.00402b58
mov esi, eax
push esi
push ebx
push 0
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00403068
mov eax, dword [ebp - 0x20]
call fcn.0040518c
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4e0b44
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 8]
shr edx, 0x10
mov word [ebp - 6], dx
mov dx, word [eax + 8]
and dx, 0xffff
mov word [ebp - 8], dx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 0xa], dx
mov di, word [eax + 0xc]
and di, 0xffff
mov edx, ebx
mov eax, esi
call fcn.00402b88
mov eax, dword [ebp - 4]
push eax
movzx eax, word [ebp - 6]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
movzx eax, word [ebp - 8]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
movzx eax, word [ebp - 0xa]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
movzx eax, di
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x40]
mov ecx, 3
mov eax, 0x4e0b50
call fcn.0040acbc
jmp 0x4e0b1a
mov eax, dword [ebp - 4]
mov edx, 0x4e0b64
call fcn.00404d20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0b3c
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404cf0
ret
Function at 0x4e0b6c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040517c
xor eax, eax
push ebp
push 0x4e0c13
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
mov edx, 0x44
call fcn.00407f14
mov dword [ebp - 0x4c], 0x44
test ebx, ebx
jne 0x4e0bb3
lea eax, [ebp - 0x5c]
mov dword [ebp - 8], eax
jmp 0x4e0bb6
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.0040a29c
mov eax, dword [ebp - 0x60]
call fcn.0040518c
push eax
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040518c
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 0x4e0c1a
lea eax, [ebp - 0x60]
call fcn.00404ccc
lea eax, [ebp - 4]
call fcn.00404ccc
ret
Function at 0x4e1998
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
xor edx, edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040517c
xor eax, eax
push ebp
push 0x4e1c5a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x230]
xor eax, eax
call fcn.00403068
mov eax, dword [ebp - 0x230]
lea edx, [ebp - 0x22c]
call fcn.0040a29c
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 8]
mov ecx, 0x4e1c70
call fcn.00404fd8
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1d4]
call fcn.004033fc
lea eax, [ebp - 0x1d4]
call fcn.00403198
call fcn.00402ce4
mov edx, 0x4e1c88
lea eax, [ebp - 0x1d4]
call fcn.004053a8
call fcn.004038dc
call fcn.00402ce4
push 0x4e1c98
lea edx, [ebp - 0x238]
xor eax, eax
call fcn.00403068
push dword [ebp - 0x238]
push 0x4e1ca8
lea eax, [ebp - 0x234]
mov edx, 3
call fcn.0040504c
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0x1d4]
call fcn.004053a8
call fcn.004038dc
call fcn.00402ce4
push 0x4e1cb4
lea edx, [ebp - 0x240]
xor eax, eax
call fcn.00403068
push dword [ebp - 0x240]
push 0x4e1ca8
push 0x4e1cc8
lea eax, [ebp - 0x23c]
mov edx, 4
call fcn.0040504c
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 0x1d4]
call fcn.004053a8
call fcn.004038dc
call fcn.00402ce4
cmp dword [ebp - 4], 0
je 0x4e1b6c
mov eax, dword [ebp - 4]
call fcn.00409e6c
test al, al
je 0x4e1b6c
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x254], eax
mov byte [ebp - 0x250], 0xb
lea edx, [ebp - 0x258]
xor eax, eax
call fcn.00403068
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 0x248], 0xb
lea edx, [ebp - 0x254]
mov ecx, 1
mov eax, 0x4e1cdc
call fcn.0040acbc
mov edx, dword [ebp - 0x244]
lea eax, [ebp - 0x1d4]
call fcn.004053a8
call fcn.004038dc
call fcn.00402ce4
push 0x4e1c98
push dword [ebp - 8]
push 0x4e1ca8
lea eax, [ebp - 0x25c]
mov edx, 3
call fcn.0040504c
mov edx, dword [ebp - 0x25c]
lea eax, [ebp - 0x1d4]
call fcn.004053a8
call fcn.004038dc
call fcn.00402ce4
lea eax, [ebp - 0x1d4]
call fcn.004034c4
call fcn.00402ce4
lea eax, [ebp - 0x228]
xor ecx, ecx
mov edx, 0x44
call fcn.00403668
mov dword [ebp - 0x1fc], 1
mov word [ebp - 0x1f8], 0
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040518c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4e1c1f
mov eax, dword [ebp - 0x1e0]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1e4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1c61
lea eax, [ebp - 0x25c]
mov edx, 2
call fcn.00404cf0
lea eax, [ebp - 0x244]
mov edx, 7
call fcn.00404cf0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404cf0
ret
Function at 0x4e20a0
Capabilities:
Move file

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 dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040517c
xor eax, eax
push ebp
push 0x4e21ad
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x4e8d54]
mov eax, dword [eax + 0x3b4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov ecx, 0x4e21c8
mov edx, dword [ebp - 4]
call fcn.00404fd8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
push 9
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004cad08
mov eax, dword [ebp - 0x10]
call fcn.0040518c
push eax
mov eax, dword [ebp - 4]
call fcn.0040518c
push eax
call sub.kernel32.dll_MoveFileExA
test eax, eax
je 0x4e218a
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004cad08
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040a29c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004cad1c
xor eax, eax
push ebp
push 0x4e216b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004cb3f8
dec eax
setge bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e2177
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004cad08
mov eax, dword [ebp - 0x1c]
call fcn.0040a168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e21b4
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404cf0
lea eax, [ebp - 4]
call fcn.00404ccc
ret
Function at 0x402e80
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00405945
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00405945
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x402efc
mov eax, dword [0x67dae8]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 3
call fcn.00405951
cmp dword [ebp - 0x18], esp
je 0x402f28
push 6
call fcn.0040594b
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 8
call fcn.00405951
cmp dword [ebp - 0x18], esp
je 0x402f56
push 6
call fcn.0040594b
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push 0x4a073e
push 0
mov eax, 9
call fcn.00405951
cmp dword [ebp - 0x18], esp
je 0x402f82
push 6
call fcn.0040594b
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0xa
call fcn.00405951
cmp dword [ebp - 0x18], esp
je 0x403011
push 6
call fcn.0040594b
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0xb
call fcn.00405951
cmp dword [ebp - 0x18], esp
je 0x403036
push 6
call fcn.0040594b
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x40303e
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00405939
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00405939
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x411450
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x496f6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048a8e0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4114d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00487b64
mov eax, dword [eax]
push 0x669240
push eax
call fcn.00479ac4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048ab6b
test bl, bl
je 0x4114d2
push 0x669240
lea ecx, [esp + 0xc]
call fcn.0048aefb
push 0x66cdc4
lea ecx, [esp + 0xc]
call fcn.0048aefb
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41150e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048ab6b
jmp 0x4115d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x411592
lea edx, [esp + 0x7c]
push 0x66cdc0
push edx
call fcn.00479ac4
add esp, 8
test eax, eax
je 0x411592
lea eax, [esp + 0x7c]
push 0x66cdbc
push eax
call fcn.00479ac4
add esp, 8
test eax, eax
je 0x411592
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x411522
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048ab6b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x411dd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x411e32
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x411e40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x496feb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6799fc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x411f78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411ea6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048ab6b
xor eax, eax
jmp 0x411fef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048aca8
push esi
lea ecx, [esp + 0xc]
call fcn.0048af37
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x66cdfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x411fcd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00411dd0
test eax, eax
jne 0x411fcd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00411dd0
test eax, eax
jne 0x411fcd
lea eax, [esp + 0x14]
push 0x66cdd8
push eax
call fcn.0047abd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x411fac
lea ecx, [esp + 0x14]
push 0x66cdd4
push ecx
call fcn.0047ab50
mov esi, eax
add esp, 8
test esi, esi
jne 0x411fac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x411faf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048ac58
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x411ebe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048ab6b
xor eax, eax
jmp 0x411fef
mov byte [esi], 0
push 0x66cdd0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048ab6b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x422a10
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x422a7e
cmp si, 0x69
ja 0x422a7e
add esi, 0xffd0
cmp si, 0x11
je 0x422a4e
push 0x11
call edi
test ax, ax
jge 0x422a4e
or esi, 0x2000
cmp si, 0x10
je 0x422a63
push 0x10
call edi
test ax, ax
jge 0x422a63
or esi, 0x4000
cmp si, 0x12
je 0x422a78
push 0x12
call edi
test ax, ax
jge 0x422a78
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x422a8b
mov esi, 0xbd
jmp 0x422a3f
cmp si, 0x6e
jne 0x422a98
mov esi, 0xbe
jmp 0x422a3f
cmp si, 0x6f
jne 0x422a39
mov esi, 0xbf
jmp 0x422a3f

Function at 0x424200
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x68a220]
xor edx, edx
cmp eax, edx
jne 0x424226
xor eax, eax
mov byte [eax + 0x68a120], al
inc eax
cmp eax, 0x100
jl 0x42420e
mov dword [0x68a220], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x68a120
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4242b7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42428a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x424258
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424330
Capabilities:
Encode data using xor

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