joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d951
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x444664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x38]
mov esi, ecx
push eax
push esi
mov ebx, edx
call dword [0x447470]
test eax, eax
jne 0x41d993
mov eax, 0x200
jmp 0x41db17
mov ecx, dword [ebp - 0x38]
xor eax, eax
xor edi, edi
inc eax
mov dword [ebp - 0x40], ecx
and dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edi
je 0x41d9a9
mov dword [ebp - 0x3c], eax
test cl, 2
je 0x41d9b2
or dword [ebp - 0x3c], 2
test cl, 4
je 0x41d9bb
or dword [ebp - 0x3c], 4
mov eax, ecx
and eax, 0x10
je 0x41d9c6
or dword [ebp - 0x3c], 0x10
test cl, 0x20
je 0x41d9cf
or dword [ebp - 0x3c], 0x20
cmp eax, edi
je 0x41d9dc
or dword [ebp - 0x3c], 0x40000000
jmp 0x41d9e3
or dword [ebp - 0x3c], 0x80000000
or dword [ebp - 0x3c], 0x1000000
cmp dword [ebp - 0x40], edi
jne 0x41d9f6
or dword [ebp - 0x3c], 0x800000
push edi
push esi
call dword [0x447550]
mov dword [ebp - 0x48], eax
cmp eax, 0x28
jbe 0x41da9b
push edi
push edi
push edi
push esi
call dword [0x447390]
push edi
lea eax, [ebp - 0x44]
push eax
push 2
lea eax, [ebp - 0x40]
push eax
push esi
call dword [0x44749c]
push edi
push edi
push 0x24
push esi
call dword [0x447390]
push edi
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [0x44749c]
mov eax, 0x54ad
cmp word [ebp - 0x40], ax
jne 0x41da9b
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x48], ecx
jbe 0x41da9b
push edi
push edi
push eax
push esi
call dword [0x447390]
push edi
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [0x44749c]
mov eax, dword [ebp - 0x5c]
cmp eax, 0x5a4d
je 0x41da94
cmp eax, 0x454e
je 0x41da94
cmp eax, 0x454c
je 0x41da94
cmp eax, 0x4550
jne 0x41da9b
or dword [ebp - 0x3c], 0x400000
mov eax, dword [ebp - 0x58]
cmp eax, edi
je 0x41daa7
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
cmp eax, edi
je 0x41dab3
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
cmp ebx, edi
je 0x41daec
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0041d8c6
push dword [ebp - 0x20]
mov dword [ebx], eax
push dword [ebp - 0x24]
mov dword [ebx + 4], edx
call fcn.0041d8c6
push dword [ebp - 0x30]
mov dword [ebx + 8], eax
push dword [ebp - 0x34]
mov dword [ebx + 0xc], edx
call fcn.0041d8c6
add esp, 0x18
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov ebx, dword [ebp - 0x54]
cmp ebx, edi
je 0x41db15
push dword [ebp - 0x20]
lea edi, [ebp - 0x3c]
push dword [ebp - 0x24]
lea esi, [ebp - 0x40]
call fcn.0041d8ea
movzx eax, word [ebp - 0x40]
pop ecx
pop ecx
movzx ecx, word [ebp - 0x3c]
shl eax, 0x10
or eax, ecx
mov dword [ebx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f603
leave
ret
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x410433
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x41046b
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x410459
mov al, 1
jmp 0x4104bc
cmp dword [ebx + 0x54], ecx
jne 0x410462
mov al, 2
jmp 0x4104bc
cmp dword [ebx + 0x7c], ecx
jne 0x4104bc
mov al, 3
jmp 0x4104bc
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x410480
mov al, 4
jmp 0x4104bc
cmp ecx, 5
jne 0x4104a0
cmp ebx, 0
jne 0x41048e
mov al, 5
jmp 0x4104bc
cmp ebx, 1
jne 0x410497
mov al, 6
jmp 0x4104bc
cmp ebx, 2
jne 0x4104a0
mov al, 7
jmp 0x4104bc
cmp ecx, 6
jne 0x4104ac
cmp ebx, 0
jne 0x4104ae
mov al, 8
jmp 0x4104bc
cmp ebx, 1
jne 0x4104b5
mov al, 9
cmp ebx, 2
jne 0x4104bc
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100012be
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push 0
push 0
push 0
push 0x100074a5
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 4], esp
je 0x1000130e
push 0x19
push 0x40130d1
push 6
call fcn.1000e86c
add esp, 0xc
mov dword [0x1004c5f0], eax
mov dword [ebp - 4], esp
push dword [0x1004c5f0]
xor eax, eax
call dword [0x1004c608]
nop
nop
cmp dword [ebp - 4], esp
je 0x10001342
push 0x5f
push 0x40130d1
push 6
call fcn.1000e86c
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x100072df
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x10007475
mov dword [ebp - 4], 0x400
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x1004be47]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001e2b
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 8]
push 0x40
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10007378
push 0xba
push 0x40139b4
push 6
call fcn.1000e86c
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100073ae
push 0xf3
push 0x40139b4
push 6
call fcn.1000e86c
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10007449
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x1004be47]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001e2b
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x10007446
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.10007485
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + 8], eax
jne 0x1000743e
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10007434
push 0x1f4
push 0x40139b4
push 6
call fcn.1000e86c
add esp, 0xc
mov eax, 1
jmp 0x1000747f
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x100073e1
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10007475
push 0x24f
push 0x40139b4
push 6
call fcn.1000e86c
add esp, 0xc
mov eax, 0
jmp 0x1000747f
mov esp, ebp
pop ebp
ret 4

Function at 0x1000f540
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret

Function at 0x1000fa30
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000fa4e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000fa43
pop esi
ret
Function at 0x402f7a
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [0x63c50c]
call fcn.0040102b
mov eax, 0
cmp eax, ecx
jl 0x402fd1
push 0x85
push 0x401014b
push 1
call fcn.004600a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov ebx, dword [0x63c50c]
call fcn.0040102b
mov eax, 1
cmp eax, ecx
jl 0x40300c
push 0xac
push 0x401014b
push 1
call fcn.004600a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov ebx, dword [0x63c50c]
call fcn.0040102b
mov eax, 2
cmp eax, ecx
jl 0x403047
push 0xd3
push 0x401014b
push 1
call fcn.004600a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov ebx, dword [0x63c50c]
call fcn.0040102b
mov eax, 3
cmp eax, ecx
jl 0x403082
push 0xfa
push 0x401014b
push 1
call fcn.004600a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x40
pushal
xor edx, edx
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edi, [ecx + edx]
xor edi, dword [ebp - 4]
mov ebx, ecx
shl ebx, 4
add edi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, dword [ebp - 8]
sub edx, 0x61c88647
xor edi, ebx
add eax, edi
lea edi, [eax + edx]
xor edi, dword [ebp - 0xc]
mov ebx, eax
shl ebx, 4
add edi, ebx
mov ebx, eax
shr ebx, 5
add ebx, dword [ebp - 0x10]
dec esi
xor edi, ebx
add ecx, edi
test esi, esi
ja 0x4030a5
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [edx + 4], ecx
popal
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4426d0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [0x63c50c]
call fcn.0040102b
mov eax, 0
cmp eax, ecx
jl 0x44272e
push 0x85
push 0x401014c
push 1
call fcn.004600a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov ebx, dword [0x63c50c]
call fcn.0040102b
mov eax, 1
cmp eax, ecx
jl 0x442769
push 0xac
push 0x401014c
push 1
call fcn.004600a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov ebx, dword [0x63c50c]
call fcn.0040102b
mov eax, 2
cmp eax, ecx
jl 0x4427a4
push 0xd3
push 0x401014c
push 1
call fcn.004600a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov ebx, dword [0x63c50c]
call fcn.0040102b
mov eax, 3
cmp eax, ecx
jl 0x4427df
push 0xfa
push 0x401014c
push 1
call fcn.004600a6
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x40
mov dword [ebp - 0x18], 0x8dde6e40
pushal
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea edi, [ecx + edx]
xor edi, dword [ebp - 0xc]
mov ebx, ecx
shl ebx, 4
add edi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, dword [ebp - 0x10]
add edx, 0x61c88647
xor edi, ebx
sub eax, edi
lea edi, [eax + edx]
xor edi, dword [ebp - 4]
mov ebx, eax
shl ebx, 4
add edi, ebx
mov ebx, eax
shr ebx, 5
add ebx, dword [ebp - 8]
dec esi
xor edi, ebx
sub ecx, edi
test esi, esi
ja 0x44280a
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov dword [edx + 4], eax
popal
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46ea20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x533ecb
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.0052728b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x46eaa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005241c4
mov eax, dword [eax]
push 0x625d4c
push eax
call fcn.00516164
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00527516
test bl, bl
je 0x46eaa2
push 0x625d4c
lea ecx, [esp + 0xc]
call fcn.005278a6
push 0x625d58
lea ecx, [esp + 0xc]
call fcn.005278a6
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 0x46eade
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00527516
jmp 0x46eba9
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 0x46eb62
lea edx, [esp + 0x7c]
push 0x625d54
push edx
call fcn.00516164
add esp, 8
test eax, eax
je 0x46eb62
lea eax, [esp + 0x7c]
push 0x625d50
push eax
call fcn.00516164
add esp, 8
test eax, eax
je 0x46eb62
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 0x46eaf2
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.00527516
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 0x46f3d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x533f4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x63830c]
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 0x46f508
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x46f436
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00527516
xor eax, eax
jmp 0x46f57f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00527653
push esi
lea ecx, [esp + 0xc]
call fcn.005278e2
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x625d8c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x46f55d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x625d84
push accept
call fcn.00503bf0
test eax, eax
jne 0x46f55d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x625d70
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00503bf0
test eax, eax
jne 0x46f55d
lea eax, [esp + 0x14]
push 0x625d68
push eax
call fcn.005172b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x46f53c
lea ecx, [esp + 0x14]
push 0x625d64
push ecx
call fcn.00517230
mov esi, eax
add esp, 8
test esi, esi
jne 0x46f53c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x46f53f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00527603
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x46f44e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00527516
xor eax, eax
jmp 0x46f57f
mov byte [esi], 0
push 0x625d60
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.00527516
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 0x47654a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x534888
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.00528b2f
xor ebp, ebp
mov dword [esi], 0x607838
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], fcn.004e7160
call fcn.004645e0
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.005265e1
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.004645e0
mov dword [ebx], 0x607344
mov dword [edi], 0x607750
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x6069e0
lea ecx, [esi + 0xb0]
call fcn.004645e0
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], 0x60782c
mov byte [esp + 0x38], 5
mov dword [esi], 0x607758
mov dword [esi + 0xac], ebp
call fcn.00531c6f
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0052e35b
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 0x4766e0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x534915
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], 0x607758
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 4
call fcn.0052e3b2
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x606848
call fcn.004647e0
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 5
call fcn.0052e3b2
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x606848
call fcn.004647e0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.00526614
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x606848
call fcn.004647e0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0052fec2
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4872a0
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 0x48730e
cmp si, 0x69
ja 0x48730e
add esi, 0xffd0
cmp si, 0x11
je 0x4872de
push 0x11
call edi
test ax, ax
jge 0x4872de
or esi, 0x2000
cmp si, 0x10
je 0x4872f3
push 0x10
call edi
test ax, ax
jge 0x4872f3
or esi, 0x4000
cmp si, 0x12
je 0x487308
push 0x12
call edi
test ax, ax
jge 0x487308
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x48731b
mov esi, 0xbd
jmp 0x4872cf
cmp si, 0x6e
jne 0x487328
mov esi, 0xbe
jmp 0x4872cf
cmp si, 0x6f
jne 0x4872c9
mov esi, 0xbf
jmp 0x4872cf

Function at 0x488c20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x648cb0]
xor edx, edx
cmp eax, edx
jne 0x488c46
xor eax, eax
mov byte [eax + 0x648bb0], al
inc eax
cmp eax, 0x100
jl 0x488c2e
mov dword [0x648cb0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x648bb0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x488cd7
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 0x488caa
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 0x488c78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x488d50
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 0x488da3
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 0x488d8a
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