joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x401443
pop dword [ebp - 8]
mov eax, 0x401443
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x3a8d508c
sub dword [ebp - 0x18], 0xec3b0b41
mov dword [ebp - 0x14], 0xaca5f103
sub dword [ebp - 0x14], 0x7a72a4be
mov dword [ebp - 0x10], 0xa02bf3be
add dword [ebp - 0x10], 0xac205070
mov dword [ebp - 0xc], 0x85592a8c
sub dword [ebp - 0xc], 0x85592a8c
lea eax, [ebp - 0x18]
push eax
mov eax, 0x14665d8b
sub eax, 0x1425dc87
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x4b8fdd38
add dword [ebp - 0x18], 0x28e28c1e
mov dword [ebp - 0x14], 0x142c0392
sub dword [ebp - 0x14], 0xd2bfa21d
mov dword [ebp - 0x10], 0xd62e2cad
sub dword [ebp - 0x10], 0x72bec041
mov dword [ebp - 0xc], 0x7cf11f7e
add dword [ebp - 0xc], 0x830ee082
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x2aad1aea
sub eax, 0x2a6c99ea
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x37d8a
push 0
call eax
mov ecx, 0xc3ee4063
sub ecx, 0xc3edfa2a
xor esi, esi
add esi, eax
mov edi, 0xce99dadc
add edi, 0x31ad0924
add edi, dword [ebp - 8]
mov ebx, 0x191d4e1f
sub ebx, 0x9ab7e684
add dword [ebp - 4], 0x6332e920
mov edx, dword [edi]
mov dword [ebp - 4], 0xe1fc94ac
xor edx, ebx
xor dword [ebp - 4], 0x9c8d3976
mov dword [esi], edx
xor dword [ebp - 4], 0x54ec6ea
add esi, 0x679de8c4
sub esi, 0x679de8c0
add edi, 0xcb6e8d3b
add edi, 0x349172c9
loop 0x401562
add eax, 0xf1506a14
add eax, 0xeb0a1a3
mov ebx, eax
add eax, 0x6d751bd5
sub eax, 0x6d751bd0
mov ecx, 0xfa94d3a1
add ecx, 0x5ab2c5f
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x100022b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 4]
mov esi, dword [esi + 8]
je 0x100022e8
test esi, esi
je 0x1000232c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000232c
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x298], 1
jmp 0x1000230b
test esi, esi
je 0x1000232c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000232c
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x298], 0
cmp dword [0x100a169c], 0
je 0x1000232c
push 0x1330684
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [0x100a169c], 0
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x10006900
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
call fcn.10003c60
test eax, eax
je 0x10006a7e
mov ecx, ebx
call fcn.10009a40
lea edi, [ebx + 0x40]
push edi
call dword [sym.imp.USER32.dll_GetKeyboardState]
movsx ecx, byte [edi + 0x10]
sar ecx, 0x1f
and ecx, 0x10000
mov edx, ecx
or edx, 0x20000
test byte [edi + 0x14], 1
cmove edx, ecx
mov eax, edx
or eax, 0x40000
cmp byte [edi + 0x11], 0
cmovge eax, edx
mov ecx, eax
or ecx, 0x80000
cmp byte [edi + 0x12], 0
cmovge ecx, eax
mov eax, ecx
or eax, 0x40000000
test esi, esi
cmovns eax, ecx
mov ecx, dword [ebp + 8]
mov edx, eax
mov dword [ebp - 4], edx
cmp ecx, 0x14
jne 0x1000698c
mov dword [ebp - 4], edx
test esi, esi
js 0x1000698c
xor edx, 0x20000
mov dword [ebp - 4], edx
push esi
call fcn.10006460
add esp, 4
test eax, eax
je 0x1000699e
movzx eax, ax
jmp 0x100069e4
push 0
push 0
push 8
push 0x100a1928
push 0x100a1828
push dword [ebp + 0xc]
mov esi, edi
mov ecx, 0x40
push dword [ebp + 8]
mov edi, 0x100a1828
rep movsd dword es:[edi], dword [esi]
mov word [0x100a1839], 0
call dword [sym.imp.USER32.dll_ToUnicodeEx]
cmp eax, 1
jne 0x10006a75
movzx eax, word [0x100a1928]
mov edx, dword [ebp - 4]
or edx, eax
mov eax, dword [ebx + 0x174]
mov eax, dword [eax + 8]
test eax, eax
je 0x10006a33
mov eax, dword [eax + 8]
test eax, eax
je 0x10006a02
mov al, byte [eax + 0x1e8]
jmp 0x10006a04
xor al, al
test al, al
je 0x10006a33
movzx eax, dx
cmp eax, 0xff52
jne 0x10006a20
and edx, 0xffffff54
or edx, 0xff54
jmp 0x10006a33
cmp eax, 0xff54
jne 0x10006a33
and edx, 0xffffff52
or edx, 0xff52
mov ecx, dword [ebx + 0x188]
cmp dword [ecx + 0x38], 0xffffffff
je 0x10006a65
cmp dword [ecx], 0
je 0x10006a65
push dword [ecx]
push edx
push 0x8004
call fcn.1000a790
neg eax
sbb ecx, ecx
mov eax, dword [ebp + 0x10]
neg ecx
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10008020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b780
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x1009c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x26c]
push eax
push dword [0x100a1698]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x270], 0
lea eax, [ebp - 0x270]
mov dword [ebp - 4], 0
push eax
push 0x1008b3d8
push 0x17
push 0
push 0x10081610
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100081ec
mov esi, dword [ebp - 0x270]
lea eax, [ebp - 0x278]
push eax
push 0x20019
xor edi, edi
mov dword [ebp - 0x284], esi
push edi
push str.SYSTEMCurrentControlSetControlKeyboard_Layouts
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10008190
mov esi, 0xe0200804
nop
cmp esi, 0xe0ff0804
ja 0x1000818a
push esi
push str._08X
lea eax, [ebp - 0x24]
push 9
push eax
call fcn.10007fa0
add esp, 0x10
lea eax, [ebp - 0x274]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10008174
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x27c], 0x40
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x280]
push eax
push 0
push str.Ime_File
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10008174
cmp dword [ebp - 0x280], 1
jne 0x10008174
lea eax, [ebp - 0x64]
push str.weasel.ime
push eax
call fcn.10062463
add esp, 8
test eax, eax
cmove edi, esi
push dword [ebp - 0x274]
call ebx
add esi, 0x10000
test edi, edi
je 0x100080e0
mov esi, dword [ebp - 0x284]
push dword [ebp - 0x278]
call ebx
push 0
mov eax, dword [esi]
lea ecx, [ebp - 0x26c]
push 1
push 0
push edi
push 0
push dword [ebp - 0x288]
push ecx
push 3
push 0x1008b3bc
push 0x1008afb8
push 0x804
push 0x1008afc8
push esi
call dword [eax + 0x20]
test eax, eax
js 0x100081ec
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x100081e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
jmp 0x10008205
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x10008203
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004df9a
mov esp, ebp
pop ebp
ret
Function at 0x10008290
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x1009c040]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], 0x100
lea ecx, [esp + 0xc]
mov eax, edx
push ecx
push eax
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x100082e5
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1004df9a
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x18]
push eax
xor esi, esi
lea eax, [esp + 0x14]
push esi
push esi
push esi
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x10008350
nop word [eax + eax]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
mov byte [esp + 0x11f], 0
call fcn.10008290
mov esi, eax
test esi, esi
jne 0x10008350
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x10008310
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000836b
push dword [esp + 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov ecx, dword [esp + 0x124]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004df9a
mov esp, ebp
pop ebp
ret
Function at 0x10009db0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1009c040]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov esi, ecx
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], esi
mov dword [esp + 0xc], esi
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [esp + 8]
test eax, eax
je 0x10009e25
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1004e5be
add esp, 4
mov edi, eax
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp dword [esp + 8], 0
ja 0x10009e5a
push edi
call fcn.1004e5c7
add esp, 4
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
push 0x1008adf4
mov dword [esi + 0x14], 0
call fcn.10003620
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1004df9a
mov esp, ebp
pop ebp
ret
mov ecx, edi
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009e77
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x18]
call fcn.10003620
push edi
call fcn.1004e5c7
mov ecx, dword [esp + 0x40]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
add esp, 4
mov dword [esi + 0x10], 0
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 0x14], 0
mov eax, esi
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [esp + 0x1c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.1004df9a
mov esp, ebp
pop ebp
ret

Function at 0x1000a790
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bb60
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1009c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea esi, [ecx + 0x20]
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
call fcn.10019680
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
push dword [esi + 0x18]
call fcn.1000ab70
mov ebx, dword [esi + 0x18]
lea eax, [ebp + 8]
push 0
push eax
push 4
lea eax, [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000a83a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1000a871
push dword [esi + 0x20]
push 0
push dword [esi + 0x24]
call fcn.10054380
add esp, 0xc
lea eax, [ebp + 8]
push 0
push eax
push dword [esi + 0x20]
push dword [esi + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000a882
mov eax, dword [ebp + 0xc]
mov byte [esi + 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 0x10097c1c
push eax
call fcn.10053d6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x10097c1c
push eax
call fcn.10053d6b
int3
Function at 0x1000ab70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bbb0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1009c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x1c]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edi
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
cmp byte [edi], 0
je 0x1000abc7
mov eax, dword [esi + 0x20]
jmp 0x1000abcc
mov eax, 0xc
push 0
lea edx, [ebp - 0x18]
mov dword [ebp + 0xc], eax
push edx
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000ac68
cmp dword [ebp - 0x18], 0
jbe 0x1000ac68
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x1000ac29
mov ecx, dword [esi + 0x28]
mov byte [edi], 0
test ecx, ecx
je 0x1000ac54
mov dword [esi + 0x28], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x28], 0
test ecx, ecx
je 0x1000ac54
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 0x10097c1c
push eax
call fcn.10053d6b
int3
Function at 0x1000c910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bf38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1009c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.1000e3a0
push 8
call fcn.1004dfd9
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.1003818f
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 3
push eax
call fcn.1000d3c0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx eax, ax
mov ecx, esi
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov eax, dword [esi]
call dword [eax + 8]
test eax, eax
je 0x1000ca31
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov eax, dword [ebp + 8]
mov word [edi + 0x40], ax
jne 0x1000ca4e
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.1000e3a0
mov eax, dword [ebx + 0x10]
lea edx, [ebx + 0x10]
mov dword [ebp + 8], edx
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000cb10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bf60
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1009c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 4]
mov dword [ecx], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
lea ebx, [ecx + 0x24]
mov dword [ebp - 0x14], eax
lea edi, [ecx + 0x28]
mov dword [eax], 0
push 8
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.1004dfd9
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1003818f
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
mov dword [eax + 0x34], esi
lea esi, [eax + 4]
mov dword [eax + 0xc], esi
mov esi, eax
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001e420
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1009c040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push 0
mov dword [ebp - 0x30], esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1001e531
test edi, edi
je 0x1001e50e
test ebx, ebx
je 0x1001e50e
push ebx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1001e50e
mov ecx, dword [ebx]
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
sub esi, ecx
mov ebx, dword [ebx + 0xc]
push edi
mov dword [ebp - 0x28], ecx
sub ebx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push esi
push dword [ebp - 0x1c]
mov edi, eax
mov dword [ebp - 0x2c], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call esi
push 0xcc0020
push ebx
mov edi, eax
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push ebx
mov ebx, dword [ebp - 0x2c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
push edi
push ebx
call esi
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call ebx
mov edi, dword [ebp - 0x1c]
jmp 0x1001e516
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
xor esi, esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call ebx
mov esi, dword [ebp - 0x30]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004df9a
mov esp, ebp
pop ebp
ret 4
Function at 0x10028260
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10028291
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10028280
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x10028670
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x100286a1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10028690
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x10031350
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x1003137b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10031364
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x1004df51
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.10066ece
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x1004df90
sub eax, 1
je 0x1004df8b
sub eax, 1
je 0x1004df87
xor eax, eax
leave
ret
push 3
jmp 0x1004df92
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x10050e80
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008017a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1009c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x44
mov dword [ebp - 4], 0
mov dword [ebx], vtable.boost::archive::detail::basic_iarchive.0
call fcn.1004dfd9
mov edi, eax
mov dword [ebp - 0x14], edi
push edi
mov byte [ebp - 4], 1
call fcn.100529d0
mov ecx, dword [ebp + 8]
mov dword [edi + 4], ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
lea esi, [edi + 0x24]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
push 0x18
mov byte [ebp - 4], 2
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1004dfd9
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, ebx
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [ebx + 0x10], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4