joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026850
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1001b7ed
and dword [ebp - 4], 0
cmp dword [0x1004d7fc], 0
mov ebx, eax
jne 0x10026901
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100269b2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002efa4
push edi
call esi
test eax, eax
je 0x100269b2
push eax
call fcn.1001b77b
mov dword [esp], 0x1002ef94
push edi
mov dword [0x1004d7fc], eax
call esi
push eax
call fcn.1001b77b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1004d800], eax
call esi
push eax
call fcn.1001b77b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1004d804], eax
call esi
push eax
call fcn.1001b77b
pop ecx
mov dword [0x1004d80c], eax
test eax, eax
je 0x10026901
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001b77b
pop ecx
mov dword [0x1004d808], eax
mov eax, dword [0x1004d808]
cmp eax, ebx
je 0x10026959
cmp dword [0x1004d80c], ebx
je 0x10026959
push eax
call fcn.1001b7f6
push dword [0x1004d80c]
mov esi, eax
call fcn.1001b7f6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10026959
test edi, edi
je 0x10026959
call esi
test eax, eax
je 0x10026950
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10026950
test byte [ebp - 0xc], 1
jne 0x10026959
or dword [ebp + 0x10], 0x200000
jmp 0x10026992
mov eax, dword [0x1004d800]
cmp eax, ebx
je 0x10026992
push eax
call fcn.1001b7f6
pop ecx
test eax, eax
je 0x10026992
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10026992
mov eax, dword [0x1004d804]
cmp eax, ebx
je 0x10026992
push eax
call fcn.1001b7f6
pop ecx
test eax, eax
je 0x10026992
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1004d7fc]
call fcn.1001b7f6
pop ecx
test eax, eax
je 0x100269b2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100269b4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a6c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
jmp 0x41a6da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41a6e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41a6d0
mov eax, 1
add ebx, ebx
jne 0x41a6f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41a6e8
jne 0x41a704
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a6e8
xor ecx, ecx
sub eax, 3
jb 0x41a718
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41a78a
mov ebp, eax
add ebx, ebx
jne 0x41a723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41a730
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41a754
inc ecx
add ebx, ebx
jne 0x41a740
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41a735
jne 0x41a751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a735
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41a774
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41a765
jmp 0x41a6d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41a774
add edi, ecx
jmp 0x41a6d6
pop esi
mov edi, esi
mov ecx, 0x3aa
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41a792
cmp byte [edi], 1
jne 0x41a792
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41a797
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41a80f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a08c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41a7c4
mov ecx, edi
jns 0x41a7f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a094]
or eax, eax
je 0x41a809
mov dword [ebx], eax
add ebx, 4
jmp 0x41a7e1
call dword [esi + 0x1a090]
mov ebp, dword [esi + 0x1a098]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41a843
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x5a83e1
Capabilities:
Check for trap flag exception

Disassembly:
cld
push 0x358f390
mov word [esp + 4], 0x9c8d
rep movsb byte es:[edi], byte [esi]
xadd si, di
jmp 0x5a8f22
jmp 0x5a7846
xchg dword [esp + 0x2c], edi
mov dword [esp], ebp
movzx di, al
movzx di, bl
cld
mov edi, eax
cld
pushfd
jmp 0x5a7fe9
movsx si, cl
bts di, 8
mov edi, dword [esp + 0x34]
cmc
mov esi, dword [esp + 0x38]
cmc
test bl, 0xb3
cmp bp, 0xd85c
push dword [esp + 0x3c]
popfd
mov dword [esp + 0xc], esi
pushfd
pushfd
lea esp, [esp + 0x48]
jmp 0x5a85cf
Function at 0x42def0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471e68
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.004287f0
test eax, eax
je 0x42dff8
lea ecx, [esp + 0xc]
call fcn.004022c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.004287f0
mov ecx, eax
call fcn.00425fb0
test eax, eax
je 0x42dfdf
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x42dfdf
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42dfdf
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004024c0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x42dfc1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42dfdf
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4a4e58]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x476418
call fcn.004024c0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x430d50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4720f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x430d89
inc eax
mov dword [esi + 0x10], eax
jmp 0x430e9c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x430d9d
mov eax, 0xffffffc7
jmp 0x430e9e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x430dae
cmp dword [esi + 8], eax
jne 0x430d9d
cmp dword [esi + 8], eax
jne 0x430dc7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x430dc7
mov eax, 0xffffffc7
jmp 0x430e9e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x430ddb
push eax
mov ecx, ebx
call fcn.00430580
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004022c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x430e0c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004022e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042fcf0
test eax, eax
mov dword [esp + 0x38], eax
je 0x430e3f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x476418
call fcn.004024c0
mov eax, dword [esp + 0x38]
jmp 0x430e9e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00430bb0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x430e83
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00430bd0
mov esi, eax
test esi, esi
jne 0x430eb3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00430bb0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x430e55
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x476418
call fcn.004024c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x476418
call fcn.004024c0
mov eax, esi
jmp 0x430e9e

Function at 0x433fd0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x434030
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x434030
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x434030
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x434030
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x434070
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4286a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x4286b0
pop dword [ebp - 0x40]
mov eax, 0x102e0331
sub eax, 0xfeb7c81
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x55013
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0xc3f06467
add ecx, 0x3c0ff750
xor ebx, ebx
add ebx, eax
mov esi, 0xc09afe70
sub esi, 0xc0528070
add esi, dword [ebp - 0x40]
mov edx, 0xd14c68b6
sub edx, 0x68329aed
xor dword [ebp - 0x3c], 0xe31eab72
mov edi, dword [esi]
mov dword [ebp - 0xc], 0xa0b21da1
xor edi, edx
xor dword [ebp - 0x18], 0x3ebced63
mov dword [ebx], edi
sub dword [ebp - 0x38], edx
add ebx, 4
add esi, 0xf905a3f4
add esi, 0x6fa5c10
loop 0x42870c
add eax, 0x161af
xor ebx, ebx
add ebx, eax
add eax, 0xcf602f5a
add eax, 0x309fd0ab
mov ecx, 0xc6512ca5
sub ecx, 0xc6112ca5
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x40b430
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d85b
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.00461a59
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b4b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045f970
mov eax, dword [eax]
push 0x4df1f0
push eax
call fcn.004525a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00461ce4
test bl, bl
je 0x40b4b2
push 0x4df1f0
lea ecx, [esp + 0xc]
call fcn.00462074
push 0x4e2d80
lea ecx, [esp + 0xc]
call fcn.00462074
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 0x40b4ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00461ce4
jmp 0x40b5b9
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 0x40b572
lea edx, [esp + 0x7c]
push 0x4e2d7c
push edx
call fcn.004525a4
add esp, 8
test eax, eax
je 0x40b572
lea eax, [esp + 0x7c]
push 0x4e2d78
push eax
call fcn.004525a4
add esp, 8
test eax, eax
je 0x40b572
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 0x40b502
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.00461ce4
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 0x40bdd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40be32
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40be40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d8db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e92d0]
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 0x40bf78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40bea6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461ce4
xor eax, eax
jmp 0x40bfef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00461e21
push esi
lea ecx, [esp + 0xc]
call fcn.004620b0
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4e2db8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40bfcd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040bdd0
test eax, eax
jne 0x40bfcd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040bdd0
test eax, eax
jne 0x40bfcd
lea eax, [esp + 0x14]
push 0x4e2d94
push eax
call fcn.004535e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bfac
lea ecx, [esp + 0x14]
push 0x4e2d90
push ecx
call fcn.00453560
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bfac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40bfaf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00461dd1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40bebe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461ce4
xor eax, eax
jmp 0x40bfef
mov byte [esi], 0
push 0x4e2d8c
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.00461ce4
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 0x411b0a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46e038
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.00463293
xor ebp, ebp
mov dword [esi], 0x4d0408
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], 0x4cf9e0
call fcn.00401be0
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.00460dc6
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00401be0
mov dword [ebx], 0x4ce1a4
mov dword [edi], 0x4d032c
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x4cfb60
lea ecx, [esi + 0xb0]
call fcn.00401be0
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x4d0334
mov dword [esi + 0xac], ebp
call fcn.0046b93e
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0046892b
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 0x411cc0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46e0c5
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], 0x4d0334
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.00468982
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x4ce1a0
call fcn.00401de0
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.00468982
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x4ce1a0
call fcn.00401de0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.00460df9
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x4ce1a0
call fcn.00401de0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00469d7e
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x422980
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 0x4229ee
cmp si, 0x69
ja 0x4229ee
add esi, 0xffd0
cmp si, 0x11
je 0x4229be
push 0x11
call edi
test ax, ax
jge 0x4229be
or esi, 0x2000
cmp si, 0x10
je 0x4229d3
push 0x10
call edi
test ax, ax
jge 0x4229d3
or esi, 0x4000
cmp si, 0x12
je 0x4229e8
push 0x12
call edi
test ax, ax
jge 0x4229e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4229fb
mov esi, 0xbd
jmp 0x4229af
cmp si, 0x6e
jne 0x422a08
mov esi, 0xbe
jmp 0x4229af
cmp si, 0x6f
jne 0x4229a9
mov esi, 0xbf
jmp 0x4229af

Function at 0x4240a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f9950]
xor edx, edx
cmp eax, edx
jne 0x4240c6
xor eax, eax
mov byte [eax + 0x4f9850], al
inc eax
cmp eax, 0x100
jl 0x4240ae
mov dword [0x4f9950], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4f9850
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424157
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 0x42412a
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 0x4240f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4241d0
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 0x424223
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 0x42420a
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