joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464cee
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add byte [ebx - 0x3e74f7b1], cl
neg eax
and eax, 7
je 0x464d02
add ecx, eax
mov dword [edi + 8], ecx
mov eax, dword [ebp + 0x2fc0]
xor esi, esi
neg eax
sbb eax, eax
and eax, 0x80
add eax, 0x100
je 0x464d77
lea ebx, [ebx]
mov ecx, dword [edi + 8]
mov eax, dword [edi]
mov edx, ecx
shr edx, 3
mov eax, dword [edx + eax]
mov ebx, eax
lea edx, [ecx + 8]
mov dword [edi + 8], edx
mov edx, eax
shr edx, 8
shl ebx, 8
xor edx, ebx
shl eax, 8
and edx, 0xff00ff
xor edx, eax
rol edx, 0x10
and ecx, 7
shl edx, cl
add esi, 1
shr edx, 0x18
mov byte [esi + ebp + 0x2556f], dl
mov eax, dword [ebp + 0x2fc0]
neg eax
sbb eax, eax
and eax, 0x80
add eax, 0x100
cmp esi, eax
jb 0x464d20
mov ecx, dword [ebp + 0x904]
mov edx, dword [esp + 0x24]
mov byte [edx + ecx], 0
mov ecx, 0x10101010
mov eax, edx
shl eax, 5
add eax, dword [ebp + 0x2d30]
pop edi

Function at 0x466210
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
xor eax, eax
push esi
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x2a30], 2
mov ecx, dword [esi + 0xb40]
sete al
push edi
xor ebx, ebx
push ebp
mov edx, dword [ecx + eax*4 + 0x138]
mov eax, dword [esi + 0x1bd08]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x14238]
mov dword [esp + 0x1c], edx
mov ecx, 0x138
lea edx, [esi + 0x1bd00]
add eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], edx
nop
mov edx, dword [esi + 0xb40]
mov ebp, dword [ecx + edx]
mov edx, dword [esp + 0x28]
mov edx, dword [edx]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], edx
jbe 0x4662b6
mov eax, ebx
shl eax, 5
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
lea eax, [edi + 0x10]
push ebp
mov edx, esi
call fcn.00466170
mov ecx, edi
xor ecx, ebx
add ecx, dword [esp + 0x1c]
add edi, 1
mov dword [esi + ecx*4 + 0x13cb4], eax
mov eax, dword [esi + 0x14238]
add eax, eax
add esp, 4
cmp edi, eax
jb 0x466282
mov ecx, dword [esp + 0x10]
add dword [esp + 0x28], 4
add ecx, 4
add ebx, 1
cmp ecx, 0x140
mov dword [esp + 0x10], ecx
jl 0x466260
xor edi, edi
cmp dword [esi + 0x14238], edi
pop ebp
jbe 0x466305
lea ebx, [esi + 0x13c74]
mov edi, edi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
mov eax, edi
mov edx, esi
call fcn.00466170
mov dword [ebx], eax
add edi, 1
add esp, 4
add ebx, 4
cmp edi, dword [esi + 0x14238]
jb 0x4662e0
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x47fa47
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov dword [ecx], 0x83320166
sti
or bh, byte [edi + ecx*4 - 0x7d]
sti
or al, 0x7d
cmp byte [ebx - 0x728fdbac], cl
jnp 0x47fa56
mov edx, dword [esp + 0x70]
lea edi, [ebx - 7]

Function at 0x47fa5d
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
lea ebx, [ebx + edx + 0x11]
movzx esi, byte [ebx]
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
and ecx, 1
shl ecx, 4
lea edx, [esp + ecx + 0x3a]
mov ecx, eax
shl esi, 4
shr ecx, 1
sar esi, cl
add edi, 1
add ebx, 1
add word [edx], si
cmp edi, 5
jl 0x47fa61
movzx edx, word [esp + 0x3c]
mov ax, word [esp + 0x2c]
imul edx, edx, 0xb5
movzx ecx, word [esp + 0x5c]
add edx, 0x80
imul ecx, ecx, 0xb5
sar edx, 8
add ax, dx
movzx edx, word [esp + 0x3e]
movzx esi, word [esp + 0x40]
imul edx, edx, 0xb5
add edx, 0x80
imul esi, esi, 0xb5
add ecx, 0x80
sar edx, 8
sar ecx, 8
add word [esp + 0x4c], cx
mov cx, word [esp + 0x2e]
add cx, dx
movzx edx, word [esp + 0x5e]
movzx edi, word [esp + 0x42]
imul edx, edx, 0xb5
add esi, 0x80
imul edi, edi, 0xb5
add edx, 0x80
sar esi, 8
sar edx, 8
add word [esp + 0x4e], dx
mov dx, word [esp + 0x30]
add dx, si
movzx esi, word [esp + 0x60]
movzx ebx, word [esp + 0x44]
imul esi, esi, 0xb5
imul ebx, ebx, 0xb5
add edi, 0x80
add esi, 0x80
sar edi, 8
sar esi, 8
add word [esp + 0x50], si
mov si, word [esp + 0x32]
add ebx, 0x80
add si, di
movzx edi, word [esp + 0x62]
sar ebx, 8
imul edi, edi, 0xb5
add edi, 0x80
sar edi, 8
add word [esp + 0x52], di
mov di, word [esp + 0x34]
add di, bx
movzx ebx, word [esp + 0x64]
imul ebx, ebx, 0xb5
add ebx, 0x80
sar ebx, 8
add word [esp + 0x54], bx
movzx ebx, word [esp + 0x46]
imul ebx, ebx, 0xb5
add ebx, 0x80
sar ebx, 8
add word [esp + 0x36], bx
movzx ebx, word [esp + 0x66]
imul ebx, ebx, 0xb5
add ebx, 0x80
sar ebx, 8
add word [esp + 0x56], bx
movzx ebx, word [esp + 0x48]
imul ebx, ebx, 0xb5
add ebx, 0x80
sar ebx, 8
add word [esp + 0x38], bx
movzx ebx, word [esp + 0x68]
imul ebx, ebx, 0xb5
Function at 0x47fbed
Capabilities:
Enumerate pe sections

Disassembly:
add ebx, 0x80
sar ebx, 8
add word [esp + 0x58], bx
movzx ebx, word [esp + 0x4a]
imul ebx, ebx, 0xb5
add ebx, 0x80
sar ebx, 8
add word [esp + 0x3a], bx
movzx ebx, word [esp + 0x6a]
movzx ebp, ax
imul ebx, ebx, 0xb5
movzx eax, cx
mov dword [esp + 0x10], eax
movzx ecx, dx
movzx eax, di
movzx edx, si
mov esi, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0x3a]
add ebx, 0x80
mov dword [esp + 0x14], ecx
movzx ecx, word [esp + 0x36]
mov dword [esp + 0x18], edx
movzx edx, word [esp + 0x38]
sar ebx, 8
add word [esp + 0x5a], bx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
lea edi, [esp + 0x4c]
mov eax, 0x101a3a2a
movzx ecx, word [edi]
movzx edx, word [eax - 2]
movzx ebx, word [eax]
imul edx, ebp
imul ebx, ecx
lea edx, [edx + ebx + 0x8000]
shr edx, 0x10
mov byte [esi], dl
movzx edx, word [eax + 2]
imul edx, dword [esp + 0x10]
movzx ebx, word [eax + 4]
imul ebx, ecx
lea edx, [edx + ebx + 0x8000]
shr edx, 0x10
mov byte [esi + 1], dl
movzx edx, word [eax + 6]
imul edx, dword [esp + 0x14]
movzx ebx, word [eax + 8]
imul ebx, ecx
lea edx, [edx + ebx + 0x8000]
shr edx, 0x10
mov byte [esi + 2], dl
movzx edx, word [eax + 0xa]
imul edx, dword [esp + 0x18]
movzx ebx, word [eax + 0xc]
imul ebx, ecx
lea edx, [edx + ebx + 0x8000]
shr edx, 0x10
mov byte [esi + 3], dl
movzx edx, word [eax + 0xe]
imul edx, dword [esp + 0x1c]
movzx ebx, word [eax + 0x10]
imul ebx, ecx
lea edx, [edx + ebx + 0x8000]
shr edx, 0x10
mov byte [esi + 4], dl
movzx edx, word [eax + 0x12]
imul edx, dword [esp + 0x20]
movzx ebx, word [eax + 0x14]
imul ebx, ecx
lea edx, [edx + ebx + 0x8000]
shr edx, 0x10
mov byte [esi + 5], dl
movzx edx, word [eax + 0x16]
movzx ebx, word [eax + 0x18]
imul edx, dword [esp + 0x24]
imul ebx, ecx
lea edx, [edx + ebx + 0x8000]
shr edx, 0x10
mov byte [esi + 6], dl
movzx edx, word [eax + 0x1a]
movzx ebx, word [eax + 0x1c]
imul edx, dword [esp + 0x28]
imul ebx, ecx
lea ecx, [edx + ebx + 0x8000]
shr ecx, 0x10
mov byte [esi + 7], cl
add esi, dword [esp + 0x78]
invalid
invalid
Function at 0x48369d
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebp]
push 0x10
push ecx
call 0x530a20
add esp, 0xc
or byte [edx], al
test ebx, ebx
je 0x4836fe
cmp dword [ebp + 0x2834], 0
je 0x4836bb
mov esi, edi
call 0x51f0f0
test eax, eax
jne 0x4836bb
add dword [edi + 8], 1
cmp dword [ebp + 0x2840], 0
je 0x4836fe
mov esi, edi
call 0x51f0f0
test eax, eax
je 0x4836e2
mov ecx, dword [ebp]
push 0x101a3d1c
push 0x10
push ecx
call 0x530a20
add esp, 0xc
call 0x51f0f0
test eax, eax
je 0x4836fe
mov edx, dword [ebp]
push 0x101a3cfc
push 0x10
push edx
call 0x530a20
add esp, 0xc
mov esi, 5
mov eax, edi
call 0x51c040
mov dword [ebp + 0xbf0], eax
mov eax, dword [ebp + 4]
add eax, 0xf
cdq
and edx, 0xf
add eax, edx
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xf
cdq
and edx, 0xf
add eax, edx
sar eax, 4
sar ecx, 4
mov dword [ebp + 0x9c], eax
imul eax, ecx
cmp dword [ebp + 0x20], 0
mov dword [ebp + 0x98], ecx
mov dword [ebp + 0xb4], eax
je 0x483760
add dword [edi + 8], 3
cmp dword [ebp + 0x2850], 0
je 0x48375c
add dword [edi + 8], 2
add dword [edi + 8], 2
mov eax, dword [edi + 8]
mov esi, dword [edi]
mov edx, eax
shr edx, 3
mov dl, byte [edx + esi]
mov cl, al
and cl, 7
shl dl, cl
lea eax, [eax + 1]
mov dword [edi + 8], eax
shr dl, 7
je 0x4837a3
nop
add dword [edi + 8], 8
mov eax, dword [edi + 8]
mov esi, dword [edi]
mov edx, eax
shr edx, 3
mov dl, byte [edx + esi]
mov cl, al
and cl, 7
shl dl, cl
lea eax, [eax + 1]
mov dword [edi + 8], eax
shr dl, 7
jne 0x483780
cmp dword [ebp + 0x2840], 0
je 0x48380a
mov edx, dword [edi + 8]
mov esi, dword [edi]
mov eax, edx
shr eax, 3
mov al, byte [eax + esi]
mov cl, dl
and cl, 7
shl al, cl
add edx, 1
mov dword [edi + 8], edx
shr al, 7
cmp al, 1
je 0x4837d7
push 0x101a3ce4
jmp 0x482ef9
push ebp
call fcn.00480f30
add esp, 4
mov esi, edi
call 0x51f0f0
cmp eax, 1
je 0x48380a
mov edx, dword [ebp]
push 0x101a3ccc
push 0x10
push edx
call 0x530a20
add esp, 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
cmp dword [ebp + 0x2838], 0
mov esi, 1
mov dword [ebp + 0x1d40], esi
mov eax, 0x10189258
jne 0x483828
mov eax, 0x101aca48
push ebp
mov dword [ebp + 0xb9c], eax
mov dword [ebp + 0xba0], eax
call fcn.00480b60
add esp, 4
cmp dword [ebp + 0xc10], esi
jne 0x4839bf
cmp dword [ebp + 0x58], 0x4f47595a
jne 0x4839bf
mov esi, 0x55
jmp 0x483860
mov edx, dword [edi + 8]
mov ebx, dword [edi]
mov eax, edx
mov cl, dl
shr eax, 3
mov al, byte [eax + ebx]
and cl, 7
shl al, cl
add edx, 1
mov dword [edi + 8], edx
mov edx, dword [ebp]
shr al, 7
movzx ecx, al
push ecx
push 0x101a3cc8
push 0x30
push edx
call 0x530a20
add esp, 0x10
sub esi, 1
jne 0x483860
mov eax, dword [ebp]
push 0x10185c90
push 0x30
push eax
call 0x530a20
add esp, 0xc
mov dword [esp + 0x10], 0xd
jmp 0x4838c0
Function at 0x495fc9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x4c
call 0x54c750
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x5c]
pop esp
adc eax, edx
mov dword [esp + 0x3c], eax
mov eax, ecx
mov ecx, dword [esp + 0x3c]
mov edx, ecx
mov cl, 0xa
or ch, al
int1
outsb dx, byte [esi]
or eax, dword [eax]
test bl, 3
mov edi, eax
jne 0x495fb1
test byte [esp + 0x10], 3
je 0x49605d
mov eax, dword [esp + 0x50]
mov ecx, ebx
sub ecx, dword [esp + 0x4c]
and al, 0x4c
add ecx, dword [esp + 0x40]
movzx edx, byte [ecx + eax]
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x48]
and al, 0x48
add ecx, eax
mov eax, dword [esp + 0x34]
movzx ecx, byte [ecx + eax]
add edx, ecx
imul edx, dword [esp + 0x58]
push esp
and al, 0x58
add edi, edx
xor esi, esi

Function at 0x495fd9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x4c
call 0x54c750
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x5c]
pop esp
adc eax, edx
mov dword [esp + 0x3c], eax
mov eax, ecx
mov ecx, dword [esp + 0x3c]
mov edx, ecx
mov cl, 0xa
or ch, al
int1
outsb dx, byte [esi]
or eax, dword [eax]
test bl, 3
mov edi, eax
jne 0x495fb1
test byte [esp + 0x10], 3
je 0x49605d
mov eax, dword [esp + 0x50]
mov ecx, ebx
sub ecx, dword [esp + 0x4c]
and al, 0x4c
add ecx, dword [esp + 0x40]
movzx edx, byte [ecx + eax]
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x48]
and al, 0x48
add ecx, eax
mov eax, dword [esp + 0x34]
movzx ecx, byte [ecx + eax]
add edx, ecx
imul edx, dword [esp + 0x58]
push esp
and al, 0x58
add edi, edx
xor esi, esi
Function at 0x40a440
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4700cb
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.00464416
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a4c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00461ec0
mov eax, dword [eax]
push 0x5b11f0
push eax
call fcn.00454ae4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004646a1
test bl, bl
je 0x40a4c2
push 0x5b11f0
lea ecx, [esp + 0xc]
call fcn.00464a31
push 0x5b4d64
lea ecx, [esp + 0xc]
call fcn.00464a31
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 0x40a4fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004646a1
jmp 0x40a5c9
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 0x40a582
lea edx, [esp + 0x7c]
push 0x5b4d60
push edx
call fcn.00454ae4
add esp, 8
test eax, eax
je 0x40a582
lea eax, [esp + 0x7c]
push 0x5b4d5c
push eax
call fcn.00454ae4
add esp, 8
test eax, eax
je 0x40a582
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 0x40a512
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.004646a1
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 0x40ade0
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 0x40ae42
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 0x40ae50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47014b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5bb300]
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 0x40af88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40aeb6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004646a1
xor eax, eax
jmp 0x40afff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004647de
push esi
lea ecx, [esp + 0xc]
call fcn.00464a6d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5b4d9c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40afdd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040ade0
test eax, eax
jne 0x40afdd
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.0040ade0
test eax, eax
jne 0x40afdd
lea eax, [esp + 0x14]
push 0x5b4d78
push eax
call fcn.00455b20
mov esi, eax
add esp, 8
test esi, esi
jne 0x40afbc
lea ecx, [esp + 0x14]
push 0x5b4d74
push ecx
call fcn.00455aa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40afbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40afbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046478e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40aece
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004646a1
xor eax, eax
jmp 0x40afff
mov byte [esi], 0
push 0x5b4d70
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.004646a1
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 0x410e3a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x470978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00465c52
xor ebp, ebp
mov dword [esi], 0x5a1874
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], 0x5a1078
call fcn.00402760
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.00463783
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00402760
mov dword [ebx], 0x59f83c
mov dword [edi], 0x5a1798
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x5a11f8
lea ecx, [esi + 0xb0]
call fcn.00402760
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x5a17a0
mov dword [esi + 0xac], ebp
call fcn.0046e2f1
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0046b2e8
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x410ff0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x470a05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x5a17a0
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.0046b33f
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x59f838
call fcn.00402960
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.0046b33f
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x59f838
call fcn.00402960
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.004637b6
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x59f838
call fcn.00402960
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0046c73e
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4209d0
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 0x420a3e
cmp si, 0x69
ja 0x420a3e
add esi, 0xffd0
cmp si, 0x11
je 0x420a0e
push 0x11
call edi
test ax, ax
jge 0x420a0e
or esi, 0x2000
cmp si, 0x10
je 0x420a23
push 0x10
call edi
test ax, ax
jge 0x420a23
or esi, 0x4000
cmp si, 0x12
je 0x420a38
push 0x12
call edi
test ax, ax
jge 0x420a38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x420a4b
mov esi, 0xbd
jmp 0x4209ff
cmp si, 0x6e
jne 0x420a58
mov esi, 0xbe
jmp 0x4209ff
cmp si, 0x6f
jne 0x4209f9
mov esi, 0xbf
jmp 0x4209ff

Function at 0x4220f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5cba10]
xor edx, edx
cmp eax, edx
jne 0x422116
xor eax, eax
mov byte [eax + 0x5cb910], al
inc eax
cmp eax, 0x100
jl 0x4220fe
mov dword [0x5cba10], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5cb910
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4221a7
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 0x42217a
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 0x422148
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x422220
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 0x422273
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 0x42225a
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 0x428cb0
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 0x428e48
cmp ebp, ebx
jle 0x428e48
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 0x428d0e
dec eax
or eax, 0xfffffff8
inc eax
je 0x428d15
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x428d24
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x428d2b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004643e2
add esp, 4
cmp eax, ebx
je 0x428d4c
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.004643e2
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 0x428e3e
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 0x428e25
mov al, byte [edx]
cmp al, 0xc0
jbe 0x428e11
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x428e06
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 0x428e14
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x428e14
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x428db0
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 0x428da1
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