joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5471e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
push edi
mov eax, dword [esi]
add esi, 4
mov edi, dword [ecx]
mov dword [esp + 0xc], eax
mov cl, byte [eax]
mov dword [esp + 0x34], esi
cmp cl, 0x2e
je 0x4b5ba1
push 0x6a
push eax
push 0xffffffffffffffff
push edi
call fcn.004b5660
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
call fcn.004b5220
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je case.0x4b5bc7.0
mov ebp, dword [edi + 0xc8]
inc eax
cmp eax, 0xb
ja case.0x4b5bc7.0
jmp dword [eax*4 + 0x4b5d04]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0x70
push ecx
push edx
jmp 0x4b5cc8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0x6b
push eax
push ecx
jmp 0x4b5cc8
push 0x6c
jmp 0x4b5cbe
push 0x6d
lea ecx, [edi + 0xb8]
call fcn.004737d0
xor eax, eax
mov ecx, 0x58facc
cmp dword [ecx], 3
je 0x4b5c21
add ecx, 0xc
inc eax
cmp ecx, 0x58fb98
jl 0x4b5c0b
jmp 0x4b5cd1
lea esi, [eax + eax*2]
shl esi, 2
mov ecx, dword [esi + 0x58fac8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005199e4
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], 0
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00519bbf
mov eax, dword [eax]
mov ecx, dword [esi + 0x58fad0]
push 0x6e
push eax
push ecx
push edi
mov byte [esp + 0x3c], 1
call fcn.004b5660
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.00519976
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00519976
mov esi, dword [esp + 0x34]
jmp 0x4b5cd1
test ebp, ebp
jle 0x4b5cbc
mov eax, dword [edi + 0xc8]
lea ecx, [edi + 0xb8]
test eax, eax
jne 0x4b5ca6
xor eax, eax
jmp 0x4b5ca9
mov eax, dword [ecx + 8]
mov al, byte [eax + ebp - 1]
cmp al, 0x6d
je 0x4b5cbc
cmp al, 0x53
je 0x4b5cbc
push 0x6d
call fcn.004737d0
push 0x6e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
push edi
call fcn.004b5660
add esp, 0x10
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push esi
push ebp
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004b5730
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
Function at 0x4c60e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x547750
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov edi, dword [esi + 0x1c]
call fcn.00473490
mov dword [esp + 0x24], edi
xor edi, edi
mov dword [esp + 8], 0x54d7d4
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x3c]
push 1
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], edi
call fcn.004c6420
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
push ecx
lea edx, [esp + 0xc]
push edi
push edx
push eax
mov ecx, esi
call fcn.004c6190
mov dword [esp + 8], 0x54d7d4
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
mov dword [esp + 0xc], edi
call fcn.00473690
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x10], 0x54d7d0
call fcn.00473690
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x4c7960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x547838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.00473490
mov eax, dword [esp + 0x40]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x28], 0
call fcn.00473790
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0xc]
call fcn.00473800
mov edx, dword [esp + 0x34]
lea ecx, [esp + 8]
push edx
call fcn.00473800
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4c79d2
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x4c79d2
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.00473d50
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
mov eax, ecx
neg eax
sbb eax, eax
push edi
and eax, edx
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
call dword [edx + 0xc]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 8], 0x54d7d0
call fcn.00473690
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18
Function at 0x4c7bf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x547858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.00473490
lea eax, [esp + 0x38]
push 4
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
call fcn.00473d50
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc]
call fcn.00473790
mov edi, dword [esp + 0x40]
test edi, edi
je 0x4c7c59
push edi
call fcn.004c98e0
add esp, 4
lea ecx, [esp + 8]
push eax
push edi
call fcn.00473d50
jmp 0x4c7c64
push 0
lea ecx, [esp + 0xc]
call fcn.004737d0
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 8]
push edx
call fcn.00473800
mov eax, dword [esp + 0x30]
lea ecx, [esp + 8]
push eax
call fcn.00473800
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov eax, ecx
neg eax
sbb eax, eax
push edi
and eax, edx
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
call dword [edx + 0xc]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 8], 0x54d7d0
call fcn.00473690
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18

Function at 0x4c8e60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5479b4
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 eax, dword [esi + 0x38]
mov dword [esp + 0x18], 3
test eax, eax
je 0x4c8e96
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esi + 0x34]
call fcn.00519976
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.00519976
lea eax, [esi + 0x10]
mov dword [esp + 0xc], eax
mov dword [eax], fcn.004d2c70
lea edi, [eax + 8]
mov byte [esp + 0x18], 4
mov ecx, edi
mov dword [eax + 4], 0
call fcn.00473690
mov ecx, edi
mov byte [esp + 0x18], 1
mov dword [edi], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 4]
mov byte [esp + 0x18], 0
call fcn.00519976
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00519976
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4cf960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x547e90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x64]
mov dword [esp], ecx
push ebx
push ebp
mov ecx, dword [eax + 0x18]
push esi
mov esi, dword [eax + 4]
push edi
test ecx, ecx
jne 0x4cf992
xor edi, edi
jmp 0x4cf995
mov edi, dword [eax + 0x10]
lea ebp, [edi + esi*4]
lea ecx, [esp + 0x50]
lea ebx, [ebp + esi*4]
lea eax, [ebx + esi*4]
mov dword [esp + 0x74], eax
call fcn.00473490
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0
call fcn.00473490
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
call fcn.00473490
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 2
call fcn.00473490
test esi, esi
mov byte [esp + 0x6c], 3
jle 0x4cfa4d
sub ebp, edi
sub ebx, edi
mov ecx, dword [esp + 0x78]
mov edx, dword [edi]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4cfa47
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4cfa47
shr eax, 2
push edx
push eax
push ecx
call fcn.004744a0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4cfa47
mov ecx, dword [edi]
push ecx
lea ecx, [esp + 0x54]
call fcn.00473750
mov edx, dword [edi + ebp]
lea ecx, [esp + 0x3c]
push edx
call fcn.00473750
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
call fcn.00473750
mov ecx, dword [ebx + edi]
mov edx, dword [esp + 0x74]
add ecx, edx
push ecx
lea ecx, [esp + 0x18]
call fcn.00473800
add edi, 4
dec esi
jne 0x4cf9e6
mov edi, dword [esp + 0x10]
lea esi, [edi + 8]
mov dword [edi + 4], 0
mov ecx, esi
call fcn.00473690
mov ecx, dword [esp + 0x60]
mov edx, ecx
mov eax, ecx
shr edx, 2
neg eax
mov dword [edi + 4], edx
mov edi, dword [esp + 0x58]
sbb eax, eax
push ecx
and eax, edi
mov ecx, esi
push eax
call fcn.00473d50
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, esi
and eax, edi
push eax
call fcn.00473d50
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, esi
and eax, edi
push eax
call fcn.00473d50
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, esi
and eax, edi
push eax
call fcn.00473d50
mov esi, 0x54d7d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 2
mov dword [esp + 0x14], esi
call fcn.00473690
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
mov dword [esp + 0x28], esi
call fcn.00473690
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x3c], esi
call fcn.00473690
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x50], esi
call fcn.00473690
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8
Function at 0x4d8380
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x4d838c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x4d841f
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x4d83e9
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.004d8540
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x4d83be
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x4d8430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x4d852d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x4d8482
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x4d84ae
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004d8540
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x4d84ef
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x4d8471
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x4d86c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5484e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebx, [edi + 8]
mov eax, ebx
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x28]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
call fcn.005320b0
mov esi, dword [esp + 0x58]
mov ebp, dword [sym.imp.GDI32.dll_GetCurrentObject]
push 1
mov eax, dword [esi + 8]
push eax
call ebp
push eax
call fcn.00522890
mov ecx, dword [esi + 8]
push 2
push ecx
mov dword [esp + 0x18], eax
call ebp
push eax
call fcn.00522890
xor ebp, ebp
push 0xffffff
push ebp
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], eax
call fcn.00522912
lea edx, [esp + 0x20]
mov ecx, esi
push edx
mov dword [esp + 0x54], ebp
call fcn.00521f9a
push 0x800000
lea ecx, [esp + 0x1c]
call fcn.00522962
mov eax, ebx
push 1
push 1
push ebx
mov ecx, dword [eax]
mov byte [esp + 0x5c], 1
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x50], edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x28]
push ecx
push ebp
mov ecx, edi
call fcn.00534c46
mov eax, dword [esp + 0x58]
mov edx, 1
mov ecx, ebp
shl edx, cl
test eax, edx
je 0x4d87dc
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4d87ce
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x24]
jmp 0x4d87ec
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00521f9a
jmp 0x4d87ec
cmp dword [esp + 0x5c], 1
jne 0x4d880a
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
inc ebp
cmp ebp, 8
jl 0x4d879d
lea eax, [esp + 0x38]
push eax
push ebx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00521f9a
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
call fcn.00521f9a
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call fcn.005228fc
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], 3
call fcn.005228fc
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 0xc
Function at 0x4db340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
mov edi, ecx
jne 0x4db356
xor ebx, ebx
jmp 0x4db359
mov ebx, dword [eax + 0x1c]
call fcn.005358e8
push esi
push esi
push ebx
push 0x118
push 0x190
push esi
push esi
push 0x90000000
push esi
push esi
push esi
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
push esi
call fcn.0051bfbf
push eax
push esi
mov ecx, edi
call fcn.0051b887
test eax, eax
je 0x4db42f
push ebp
call fcn.005358e8
mov ebx, dword [eax + 8]
push 0xa
push 0x21d
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
cmp ebp, esi
je 0x4db420
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x4db420
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x4db420
push 0xffffff
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
push edi
lea esi, [edi + 0x3c]
push eax
push 0x50000000
push esi
mov dword [esp + 0x30], 0x190
mov dword [esp + 0x34], 0x118
call dword [0x59a2f4]
test eax, eax
je 0x4db420
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [0x59a2fc]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 4
Function at 0x4ddbb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x548b70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x596a0c]
push ebx
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
push ebx
lea eax, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
mov byte [esp + 0x44], 3
call fcn.004df840
add esp, 0x1c
test eax, eax
je 0x4ddcdb
push ebx
lea edx, [esp + 0x34]
push ebx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.004df840
add esp, 0x1c
test eax, eax
je 0x4ddcdb
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.00501dcd
add esp, 8
test eax, eax
jne 0x4ddcdb
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call fcn.00501dcd
add esp, 8
test eax, eax
jne 0x4ddcdb
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
call fcn.004dfa80
add esp, 0x10
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x2c], 2
call fcn.00519976
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.00519976
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call fcn.00519976
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00519976
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 4]
mov byte [esp + 0x28], 2
call fcn.00519976
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.00519976
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call fcn.00519976
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00519976
mov ecx, dword [esp + 0x20]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4ddd30
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, 1
cmp esi, eax
jl 0x4ddd59
mov ecx, dword [esp + 8]
push ebx
mov bl, byte [ecx]
mov edx, eax
and edx, 3
mov dl, byte [esp + edx + 0x14]
xor bl, dl
inc eax
mov byte [ecx], bl
inc ecx
cmp eax, esi
jle 0x4ddd43
pop ebx
pop esi
ret

Function at 0x4ddd60
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
lea eax, [esp + 4]
push 4
push eax
call fcn.004743c0
mov edi, dword [esp + 0x18]
add esp, 8
xor eax, eax
test edi, edi
jbe 0x4ddda3
push ebx
push esi
mov esi, dword [esp + 0x14]
mov ecx, eax
mov dl, byte [esi]
and ecx, 3
mov bl, byte [esp + ecx + 0xc]
lea ecx, [esp + ecx + 0xc]
xor bl, dl
inc eax
inc esi
cmp eax, edi
mov byte [ecx], bl
jb 0x4ddd81
mov eax, dword [esp + 0xc]
pop esi
pop ebx
pop edi
pop ecx
ret
mov eax, dword [esp + 4]
pop edi
pop ecx
ret
Function at 0x4dde90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor edx, edx
test esi, esi
jle 0x4ddebe
mov eax, dword [esp + 0x10]
push ebx
push edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [edx + edi]
mov ebx, ecx
mov ecx, edx
and ecx, 0xf
shl ebx, cl
xor eax, ebx
inc edx
cmp edx, esi
jl 0x4ddea5
pop edi
pop ebx
pop esi
ret
mov eax, dword [esp + 0x10]
pop esi
ret
Function at 0x4de480
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebx
call fcn.004742e0
add esp, 4
test eax, eax
jne 0x4de4ea
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, 1
jne 0x4de4ea
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
call fcn.00474410
add esp, 4
mov edi, eax
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4de4e2
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00474300
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
ret

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

Disassembly:
sub esp, 0x64
mov edx, dword [esp + 0x68]
mov ecx, 0x19
xor eax, eax
push esi
push edi
lea edi, [esp + 8]
push eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
mov ecx, 0x599ae0
call fcn.00499d60
mov al, byte [esp + 8]
lea esi, [esp + 8]
test al, al
je 0x4de800
and eax, 0xff
push eax
call fcn.00504542
add esp, 4
mov byte [esi], al
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4de7e8
mov eax, 0x98543643
lea ecx, [esp + 8]
mov edx, 8
mov esi, dword [ecx]
add ecx, 4
xor eax, esi
dec edx
jne 0x4de80e
pop edi
pop esi
add esp, 0x64
ret

Function at 0x4decd0
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 0x4ded3e
cmp si, 0x69
ja 0x4ded3e
add esi, 0xffd0
cmp si, 0x11
je 0x4ded0e
push 0x11
call edi
test ax, ax
jge 0x4ded0e
or esi, 0x2000
cmp si, 0x10
je 0x4ded23
push 0x10
call edi
test ax, ax
jge 0x4ded23
or esi, 0x4000
cmp si, 0x12
je 0x4ded38
push 0x12
call edi
test ax, ax
jge 0x4ded38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4ded4b
mov esi, 0xbd
jmp 0x4decff
cmp si, 0x6e
jne 0x4ded58
mov esi, 0xbe
jmp 0x4decff
cmp si, 0x6f
jne 0x4decf9
mov esi, 0xbf
jmp 0x4decff
Function at 0x4eda20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x549788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
lea ecx, [esp + 4]
call fcn.00473490
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 4]
mov dword [esp + 0x20], 0
push eax
push esi
push ecx
call fcn.004ed5e0
add esp, 0xc
test eax, eax
je 0x4eda9e
push eax
push 0x59a4d0
call fcn.0046b110
add esp, 8
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 4], 0x54d7d0
call fcn.00473690
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov eax, ecx
push esi
neg eax
sbb eax, eax
push ecx
and eax, edx
mov edx, dword [esp + 0x30]
push eax
push edx
call fcn.004e8920
add esp, 0x10
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 4], 0x54d7d0
call fcn.00473690
mov ecx, dword [esp + 0x18]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x4ee2a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x549880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
push edi
push 0x400
lea ecx, [esp + 0xc]
call fcn.005278e9
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x8c], 0
call fcn.005218b8
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 1
push ecx
mov ecx, dword [esp + 0x88]
call fcn.004508d0
lea ecx, [esp + 0x30]
call fcn.00521a1c
lea ecx, [esp + 8]
call fcn.0051f184
lea ecx, [esp + 8]
mov esi, eax
call fcn.00527960
mov edx, dword [esp + 0x8c]
mov edi, eax
lea eax, [esp + 0x84]
push 2
push eax
mov ecx, 0x59a598
mov dword [esp + 0x8c], edx
call fcn.00473d50
lea ecx, [esi + 4]
lea edx, [esp + 0x84]
mov dword [esp + 0x84], ecx
push 4
push edx
mov ecx, 0x59a598
call fcn.00473d50
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x84]
push 4
push ecx
mov ecx, 0x59a598
mov dword [esp + 0x8c], eax
call fcn.00473d50
push esi
push edi
mov ecx, 0x59a598
call fcn.00473d50
push edi
call fcn.0050306a
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 0
call fcn.00521994
lea ecx, [esp + 8]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00527972
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc