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

Disassembly:
push 0xffffffffffffffff
push 0x546e20
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 0x4b5811
push 0x6a
push eax
push 0xffffffffffffffff
push edi
call fcn.004b52d0
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.004b4e90
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je case.0x4b5837.0
mov ebp, dword [edi + 0xc8]
inc eax
cmp eax, 0xb
ja case.0x4b5837.0
jmp dword [eax*4 + 0x4b5974]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0x70
push ecx
push edx
jmp 0x4b5938
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0x6b
push eax
push ecx
jmp 0x4b5938
push 0x6c
jmp 0x4b592e
push 0x6d
lea ecx, [edi + 0xb8]
call fcn.00473450
xor eax, eax
mov ecx, 0x58fa74
cmp dword [ecx], 3
je 0x4b5891
add ecx, 0xc
inc eax
cmp ecx, 0x58fb40
jl 0x4b587b
jmp 0x4b5941
lea esi, [eax + eax*2]
shl esi, 2
mov ecx, dword [esi + 0x58fa70]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00519684
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], 0
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0051985f
mov eax, dword [eax]
mov ecx, dword [esi + 0x58fa78]
push 0x6e
push eax
push ecx
push edi
mov byte [esp + 0x3c], 1
call fcn.004b52d0
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.00519616
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00519616
mov esi, dword [esp + 0x34]
jmp 0x4b5941
test ebp, ebp
jle 0x4b592c
mov eax, dword [edi + 0xc8]
lea ecx, [edi + 0xb8]
test eax, eax
jne 0x4b5916
xor eax, eax
jmp 0x4b5919
mov eax, dword [ecx + 8]
mov al, byte [eax + ebp - 1]
cmp al, 0x6d
je 0x4b592c
cmp al, 0x53
je 0x4b592c
push 0x6d
call fcn.00473450
push 0x6e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
push edi
call fcn.004b52d0
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.004b53a0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
Function at 0x4c5d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x547390
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.00473110
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.004c6090
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.004c5e00
mov dword [esp + 8], 0x54d7d4
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
mov dword [esp + 0xc], edi
call fcn.00473310
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x10], 0x54d7d0
call fcn.00473310
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x4c75d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x547478
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.00473110
mov eax, dword [esp + 0x40]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x28], 0
call fcn.00473410
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0xc]
call fcn.00473480
mov edx, dword [esp + 0x34]
lea ecx, [esp + 8]
push edx
call fcn.00473480
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4c7642
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x4c7642
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.004739d0
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.00473310
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18
Function at 0x4c7860
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x547498
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.00473110
lea eax, [esp + 0x38]
push 4
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
call fcn.004739d0
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc]
call fcn.00473410
mov edi, dword [esp + 0x40]
test edi, edi
je 0x4c78c9
push edi
call fcn.004c9550
add esp, 4
lea ecx, [esp + 8]
push eax
push edi
call fcn.004739d0
jmp 0x4c78d4
push 0
lea ecx, [esp + 0xc]
call fcn.00473450
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 8]
push edx
call fcn.00473480
mov eax, dword [esp + 0x30]
lea ecx, [esp + 8]
push eax
call fcn.00473480
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.00473310
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18

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

Disassembly:
push 0xffffffffffffffff
push 0x5475f4
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 0x4c8b06
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esi + 0x34]
call fcn.00519616
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.00519616
lea eax, [esi + 0x10]
mov dword [esp + 0xc], eax
mov dword [eax], fcn.004d28e0
lea edi, [eax + 8]
mov byte [esp + 0x18], 4
mov ecx, edi
mov dword [eax + 4], 0
call fcn.00473310
mov ecx, edi
mov byte [esp + 0x18], 1
mov dword [edi], 0x54d7d0
call fcn.00473310
lea ecx, [esi + 4]
mov byte [esp + 0x18], 0
call fcn.00519616
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00519616
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4cf5d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x547ad0
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 0x4cf602
xor edi, edi
jmp 0x4cf605
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.00473110
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0
call fcn.00473110
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
call fcn.00473110
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 2
call fcn.00473110
test esi, esi
mov byte [esp + 0x6c], 3
jle 0x4cf6bd
sub ebp, edi
sub ebx, edi
mov ecx, dword [esp + 0x78]
mov edx, dword [edi]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4cf6b7
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4cf6b7
shr eax, 2
push edx
push eax
push ecx
call fcn.00474120
add esp, 0xc
cmp eax, 0xffffffff
je 0x4cf6b7
mov ecx, dword [edi]
push ecx
lea ecx, [esp + 0x54]
call fcn.004733d0
mov edx, dword [edi + ebp]
lea ecx, [esp + 0x3c]
push edx
call fcn.004733d0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
call fcn.004733d0
mov ecx, dword [ebx + edi]
mov edx, dword [esp + 0x74]
add ecx, edx
push ecx
lea ecx, [esp + 0x18]
call fcn.00473480
add edi, 4
dec esi
jne 0x4cf656
mov edi, dword [esp + 0x10]
lea esi, [edi + 8]
mov dword [edi + 4], 0
mov ecx, esi
call fcn.00473310
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.004739d0
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.004739d0
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.004739d0
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.004739d0
mov esi, 0x54d7d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 2
mov dword [esp + 0x14], esi
call fcn.00473310
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
mov dword [esp + 0x28], esi
call fcn.00473310
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x3c], esi
call fcn.00473310
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x50], esi
call fcn.00473310
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 0x4d7ff0
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 0x4d7ffc
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x4d808f
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 0x4d8059
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.004d81b0
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 0x4d802e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x4d80a0
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 0x4d819d
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 0x4d80f2
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 0x4d811e
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.004d81b0
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 0x4d815f
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 0x4d80e1
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 0x4d8330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x548120
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.00531d50
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.00522530
mov ecx, dword [esi + 8]
push 2
push ecx
mov dword [esp + 0x18], eax
call ebp
push eax
call fcn.00522530
xor ebp, ebp
push 0xffffff
push ebp
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], eax
call fcn.005225b2
lea edx, [esp + 0x20]
mov ecx, esi
push edx
mov dword [esp + 0x54], ebp
call fcn.00521c3a
push 0x800000
lea ecx, [esp + 0x1c]
call fcn.00522602
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.005348e6
mov eax, dword [esp + 0x58]
mov edx, 1
mov ecx, ebp
shl edx, cl
test eax, edx
je 0x4d844c
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4d843e
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x24]
jmp 0x4d845c
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00521c3a
jmp 0x4d845c
cmp dword [esp + 0x5c], 1
jne 0x4d847a
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 0x4d840d
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.00521c3a
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
call fcn.00521c3a
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call fcn.0052259c
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], 3
call fcn.0052259c
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 0x4dafb0
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 0x4dafc6
xor ebx, ebx
jmp 0x4dafc9
mov ebx, dword [eax + 0x1c]
call fcn.00535588
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.0051bc5f
push eax
push esi
mov ecx, edi
call fcn.0051b527
test eax, eax
je 0x4db09f
push ebp
call fcn.00535588
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 0x4db090
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x4db090
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x4db090
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 [0x59a25c]
test eax, eax
je 0x4db090
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 [0x59a264]
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 0x4dd820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5487b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x59697c]
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.004df4b0
add esp, 0x1c
test eax, eax
je 0x4dd94b
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.004df4b0
add esp, 0x1c
test eax, eax
je 0x4dd94b
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.00501a6d
add esp, 8
test eax, eax
jne 0x4dd94b
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call fcn.00501a6d
add esp, 8
test eax, eax
jne 0x4dd94b
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.004df6f0
add esp, 0x10
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x2c], 2
call fcn.00519616
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.00519616
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call fcn.00519616
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00519616
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.00519616
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.00519616
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call fcn.00519616
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00519616
mov ecx, dword [esp + 0x20]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4dd9a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, 1
cmp esi, eax
jl 0x4dd9c9
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 0x4dd9b3
pop ebx
pop esi
ret

Function at 0x4dd9d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
lea eax, [esp + 4]
push 4
push eax
call fcn.00474040
mov edi, dword [esp + 0x18]
add esp, 8
xor eax, eax
test edi, edi
jbe 0x4dda13
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 0x4dd9f1
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 0x4ddb00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor edx, edx
test esi, esi
jle 0x4ddb2e
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 0x4ddb15
pop edi
pop ebx
pop esi
ret
mov eax, dword [esp + 0x10]
pop esi
ret
Function at 0x4de0f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebx
call fcn.00473f60
add esp, 4
test eax, eax
jne 0x4de15a
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, 1
jne 0x4de15a
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
call fcn.00474090
add esp, 4
mov edi, eax
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4de152
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00473f80
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 0x4de420
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, 0x599a48
call fcn.004999d0
mov al, byte [esp + 8]
lea esi, [esp + 8]
test al, al
je 0x4de470
and eax, 0xff
push eax
call fcn.005041e2
add esp, 4
mov byte [esi], al
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4de458
mov eax, 0x98543643
lea ecx, [esp + 8]
mov edx, 8
mov esi, dword [ecx]
add ecx, 4
xor eax, esi
dec edx
jne 0x4de47e
pop edi
pop esi
add esp, 0x64
ret

Function at 0x4de940
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 0x4de9ae
cmp si, 0x69
ja 0x4de9ae
add esi, 0xffd0
cmp si, 0x11
je 0x4de97e
push 0x11
call edi
test ax, ax
jge 0x4de97e
or esi, 0x2000
cmp si, 0x10
je 0x4de993
push 0x10
call edi
test ax, ax
jge 0x4de993
or esi, 0x4000
cmp si, 0x12
je 0x4de9a8
push 0x12
call edi
test ax, ax
jge 0x4de9a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4de9bb
mov esi, 0xbd
jmp 0x4de96f
cmp si, 0x6e
jne 0x4de9c8
mov esi, 0xbe
jmp 0x4de96f
cmp si, 0x6f
jne 0x4de969
mov esi, 0xbf
jmp 0x4de96f
Function at 0x4ed6c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5493c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
lea ecx, [esp + 4]
call fcn.00473110
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.004ed280
add esp, 0xc
test eax, eax
je 0x4ed73e
push eax
push 0x59a438
call fcn.0046ad90
add esp, 8
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 4], 0x54d7d0
call fcn.00473310
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.004e85c0
add esp, 0x10
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 4], 0x54d7d0
call fcn.00473310
mov ecx, dword [esp + 0x18]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x4edf40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5494c0
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.00527589
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x8c], 0
call fcn.00521558
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 1
push ecx
mov ecx, dword [esp + 0x88]
call fcn.00450560
lea ecx, [esp + 0x30]
call fcn.005216bc
lea ecx, [esp + 8]
call fcn.0051ee24
lea ecx, [esp + 8]
mov esi, eax
call fcn.00527600
mov edx, dword [esp + 0x8c]
mov edi, eax
lea eax, [esp + 0x84]
push 2
push eax
mov ecx, 0x59a500
mov dword [esp + 0x8c], edx
call fcn.004739d0
lea ecx, [esi + 4]
lea edx, [esp + 0x84]
mov dword [esp + 0x84], ecx
push 4
push edx
mov ecx, 0x59a500
call fcn.004739d0
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x84]
push 4
push ecx
mov ecx, 0x59a500
mov dword [esp + 0x8c], eax
call fcn.004739d0
push esi
push edi
mov ecx, 0x59a500
call fcn.004739d0
push edi
call fcn.00502d0a
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 0
call fcn.00521634
lea ecx, [esp + 8]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00527612
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc