joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8da90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x8d0b3
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x8dabd
cmp dword [ebp - 4], 0
jg 0x8dac4
mov bl, 3
jmp 0x8dc9d
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
test edx, edx
jne 0x8dae2
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
jmp 0x8daf0
mov eax, dword [ebp - 4]
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
inc ebx
mov edx, ebx
shl edx, 2
mov eax, edi
call fcn.000848fc
dec ebx
test ebx, ebx
jl 0x8dc87
inc ebx
mov dword [ebp - 0xc], ebx
xor ebx, ebx
lea eax, [ebx + ebx*2]
add eax, 3
cmp eax, dword [ebp - 4]
jg 0x8db9a
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x933b8]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
lea edx, [ebx + ebx*2]
inc edx
movzx edx, byte [esi + edx]
shr edx, 4
or al, dl
and eax, 0xff
mov al, byte [eax + 0x933b8]
mov byte [ebp - 6], al
lea eax, [ebx + ebx*2]
inc eax
mov al, byte [esi + eax]
shl eax, 2
and al, 0x3c
lea edx, [ebx + ebx*2]
add edx, 2
movzx edx, byte [esi + edx]
shr edx, 6
or al, dl
and eax, 0xff
mov al, byte [eax + 0x933b8]
mov byte [ebp - 7], al
lea eax, [ebx + ebx*2]
add eax, 2
mov al, byte [esi + eax]
and al, 0x3f
and eax, 0xff
mov al, byte [eax + 0x933b8]
mov byte [ebp - 8], al
jmp 0x8dc32
lea eax, [ebx + ebx*2]
add eax, 2
cmp eax, dword [ebp - 4]
jg 0x8dbfe
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x933b8]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
lea edx, [ebx + ebx*2]
inc edx
movzx edx, byte [esi + edx]
shr edx, 4
or al, dl
and eax, 0xff
mov al, byte [eax + 0x933b8]
mov byte [ebp - 6], al
lea eax, [ebx + ebx*2]
inc eax
mov al, byte [esi + eax]
shl eax, 2
and al, 0x3c
and eax, 0xff
mov al, byte [eax + 0x933b8]
mov byte [ebp - 7], al
mov byte [ebp - 8], 0x3d
jmp 0x8dc32
lea eax, [ebx + ebx*2]
movzx eax, byte [esi + eax]
shr eax, 2
mov al, byte [eax + 0x933b8]
mov byte [ebp - 5], al
lea eax, [ebx + ebx*2]
mov al, byte [esi + eax]
shl eax, 4
and al, 0x30
and eax, 0xff
mov al, byte [eax + 0x933b8]
mov byte [ebp - 6], al
mov byte [ebp - 7], 0x3d
mov byte [ebp - 8], 0x3d
mov eax, edi
call fcn.000848b4
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 5]
mov byte [eax + edx], cl
mov eax, edi
call fcn.000848b4
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 6]
mov byte [eax + edx + 1], cl
mov eax, edi
call fcn.000848b4
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 7]
mov byte [eax + edx + 2], cl
mov eax, edi
call fcn.000848b4
mov edx, ebx
shl edx, 2
mov cl, byte [ebp - 8]
mov byte [eax + edx + 3], cl
inc ebx
dec dword [ebp - 0xc]
jne 0x8db0b
lea edx, [ebp - 0x10]
mov eax, dword [edi]
call fcn.000865f8
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00084434
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8d0ba
lea eax, [ebp - 0x10]
call fcn.000843e0
ret
Function at 0x8e0cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x8d5fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.00084434
mov eax, dword [esi]
call fcn.00084664
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x8e1e6
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x8e1d2
mov dword [ebp - 8], eax
mov eax, esi
call fcn.000848b4
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
add dl, cl
mov byte [eax], dl
mov edi, dword [ebp - 0xc]
sub edi, 2
jl 0x8e17e
inc edi
mov ebx, 2
mov eax, esi
call fcn.000848b4
mov edx, dword [esi]
mov dl, byte [edx + ebx - 2]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xd]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x8e15c
mov eax, esi
call fcn.000848b4
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
add cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
dec ebx
cmp ebx, 1
jl 0x8e1c5
mov eax, esi
call fcn.000848b4
mov edx, dword [esi]
mov dl, byte [edx + ebx]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xe]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x8e1a3
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x8e13c
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.0008dfac
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00084434
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8d603
lea eax, [ebp - 0x14]
call fcn.000843e0
ret
Function at 0x8e20c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 8]
mov edx, esi
mov eax, edi
call fcn.0008dfb4
mov eax, dword [esi]
call fcn.00084664
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x8e2f8
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], bl
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x8e2f8
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0x8e293
mov ebx, 1
mov eax, esi
call fcn.000848b4
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xe]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x8e274
mov eax, esi
call fcn.000848b4
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
sub cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
cmp ebx, 2
jl 0x8e2d9
mov eax, esi
call fcn.000848b4
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xd]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0x8e2b7
mov eax, esi
call fcn.000848b4
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x8e267
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x8f664
Capabilities:
Parse pe header

Disassembly:
add esp, 0xfffffff8
xor edx, edx
mov ecx, eax
mov dword [esp], ecx
mov ecx, dword [ecx + 0x3c]
add ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp]
cmp word [eax], 0x5a4d
jne 0x8f6a0
mov eax, dword [esp + 4]
cmp dword [eax], 0x4550
jne 0x8f6a0
mov eax, dword [esp + 4]
mov ax, word [eax + 0x16]
and ax, 2
cmp ax, 2
sete dl
mov eax, edx
pop ecx
pop edx
ret
Function at 0x8f7bc
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov ebp, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebp
call fcn.0008f664
test al, al
je 0x8f88f
mov eax, ebp
call fcn.0008f6a8
mov ebx, eax
test ebx, ebx
je 0x8f88f
mov eax, dword [ebp + 0x3c]
add eax, ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x18
mov edx, dword [esp + 4]
movzx edx, word [edx + 0x14]
add eax, edx
mov dword [esp + 8], eax
push 0x40
push 0x3000
push ebx
push 0
call fcn.00085780
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x8f88f
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x14]
mov edx, ebp
mov eax, dword [esp + 0xc]
call fcn.000890e0
mov eax, dword [esp + 4]
movzx edi, word [eax + 6]
dec edi
test edi, edi
jb 0x8f888
inc edi
xor ebx, ebx
lea esi, [ebx + ebx*4]
mov eax, dword [esp + 8]
mov edx, dword [eax + esi*8 + 0xc]
mov eax, dword [esp + 0xc]
call fcn.0008f570
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov edx, dword [eax + esi*8 + 0x14]
mov eax, ebp
call fcn.0008f570
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov ecx, dword [eax + esi*8 + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
call fcn.000890e0
inc ebx
dec edi
jne 0x8f844
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x907a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, esi
mov edx, ebx
call fcn.00084434
mov eax, ebx
call fcn.00084664
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x9088e
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x9088e
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0x90829
mov ebx, 1
mov eax, esi
call fcn.000848b4
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xe]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x9080a
mov eax, esi
call fcn.000848b4
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
sub cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
cmp ebx, 2
jl 0x9086f
mov eax, esi
call fcn.000848b4
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xd]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0x9084d
mov eax, esi
call fcn.000848b4
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x907fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4013f0
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword fs:[0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0xc]
mov ebp, dword [esp + 0x18]
mov edi, ebx
nop
mov ecx, dword [edi + 0x30]
mov esi, dword [0x46d08c]
push ecx
call fcn.004390e1
movzx ecx, word [eax]
add esp, 4
test ecx, ecx
je 0x401443
lea esp, [esp]
mov edx, esi
shl edx, 5
add eax, 2
add edx, ecx
movzx ecx, word [eax]
add esi, edx
test ecx, ecx
jne 0x401430
cmp esi, ebp
je 0x401455
mov edi, dword [edi]
cmp edi, ebx
jne 0x401410
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [edi + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4017b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4017c9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401804
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401800
lea ebx, [ebx]
cmp esi, eax
jae 0x401804
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4017f0
cmp esi, eax
jb 0x40180a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp method.CAboutDlg.virtual_312
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x41d15f
cmp dword [edi + 0x54], 0
jne 0x41d15f
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00425c83
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041d106
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x406df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4548d9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46ec3c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x30]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 1
call fcn.00401750
test eax, eax
jbe 0x406e89
xor ebp, ebp
mov eax, dword [edi + 4]
test eax, eax
je 0x406e64
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x406e69
call fcn.00439274
mov eax, dword [edi + 4]
lea ecx, [eax + ebp + 4]
push ecx
mov ecx, esi
call fcn.00406330
mov ecx, edi
add ebx, 1
add ebp, 0x14
call fcn.00401750
cmp ebx, eax
jb 0x406e43
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x406e96
call fcn.00439274
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x406ea3
call fcn.00439274
mov edx, ebx
sub edx, edi
sar edx, 2
push edx
push ebx
push edi
call fcn.004063c0
mov edi, dword [esi + 8]
add esp, 0xc
cmp dword [esi + 4], edi
jbe 0x406ec2
call fcn.00439274
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x406ecf
call fcn.00439274
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x406edc
call fcn.00439274
push ebx
push ebp
mov dword [esp + 0x20], ebx
call fcn.00403080
add esp, 8
test esi, esi
mov ebp, eax
je 0x406ef4
cmp esi, esi
je 0x406ef9
call fcn.00439274
cmp ebp, edi
je 0x406f43
mov ebx, dword [esi + 8]
mov eax, ebx
sub eax, edi
sar eax, 2
cmp edi, ebx
lea ecx, [ebp + eax*4]
mov dword [esp + 0x14], ecx
je 0x406f25
sub ebp, edi
push edi
lea ecx, [edi + ebp]
call fcn.00402bb0
add edi, 4
cmp edi, ebx
jne 0x406f15
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 8]
push edx
push esi
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.004031b0
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x407f90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x454a88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46ec3c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0041ff7e
lea edi, [esi + 0x54]
mov ecx, edi
mov dword [esp + 0x18], 0
mov dword [esi], vtable.CGridEditorComboBox.0
call fcn.0041ff7e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [edi], vtable.CGridEditorComboBoxEdit.0
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xb0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xb8], eax
mov byte [esi + 0xa8], 0
mov byte [esi + 0xa9], 0
mov dword [esi + 0xb4], edx
mov dword [esi + 0xbc], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14
Function at 0x40a3e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x454dd0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x46ec3c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x64]
mov eax, dword [eax - 0xc]
mov ecx, dword [esi + 0x60]
test eax, eax
mov eax, dword [ecx - 0xc]
lea edx, [esi + 0x68]
jne 0x40a48c
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x34]
push ecx
mov edi, eax
push edx
lea eax, [esp + 0x14]
push eax
call fcn.0040a310
lea ecx, [esi + 0x6c]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x38], 0
call fcn.0040a310
mov ecx, dword [esi + 0x70]
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
add esp, 0x18
push ecx
push 0
push 0
push eax
mov eax, dword [edx + 0x20]
push edi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a486
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
jmp 0x40a4fe
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x34]
push ecx
mov edi, eax
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0040a310
lea ecx, [esi + 0x6c]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x38], 1
call fcn.0040a310
mov edx, dword [esi + 0x70]
mov eax, dword [eax]
mov ecx, dword [esi + 0x64]
add esp, 0x18
push edx
push 0
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [eax + 0x20]
push edi
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a4fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x20], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a522
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0x10
Function at 0x40c550
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x454f20
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x46ec3c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
push 0x459d7c
lea ecx, [esp + 0x10]
call fcn.00403e30
mov esi, dword [esp + 0x44]
xor ebx, ebx
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00426814
mov eax, dword [esi]
mov edx, dword [eax + 0x138]
mov ecx, esi
mov byte [esp + 0x3c], 1
call edx
push eax
lea ecx, [esp + 0x24]
call fcn.00426b20
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
push 0x420
lea edx, [esp + 0x14]
push edx
push ecx
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x30]
call edx
mov esi, dword [esp + 0x1c]
sub esi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], bl
call fcn.00426868
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c61f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret 4

Function at 0x40cab0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
mov edi, ecx
call esi
test ax, ax
jge 0x40caca
pop edi
xor eax, eax
pop esi
ret 0x14
push 0x10
call esi
test ax, ax
jl 0x40cac3
mov eax, dword [edi]
mov edx, dword [eax + 0x18c]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push ebx
push ebp
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x40cb0b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
push ecx
push edx
push ebx
push ebp
push edi
mov ecx, esi
call eax
test al, al
je 0x40cb14
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret 0x14
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [esp + 0x20]
push ecx
push eax
push ebx
push ebp
push edi
mov ecx, esi
call edx
pop ebp
pop ebx
pop edi
pop esi
ret 0x14
Function at 0x40e530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x454f90
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x46ec3c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00426789
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0042623a
test esi, esi
mov dword [esp + 0x44], 0
jne 0x40e583
xor eax, eax
jmp 0x40e586
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call fcn.00426797
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CBitmap.0
mov eax, dword [esi + 4]
push 0x10
push 0x10
push eax
mov byte [esp + 0x50], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x10]
call fcn.00426a48
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
push ecx
push edx
call fcn.00426acd
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov edi, eax
call esi
push eax
push 0x10
push 0x10
push 0
push 0
lea ecx, [esp + 0x40]
call fcn.004285da
push 0x14
call esi
push eax
push 1
push 0
lea ecx, [esp + 0x28]
call fcn.00426bba
push 0x10
mov byte [esp + 0x48], 2
call esi
push eax
push 1
push 0
lea ecx, [esp + 0x20]
call fcn.00426bba
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 3
call fcn.00426b20
cmp byte [esp + 0x4c], 0
mov esi, eax
push 4
lea ecx, [esp + 0x28]
je 0x40e688
push 8
push ecx
lea ecx, [esp + 0x38]
call fcn.004264dc
push 0xb
push 0xc
lea ecx, [esp + 0x34]
call fcn.00426133
push 0xb
push 2
lea ecx, [esp + 0x34]
call fcn.00426133
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
call fcn.00426b20
push 0xb
push 3
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
call fcn.004264dc
push 3
push 8
jmp 0x40e6d2
push 0xb
push ecx
lea ecx, [esp + 0x38]
call fcn.004264dc
push 0xc
push 7
lea ecx, [esp + 0x34]
call fcn.00426133
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
call fcn.00426b20
push 0xc
push 6
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
call fcn.004264dc
push 4
push 3
lea ecx, [esp + 0x34]
call fcn.00426133
push 4
push 0xb
lea ecx, [esp + 0x34]
call fcn.00426133
push esi
lea ecx, [esp + 0x30]
call fcn.00426b20
test edi, edi
je 0x40e6ec
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x30]
push edi
push ecx
call fcn.00426acd
lea ecx, [esp + 0xc]
call fcn.00426a71
mov edi, vtable.CGdiObject.0
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x44], 2
mov dword [esp + 0x14], edi
call fcn.00426a9b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 1
mov dword [esp + 0x1c], edi
call fcn.00426a9b
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
mov dword [esp + 0xc], edi
call fcn.00426a9b
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xffffffff
call fcn.004267fb
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x3c
ret