joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bac2
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00405d00
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40bb5d
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x410144]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x40bb5d
cmp eax, 1
je 0x40bb7e
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40bb5d
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x40bb2a
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x40bb59
xor eax, eax
inc eax
jmp 0x40bb9d
cmp edi, eax
jae 0x40bb61
xor eax, eax
jmp 0x40bb9d
cmp eax, esi
jae 0x40bb68
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x410144]
jmp 0x40bb81
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404310
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
lea ebp, [ecx + 0x14]
mov esi, dword [esp + 0x14]
xor eax, eax
shl esi, 4
mov ebx, dword [ecx + 0x10]
mov edx, dword [ebp]
add ebx, esi
add edx, eax
add esi, 4
mov bl, byte [ebx + edi]
xor byte [edx], bl
inc eax
cmp eax, 4
jl 0x404322
inc edi
add ebp, 4
cmp edi, 4
jl 0x404319
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4044a0
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
sub esp, 0x14
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, 4
lea ecx, [edi + 0x14]
mov edx, dword [ecx]
add eax, 4
add ecx, 4
dec esi
mov edx, dword [edx]
mov dword [eax - 4], edx
jne 0x4044b5
xor esi, esi
mov al, byte [esp + esi + 0x14]
cmp al, 0x80
mov byte [esp + 0x13], al
jae 0x4044d7
shl al, 1
jmp 0x4044db
shl al, 1
xor al, 0x1b
mov byte [esp + 0x12], al
mov al, byte [esp + esi + 0x18]
cmp al, 0x80
mov byte [esp + 0x11], al
jae 0x4044ef
shl al, 1
jmp 0x4044f3
shl al, 1
xor al, 0x1b
mov cl, byte [esp + esi + 0x1c]
mov dl, byte [esp + esi + 0x20]
mov bl, cl
xor bl, dl
xor bl, al
mov al, byte [esp + 0x11]
xor bl, al
mov al, byte [esp + 0x12]
xor bl, al
mov eax, dword [edi + 0x14]
mov byte [eax + esi], bl
mov al, byte [esp + 0x11]
cmp al, 0x80
jae 0x40451f
shl al, 1
jmp 0x404523
shl al, 1
xor al, 0x1b
mov byte [esp + 0x12], al
cmp cl, 0x80
mov al, cl
jae 0x404532
shl al, 1
jmp 0x404536
shl al, 1
xor al, 0x1b
mov bl, dl
xor bl, al
mov al, byte [esp + 0x12]
xor bl, cl
xor bl, al
mov al, byte [esp + 0x13]
xor bl, al
mov eax, dword [edi + 0x18]
cmp cl, 0x80
mov byte [esi + eax], bl
mov bl, cl
jae 0x404559
shl bl, 1
jmp 0x40455e
shl bl, 1
xor bl, 0x1b
cmp dl, 0x80
mov al, dl
jae 0x404569
shl al, 1
jmp 0x40456d
shl al, 1
xor al, 0x1b
mov ebp, dword [edi + 0x1c]
xor al, dl
xor al, bl
mov bl, byte [esp + 0x11]
xor al, bl
mov bl, byte [esp + 0x13]
xor al, bl
cmp bl, 0x80
mov byte [esi + ebp], al
mov al, bl
jae 0x40458e
shl al, 1
jmp 0x404592
shl al, 1
xor al, 0x1b
cmp dl, 0x80
mov byte [esp + 0x13], al
jae 0x40459f
shl dl, 1
jmp 0x4045a4
shl dl, 1
xor dl, 0x1b
mov al, dl
mov dl, byte [esp + 0x11]
xor al, cl
mov cl, byte [esp + 0x13]
xor al, dl
xor al, cl
mov ecx, dword [edi + 0x20]
xor al, bl
mov byte [ecx + esi], al
inc esi
cmp esi, 4
jl 0x4044c7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x408350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x504428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x56b44c]
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call fcn.004e321b
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esi + 0x98]
call fcn.004de8d8
push 0x55c348
lea edx, [esp + 8]
push 0x5762b4
push edx
call fcn.004e20cc
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
push ecx
mov byte [esp + 0x30], 2
call fcn.004a8ad0
add esp, 8
lea edx, [esp + 0xc]
push 0x55c320
push 0x5762b4
push edx
call fcn.004e20cc
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 3
call fcn.004e1f6e
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.004e1e27
lea eax, [esi + 0x14c]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.004a8ad0
add esp, 8
lea edx, [esp + 0xc]
push 0x55c2f8
push 0x5762b4
push edx
call fcn.004e20cc
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 4
call fcn.004e1f6e
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.004e1e27
lea eax, [esp + 8]
lea ecx, [esi + 0x110]
push eax
call fcn.004de8d8
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
call fcn.004a8ad0
add esp, 8
lea ecx, [esp + 4]
mov byte [esp + 0x28], 1
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.004e3310
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x409ec0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x824
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1c]
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x10], esp
lea edx, [ebp - 0x18]
push ecx
mov eax, dword [eax + 0x1c]
push edx
push 0xb0
push eax
mov dword [ebp - 4], 0
call edi
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebp - 0x18]
push 0
push ecx
mov edx, dword [eax + 0x1c]
push 0xc9
push edx
call edi
mov ebx, eax
mov eax, dword [esi + 0x5c]
push 0
push ebx
mov eax, dword [eax + 0x1c]
push 0xbb
push eax
call edi
mov ecx, dword [ebp - 0x1c]
mov esi, dword [esi + 0x5c]
sub ecx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x830]
mov word [ebp - 0x830], 0x406
mov edx, dword [esi + 0x1c]
push ecx
push ebx
push 0xc4
push edx
call edi
lea ecx, [ebp + eax*2 - 0x830]
mov word [ecx], 0
cmp word [ecx - 2], 0xd
jne 0x409f75
mov word [ecx - 2], 0
jmp 0x409f8c
cmp word [ebp + eax*2 - 0x834], 0xd
lea eax, [ebp + eax*2 - 0x834]
jne 0x409f8c
mov word [eax], 0
mov eax, dword [0x56b44c]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004e1daf
lea ecx, [ebp - 0x830]
push 0x55c3bc
push ecx
call fcn.004bde5d
lea edx, [ebp - 0x830]
push 0x55c424
push edx
mov esi, eax
call fcn.004bde5d
add esp, 0x10
test esi, esi
jne 0x409fd4
lea eax, [ebp - 0x830]
push eax
jmp 0x409ff5
test eax, eax
je 0x409ff1
mov ecx, dword [ebp - 0x20]
lea edx, [ebp + ecx*2 - 0x830]
cmp edx, eax
jbe 0x409fec
add eax, 8
push eax
jmp 0x409ff5
mov word [eax], 0
add esi, 8
push esi
lea ecx, [ebp - 0x14]
call fcn.004e1fbe
lea ecx, [ebp - 0x14]
call fcn.004d761e
lea ecx, [ebp - 0x14]
call fcn.004d752d
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x57614c]
push eax
call fcn.00467c10
mov ecx, dword [0x57614c]
call fcn.00435aa0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4133c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x505558
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
test edi, edi
mov esi, ecx
je 0x4134ac
push edi
call fcn.004d9c0a
test eax, eax
jne 0x4134ac
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004d9b65
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41341a
cmp eax, 2
jne 0x4134ac
mov edx, dword [0x56b44c]
mov ebp, dword [esi + 0x48]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x18]
push edi
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.004d9ac5
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004e1f6e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call fcn.004e1e27
mov eax, dword [0x56b44c]
mov dword [esp + 0x34], eax
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
push ecx
mov ecx, dword [0x57614c]
call fcn.004487e0
test eax, eax
jne 0x4134c2
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call fcn.004e1e27
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004e1e27
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
lea edx, [esp + 0x34]
mov ecx, esi
push edx
push edi
call fcn.00414cf0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x18]
push eax
push 0x55c3b8
push ecx
call fcn.004e2140
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 4
call fcn.004e1f6e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.004e1e27
lea edx, [esp + 0x34]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.004e2066
lea edx, [esp + 0x10]
mov byte [esp + 0x2c], 5
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004e2066
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 6
call fcn.004e1f6e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 5
call fcn.004e1e27
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 3
call fcn.004e1e27
mov ecx, dword [esp + 0x34]
push 1
push edi
push ebp
push ecx
mov ecx, dword [esi + 0x8c]
call fcn.00410ea0
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x2c], 2
call fcn.004e1e27
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x418a80
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
cmp esi, 0xffffff9c
mov edi, ecx
jne 0x418abc
mov eax, dword [0x57614c]
push 1
add eax, 0x21c
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, edi
call fcn.00418a20
push eax
mov ecx, edi
call fcn.00418a10
push eax
call fcn.00420760
add esp, 0xc
mov esi, eax
test esi, esi
je 0x418aff
mov eax, dword [0x571168]
cmp esi, 2
jne 0x418acf
mov eax, dword [0x57117c]
test eax, eax
push 0x11
je 0x418aea
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x418aff
mov eax, esi
pop edi
pop esi
add esp, 8
ret 4
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x418aff
mov eax, esi
pop edi
pop esi
add esp, 8
ret 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4

Function at 0x4195e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x4195ed
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 0xc]
push edi
xor eax, eax
mov edx, 0xd971
lea edi, [esi + ecx]
cmp esi, edi
jae 0x419640
push ebx
mov bl, byte [esi]
xor ecx, ecx
mov cl, dh
inc esi
xor cl, bl
mov byte [esp + 0x10], cl
movzx cx, cl
add ecx, edx
lea edx, [ecx + ecx*2]
shl edx, 4
sub edx, ecx
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [edx + edx*8]
lea ecx, [ecx + edx*2]
mov edx, 0x58bf
sub edx, ecx
mov ecx, dword [esp + 0x10]
and ecx, 0xff
add eax, ecx
cmp esi, edi
jb 0x419601
pop ebx
pop edi
pop esi
ret

Function at 0x419650
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x506065
push eax
mov eax, 0x1008
mov dword fs:[0], esp
call fcn.004bdb50
mov eax, dword [0x56b44c]
mov dword [esp + 4], 0
mov dword [esp], eax
lea ecx, [esp]
mov dword [esp + 0x1010], 1
call fcn.004e1daf
mov ecx, dword [esp + 0x101c]
mov edx, dword [esp + 0x1020]
mov eax, dword [ecx]
mov ecx, dword [edx]
push eax
lea eax, [esp + 0xc]
push 0x800
push eax
push 0
push ecx
push 0x55ca2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4196d1
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 4]
call fcn.004e1fbe
push esi
mov esi, dword [esp + 0x101c]
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.004e1b94
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x1014], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x100c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1014
ret
Function at 0x419930
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5060eb
push eax
mov eax, 0x1010
mov dword fs:[0], esp
call fcn.004bdb50
mov eax, dword [0x56b44c]
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov ebx, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x1024], ebx
call fcn.004e1daf
mov esi, dword [esp + 0x1030]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x1c]
mov eax, dword [esi]
push eax
push 0x800
push ecx
push 0
push 0x55cab4
push 0x55ca2c
call edi
test eax, eax
jne 0x4199dc
mov eax, dword [esi]
lea edx, [esp + 0x1c]
push eax
push 0x800
push edx
push 0
push 0x55caa8
push 0x55ca2c
call edi
test eax, eax
jne 0x4199dc
mov esi, dword [esp + 0x102c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004e1b94
mov dword [esp + 0x10], ebx
jmp 0x419a55
push 0x5c
mov ecx, esi
call fcn.004d6fd9
inc eax
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.004d6f0d
lea edx, [esp + 0x1c]
mov byte [esp + 0x1024], 2
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004e20cc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1028], 3
call fcn.004e1f6e
lea ecx, [esp + 0x14]
mov byte [esp + 0x1024], 2
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov byte [esp + 0x1024], bl
call fcn.004e1e27
mov esi, dword [esp + 0x102c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004e1b94
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x1024], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x101c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x101c
ret
Function at 0x41c827
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov ecx, 0x571098
jmp 0x41c810
push 0xffffffffffffffff
push 0x50653f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
push 0x5705d0
lea ecx, [esi + 8]
mov dword [esp + 0x10], esi
mov dword [esi + 4], edi
call fcn.004e1e9b
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 2
mov dword [esi + 0x18], 0x17
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push 0x5705d0
lea ecx, [esi + 0x28]
mov dword [esp + 0x1c], edi
mov dword [esi + 0x24], edi
call fcn.004e1e9b
mov ebx, 1
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 0xffffff
push 0xf4efe9
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], bl
mov dword [esi + 0x34], 0xf4efe9
call fcn.004e744d
mov dword [esi + 0x40], 0xebebeb
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
push 0x55cc48
lea ecx, [esi + 0x8c]
mov byte [esp + 0x1c], 2
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], 4
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], 0x26
call fcn.004e1e9b
push 0x5705d0
lea ecx, [esi + 0xc8]
mov byte [esp + 0x1c], 3
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 0x64
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], 0x1f40
mov dword [esi + 0xbc], 8
mov dword [esi + 0xc4], edi
call fcn.004e1e9b
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov dword [esi], 0x51b9a0
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41d2b0
Capabilities:
Log keystrokes

Disassembly:
push 0xffffffffffffffff
push 0x506698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, ecx
push 0
push 0
push 0x407
mov eax, dword [edi + 0x1c]
push eax
call esi
push eax
call fcn.004ddf17
mov ecx, eax
call fcn.004e14d7
mov ecx, dword [0x57614c]
push 0
push 0
push 0x407
mov eax, dword [ecx + 0x1048]
mov edx, dword [eax + 0x1c]
push edx
call esi
push eax
call fcn.004ddf17
mov ebx, eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004ddf17
cmp ebx, eax
jne 0x41d32d
mov ecx, dword [0x57614c]
call fcn.00435aa0
jmp 0x41d344
push 0
push 0
push 0
push 0xd
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0xd
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [0x56b44c]
mov dword [esp + 0xc], eax
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x407
push ecx
mov dword [esp + 0x28], 0
call esi
push eax
call fcn.004ddf17
lea edx, [esp + 0xc]
mov ecx, eax
push edx
call fcn.004de8d8
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0x407
push eax
call esi
push eax
call fcn.004ddf17
lea ecx, [esp + 0xc]
mov edi, eax
push ecx
call fcn.004aa300
mov edx, dword [edi + 0x1c]
add esp, 4
push 0xffffffffffffffff
push eax
push 0xb1
push edx
call esi
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0xb7
push eax
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41f020
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
mov eax, dword [edi]
mov esi, dword [eax - 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41f07e
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x41f07e
lea ecx, [esi + esi + 2]
push ecx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41f07e
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
ret

Function at 0x41f090
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x5069cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x56b44c]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov edi, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], edi
call fcn.004e1daf
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x41f0ed
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004e1b94
mov dword [esp + 0x10], edi
jmp 0x41f145
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebx
jne 0x41f108
call dword [sym.imp.USER32.dll_CloseClipboard]
lea edx, [esp + 0xc]
push edx
jmp 0x41f136
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, ebx
jbe 0x41f124
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [esp + 0x10]
call fcn.004e1fbe
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [esp + 0xc]
push eax
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.004e1b94
mov dword [esp + 0x10], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.004e1e27
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x421530
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov ebp, 0x1000
xor ebx, ebx
mov edi, 0x7a
test edi, edi
je 0x4215c9
cmp edi, 0x7a
je 0x42157d
cmp edi, 0x103
je 0x42156b
mov dword [esp + 0x14], 1
jmp 0x421628
mov eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x421628
push esi
call fcn.004e2519
lea eax, [ebp + ebp]
push eax
call fcn.004e24f0
mov esi, eax
add esp, 8
test ebx, ebx
mov dword [esi], ebp
mov dword [esp + 0x10], ebp
jne 0x4215b4
lea ecx, [esp + 0x10]
push ecx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
jmp 0x4215c1
lea edx, [esp + 0x10]
push edx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x421610
xor edi, edi
jmp 0x42161c
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x20]
je 0x4215e4
test eax, eax
je 0x4215de
test dword [esi + 0xc], eax
je 0x4215f7
mov eax, dword [esi + 4]
push eax
jmp 0x4215f1
test eax, eax
je 0x4215ed
test dword [esi + 0xc], eax
jne 0x4215f7
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push edx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x421610
xor edi, edi
jmp 0x42161c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42154d
push esi
call fcn.004e2519
add esp, 4
test ebx, ebx
je 0x42163c
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42154d
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x421960
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x506d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 0xc]
push 4
push eax
mov ecx, esi
mov word [0x571214], 0
call fcn.004d6e91
mov ecx, dword [eax]
push 0x55c7ec
push ecx
call fcn.004bda36
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
je 0x4219dc
mov esi, dword [esi]
push esi
push 0x800
push 0x571214
push 0x5705d0
push 0x55c7e4
push 0x55c7c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x571214
lea ecx, [esp + 0x2c]
call fcn.004e1e9b
lea edx, [esp + 0xc]
push 7
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0
call fcn.004d6f0d
mov eax, dword [eax]
push 0x55ca10
push eax
mov byte [esp + 0x20], 1
call fcn.004bdb15
add esp, 8
test eax, eax
je 0x421a4d
lea ecx, [esp + 0x20]
push 8
push ecx
lea ecx, [esp + 0x30]
call fcn.004d6f0d
mov edx, dword [eax]
push 0x55cdc4
push edx
call fcn.004bdb15
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
je 0x421a4f
mov bl, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.004e1e27
test bl, bl
je 0x421a9c
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0041ee90
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x28], 2
call fcn.00421ad0
add esp, 0x10
cmp eax, 0xfffffffd
je 0x421a8e
mov ebp, eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.004e1e27
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x10]
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret