joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d704
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x46d779
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046d3d4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004443fc
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x46d763
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d780
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x46d788
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x46d7fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046d3d4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x46d7e7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d804
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x474320
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp + 8]
mov eax, 0x495de0
call fcn.0047d508
mov word [ebp - 0x18], 0xc
mov edx, 0x4962e4
mov ecx, dword [ebx]
mov dword [ecx], edx
push 0x10
call fcn.00478ed8
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x47436d
mov word [ebp - 0x18], 0x30
mov edx, dword [ebp - 4]
push edx
call fcn.00477694
pop ecx
mov word [ebp - 0x18], 0x24
mov ecx, dword [ebp - 4]
jmp 0x474370
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x3c], ecx
mov word [ebp - 0x18], 0x18
mov eax, dword [ebx]
mov edx, dword [ebx]
add edx, 0xc
mov dword [eax + 0x14], edx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x10
mov dword [ecx + 0x18], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x1c
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
mov ecx, dword [ebx]
add ecx, 0x20
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x2c
mov dword [ecx + 0x34], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x30
mov dword [edx + 0x38], eax
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x24]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x34]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x479ce8
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp + 8]
mov eax, 0x49727c
call fcn.0047d508
mov word [ebp - 0x18], 0xc
mov edx, 0x497604
mov ecx, dword [ebx]
mov dword [ecx], edx
push 0x10
call fcn.00478ed8
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x479d35
mov word [ebp - 0x18], 0x30
mov edx, dword [ebp - 4]
push edx
call fcn.00477694
pop ecx
mov word [ebp - 0x18], 0x24
mov ecx, dword [ebp - 4]
jmp 0x479d38
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x3c], ecx
mov word [ebp - 0x18], 0x18
mov eax, dword [ebx]
mov edx, dword [ebx]
add edx, 0xc
mov dword [eax + 0x14], edx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x10
mov dword [ecx + 0x18], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x1c
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
mov ecx, dword [ebx]
add ecx, 0x20
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x2c
mov dword [ecx + 0x34], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x30
mov dword [edx + 0x38], eax
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x24]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x34]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47e378
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x47e394
call fcn.0047f4e8
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x47e3b3
test bl, 1
je 0x47e3b3
call fcn.00485674
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x482164
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x200
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.0047d16c
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.0047d234
pop ecx
mov edx, 0x200
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.0047d234
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x499415
lea ecx, [ebp - 0x200]
push ecx
call fcn.0047d16c
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.0047d234
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.00483500
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x482275
push esi
call fcn.0047d234
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.0047d234
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.0047cdc4
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x48224c
xor eax, eax
jmp 0x4822fc
push esi
call fcn.0047d234
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.0047d234
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.0047d0c4
add esp, 0xc
jmp 0x4822b5
mov edi, dword [ebx + 0x24]
push edi
call fcn.0047d234
pop ecx
push eax
push esi
call fcn.0047d234
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.0047d234
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.0047cde4
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x4822b5
xor eax, eax
jmp 0x4822fc
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.0047d16c
add esp, 8
push 0x499417
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0047d16c
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.0047d16c
add esp, 8
push 0x499419
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0047d16c
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x485608
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x485635
jmp 0x48566c
call fcn.004855b8
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0047d234
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0047d234
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4856f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x499ab4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4857ca
cmp dword [0x499ab0], 0
jne 0x4857ca
cmp dword [0x499c94], 0
je 0x485784
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004854b8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x48576a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004854b8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x48576a
lea ebx, [ebp - 0x84]
jmp 0x48576b
inc ebx
call fcn.004856a8
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x485805
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x499ab8
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0047d234
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x499abb
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x485805
cmp dword [0x499ab0], 0
je 0x4857e4
cmp dword [0x499ab0], 0xffffffff
je 0x485805
push esi
call dword [0x499ab0]
pop ecx
mov eax, dword [0x499ab4]
test eax, eax
je 0x485805
cmp dword [0x499ab4], 0xffffffff
je 0x485805
cmp byte [eax], 0
je 0x485805
push esi
push eax
call fcn.00485608
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b8849
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
push ecx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
jno 0x4d06fb
mov ebx, dword [eax + 0x18]
mov ecx, dword [ebx + 0x3c]
jmp fcn.004cc6c0
mov ebx, dword [eax + 0x18]
push 0x4ca3c7
jmp loc.004ba82d

Function at 0x4bb88c
Capabilities:
Encrypt data using chaskey

Disassembly:
mov dword [esp], edi
pop edi
jns 0x4df40f
call fcn.004c41a7
cmp dword [ebp - 4], 0
jne 0x4d2182
jmp loc.004bd653
lea eax, [ebp - 0x12d]
push eax
call fcn.004cd419
mov dword [ebp - 4], eax
jmp 0x4da22b
Function at 0x4c2785
Capabilities:
Encrypt data using chaskey

Disassembly:
call fcn.004b6e3c
mov dl, byte [ebx]
cmp ecx, 0
jne 0x4ecb5c
jmp 0x4bb2bf
jmp fcn.004db426
mov ecx, eax
and ecx, 7
mov edx, ebx
call fcn.004b6e3c
mov al, byte [ebx]
mov ebx, edx
shr ebx, 3
jmp 0x4b6f63
call fcn.004c7fc6
jmp loc.004c4a29
jmp 0x4d50be
push ebp
mov ebp, esp
jne 0x4cf12a
push 0x4bbbad
jmp 0x4df9e4
jbe 0x4d8fde
pop eax
xchg dword [esi], ebx
shr ecx, 0x15
jge 0x4e94ba
jmp 0x4c9a54
jmp 0x4e874f
jo 0x4c6391
cmp eax, 0x20
jne 0x4cfc21
jmp fcn.004c1b45
cmp ecx, 3
jne 0x4c9a60
jmp 0x4cfdfa
push esi
mov dword [esp], edi
popfd
sbb dl, al
jmp fcn.004edd48
push eax
jmp loc.004ba120
jl 0x4d066b
jmp 0x4dc5e8
jge 0x4bc2d8
jmp 0x4c596f
je 0x4c9a54
jmp 0x4c2b27
cmp ecx, 2
jne 0x4c7fd4
jmp 0x4c17c1
call fcn.004e9d88
jmp 0x4cb45f
jmp 0x4cdfa2
and ecx, 0x9981f379
and eax, 0x78a8360e
cmp eax, 0x18
jl 0x4e0a50
jmp 0x4e26f6
pushfd
jns 0x4e23f0
jmp 0x4d065f
je 0x4bcd9f
jmp 0x4da361
test ebx, 0x92763ccc
jmp 0x4e358d
jmp 0x4d313f
ret
jae 0x4c65dc
jmp fcn.004cb7b4
and eax, edx
inc eax
push ecx
push 0x3c7797f5
mov ecx, 0x4d660f
xchg dword [esp], ecx
ret
jmp 0x4cd2f8
jne 0x4e71a1
sbb esi, 0x6b84d9f3
shl edi, 1
jmp loc.004bcd9d
mov edi, ebp
jmp fcn.004b841f
or edi, 0x26d01145
adc ebp, edi
jmp 0x4bc2d8
cmp ecx, 1
jne 0x4ce632
jmp loc.004bb23c

Function at 0x4db88e
Capabilities:
Get common file path

Disassembly:
jmp 0x4df6e1
jmp 0x4d95a0
call fcn.004c5431
jmp dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
xchg dword [esp], eax
pop eax
xor edx, edx
mov al, byte [esi]
shr eax, 1
xor al, 0x66
sete dh
jmp 0x4ce73f
sub esi, edx
xor edx, edx
mov eax, edi
call fcn.004c6928
push ebx
push 0xe590f043
pop ebx
sub ebx, 0x6911cdde
add ebx, 0x8380de01
jmp 0x4d70b5

Function at 0x4dcf2f
Capabilities:
Log keystrokes

Disassembly:
je 0x4d1deb
jmp loc.004bbc58
mov dword [esp], eax
pop eax
cmp dword [ebp - 8], 0
jne 0x4c8de1
jmp 0x4cd17e

Function at 0x4e120d
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov dword [esp], edi
pop edi
push 0xdfbe061c
pop eax
or eax, 0x8b26792

Function at 0x4e7802
Capabilities:
Read file on windows

Disassembly:
jmp loc.004b7460
add esp, 0xfffffff4
jmp 0x4c6d93
xchg dword [esp], ecx
pop ecx
je 0x4cadd9
add esp, 0xfffffff4
mov dword [ebp - 8], eax
call fcn.004dfd63
call fcn.004e7827
jmp dword [sym.imp.KERNEL32.DLL_ReadFile]
Function at 0x44d8b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b63bb
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.004aaa32
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44d932
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a891d
mov eax, dword [eax]
push 0x4f91c0
push eax
call fcn.0049abf4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004aacbd
test bl, bl
je 0x44d932
push 0x4f91c0
lea ecx, [esp + 0xc]
call fcn.004ab04d
push 0x4fcd6c
lea ecx, [esp + 0xc]
call fcn.004ab04d
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 0x44d96e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004aacbd
jmp 0x44da39
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 0x44d9f2
lea edx, [esp + 0x7c]
push 0x4fcd68
push edx
call fcn.0049abf4
add esp, 8
test eax, eax
je 0x44d9f2
lea eax, [esp + 0x7c]
push 0x4fcd64
push eax
call fcn.0049abf4
add esp, 8
test eax, eax
je 0x44d9f2
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 0x44d982
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.004aacbd
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 0x44e250
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 0x44e2b2
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 0x44e2c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b643b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5034b0]
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 0x44e3f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44e326
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aacbd
xor eax, eax
jmp 0x44e46f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004aadfa
push esi
lea ecx, [esp + 0xc]
call fcn.004ab089
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44e44d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0044e250
test eax, eax
jne 0x44e44d
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 SysReAllocStringLen
mov ecx, edi
call fcn.0044e250
test eax, eax
jne 0x44e44d
lea eax, [esp + 0x14]
push 0x4fcd80
push eax
call fcn.0049bc30
mov esi, eax
add esp, 8
test esi, esi
jne 0x44e42c
lea ecx, [esp + 0x14]
push 0x4fcd7c
push ecx
call fcn.0049bbb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44e42c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44e42f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004aadaa
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44e33e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aacbd
xor eax, eax
jmp 0x44e46f
mov byte [esi], 0
push 0x4fcd78
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.004aacbd
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 0x463710
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 0x46377e
cmp si, 0x69
ja 0x46377e
add esi, 0xffd0
cmp si, 0x11
je 0x46374e
push 0x11
call edi
test ax, ax
jge 0x46374e
or esi, 0x2000
cmp si, 0x10
je 0x463763
push 0x10
call edi
test ax, ax
jge 0x463763
or esi, 0x4000
cmp si, 0x12
je 0x463778
push 0x12
call edi
test ax, ax
jge 0x463778
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x46378b
mov esi, 0xbd
jmp 0x46373f
cmp si, 0x6e
jne 0x463798
mov esi, 0xbe
jmp 0x46373f
cmp si, 0x6f
jne 0x463739
mov esi, 0xbf
jmp 0x46373f

Function at 0x465330
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x513bd0]
xor edx, edx
cmp eax, edx
jne 0x465356
xor eax, eax
mov byte [eax + 0x513ad0], al
inc eax
cmp eax, 0x100
jl 0x46533e
mov dword [0x513bd0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x513ad0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4653e7
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 0x4653ba
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 0x465388
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x465460
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 0x4654b3
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 0x46549a
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
Function at 0x46c070
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x46c208
cmp ebp, ebx
jle 0x46c208
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x46c0ce
dec eax
or eax, 0xfffffff8
inc eax
je 0x46c0d5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x46c0e4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x46c0eb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004aa9fe
add esp, 4
cmp eax, ebx
je 0x46c10c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004aa9fe
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x46c1fe
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x46c1e5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x46c1d1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x46c1c6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x46c1d4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x46c1d4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x46c170
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x46c161
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret