joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1022f810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x1174]
mov ebx, dword [ecx + 0x1178]
add ebx, eax
mov eax, dword [ecx + 0x116c]
mov ecx, ebx
sub ecx, eax
cmp ecx, 0x40000001
jb 0x1022f851
push dword [ebp + 8]
call fcn.1026fb00
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [esp + 0xc]
test eax, eax
mov ecx, 0x40000000
mov edi, 0xaf000000
cmove edi, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0x365f776f
mov dword [esp + 0x50], 0x775f7369
lea eax, [esp + 0x50]
push eax
call sym.EmbeddedBrowserWebView.dll_public_virtual:_void___thiscall_telemetry_client::IDataFieldVisitor::destructor_void_
add esp, 4
cmp ebx, edi
jbe 0x1022f8b1
push ebx
call fcn.1026fb30
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0x657a69
mov dword [esp + 0x40], 0x735f6176
lea eax, [esp + 0x40]
push eax
call sym.EmbeddedBrowserWebView.dll_public_virtual:_void___thiscall_telemetry_client::IDataFieldVisitor::destructor_void_
add esp, 4
mov eax, dword [esi + 0x117c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0x20200063
mov dword [esp + 0x30], 0x6f6c6c61
lea eax, [esp + 0x30]
push eax
call sym.EmbeddedBrowserWebView.dll_public_virtual:_void___thiscall_telemetry_client::IDataFieldVisitor::destructor_void_
add esp, 4
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
mov eax, dword [esi + 0x116c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x20007469
mov dword [esp + 0x20], 0x6d6d6f63
lea eax, [esp + 0x20]
push eax
call sym.EmbeddedBrowserWebView.dll_public_virtual:_void___thiscall_telemetry_client::IDataFieldVisitor::destructor_void_
add esp, 4
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0x20202000
mov dword [esp + 0x10], 0x657a6973
lea eax, [esp + 0x10]
push eax
call sym.EmbeddedBrowserWebView.dll_public_virtual:_void___thiscall_telemetry_client::IDataFieldVisitor::destructor_void_
add esp, 4
mov ecx, dword [0x103d9eb4]
test ecx, ecx
je 0x1022f984
call dword [section..00cfg]
push esi
call ecx
add esp, 4
push esi
call fcn.10268f80
int3
Function at 0x10235b3c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 8], esp
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esi + 0x78], eax
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x10]
movdqu xmmword [ebx + 0xc], xmm0
movdqa xmmword [ebx], xmm0
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
push eax
sub esp, 0x1c
mov edi, esp
lea ecx, [edi + 0xc]
push edx
push eax
call fcn.1008cfc8
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.1008cfc8
movzx eax, word [ebp + 0x1c]
mov word [edi + 0x18], ax
mov dword [edi + 0x1c], 0
mov ecx, ebx
call fcn.102350ea
mov esp, dword [esi + 8]
mov ecx, ebx
call fcn.10235480
test al, al
je 0x10235c98
mov dword [esi + 8], esp
sub esp, 0x1c
mov ecx, esp
mov eax, dword [esi + 0x18]
mov dword [ecx + 8], eax
movsd xmm0, qword [esi + 0x10]
movsd qword [ecx], xmm0
xor edi, edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x14], eax
movsd xmm0, qword [esi + 0x1c]
movsd qword [ecx + 0xc], xmm0
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
movzx eax, word [esi + 0x28]
mov word [ecx + 0x18], ax
mov edx, eax
mov word [esi + 0xe], ax
mov eax, dword [ecx + 8]
lea ebx, [esi + 0x38]
mov dword [ebx + 8], eax
movsd xmm0, qword [ecx]
movsd qword [ebx], xmm0
mov dword [ecx + 8], edi
mov dword [ecx + 4], edi
mov dword [ecx], edi
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
movsd xmm0, qword [ecx + 0xc]
movsd qword [ebx + 0xc], xmm0
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0xc], edi
mov word [ebx + 0x18], dx
mov byte [ebx + 0x20], 0
call fcn.1016ce2e
mov esp, dword [esi + 8]
mov ecx, dword [ebp + 8]
mov byte [ecx], 1
mov eax, dword [ebx + 8]
mov dword [ecx + 0x10], eax
movsd xmm0, qword [ebx]
movsd qword [ecx + 8], xmm0
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
mov dword [ebx], edi
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x1c], eax
movq xmm0, qword [ebx + 0xc]
movq qword [ecx + 0x14], xmm0
movzx eax, word [esi + 0xe]
mov word [ecx + 0x20], ax
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0xc], edi
mov dword [ecx + 0x38], edi
mov dword [ecx + 0x3c], edi
mov edi, ecx
pxor xmm0, xmm0
movdqu xmmword [ecx + 0x28], xmm0
mov ecx, ebx
call fcn.1016ce2e
jmp 0x10235cb6
mov edi, dword [ebp + 8]
mov byte [edi], 0
pxor xmm0, xmm0
movdqu xmmword [edi + 8], xmm0
movdqu xmmword [edi + 0x18], xmm0
movdqu xmmword [edi + 0x28], xmm0
movdqu xmmword [edi + 0x38], xmm0
lea ecx, [esi + 0x10]
call fcn.1016ce2e
mov ecx, dword [esi + 0x78]
xor ecx, ebp
call fcn.102f4c53
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10235cd2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0xc], esp
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esi + 0x78], eax
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x10]
movdqu xmmword [ebx + 0xc], xmm0
movdqa xmmword [ebx], xmm0
mov eax, dword [ebp + 0x14]
push eax
sub esp, 0x1c
mov edi, esp
lea ecx, [edi + 0xc]
push dword [ebp + 0x18]
push eax
call fcn.1008cfc8
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.1008cfc8
movzx eax, word [ebp + 0x1c]
mov word [edi + 0x18], ax
mov dword [edi + 0x1c], 0
mov ecx, ebx
call fcn.102350ea
mov esp, dword [esi + 0xc]
mov ecx, ebx
call fcn.10235480
test al, al
je 0x10235e10
mov dword [esi + 0xc], esp
mov eax, dword [ebp + 0x20]
sub esp, 0x20
mov ecx, esp
mov edx, dword [esi + 0x18]
mov dword [ecx + 0xc], edx
movsd xmm0, qword [esi + 0x10]
movsd qword [ecx + 4], xmm0
xor edi, edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov edx, dword [esi + 0x24]
mov dword [ecx + 0x18], edx
movsd xmm0, qword [esi + 0x1c]
movsd qword [ecx + 0x10], xmm0
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
movzx edx, word [esi + 0x28]
mov word [ecx + 0x1c], dx
mov dword [ecx], eax
lea ebx, [esi + 0x38]
mov ecx, ebx
call fcn.10235e64
mov esp, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
mov byte [ecx], 1
mov eax, dword [ebx + 8]
mov dword [ecx + 0x10], eax
movsd xmm0, qword [ebx]
movsd qword [ecx + 8], xmm0
mov dword [ebx + 8], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x1c], eax
movq xmm0, qword [ebx + 0xc]
movq qword [ecx + 0x14], xmm0
mov dword [ebx + 0x14], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
movzx eax, word [ebx + 0x18]
mov word [ecx + 0x20], ax
pxor xmm0, xmm0
movdqu xmmword [ecx + 0x28], xmm0
mov dword [ecx + 0x38], edi
mov dword [ecx + 0x3c], edi
mov edi, ecx
cmp byte [ebx + 0x20], 0
je 0x10235e06
movups xmm1, xmmword [esi + 0x60]
movups xmmword [edi + 0x30], xmm1
movdqu xmmword [esi + 0x60], xmm0
mov byte [edi + 0x28], 1
lea ecx, [esi + 0x38]
call fcn.1016ce2e
jmp 0x10235e34
cmp dword [ebp + 0x10], 0
je 0x10235e50
mov edi, dword [ebp + 8]
mov byte [edi], 0
pxor xmm0, xmm0
movdqu xmmword [edi + 8], xmm0
movdqu xmmword [edi + 0x18], xmm0
movdqu xmmword [edi + 0x28], xmm0
movdqu xmmword [edi + 0x38], xmm0
lea ecx, [esi + 0x10]
call fcn.1016ce2e
mov ecx, dword [esi + 0x78]
xor ecx, ebp
call fcn.102f4c53
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebp + 0x18], 0
jne 0x10235e16
cmp word [ebp + 0x1c], 0
je 0x10235d4a
jmp 0x10235e16
Function at 0x10239867
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x216]
push 0x206
push 0xff
push eax
call fcn.102f7d80
add esp, 0xc
mov edi, 0xfffffff4
lea ebx, [ebp - 0x218]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [edi + str.PROGRAMFILES]
mov word [ebp - 0x218], 0
push 0x104
push ebx
push eax
call esi
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x102398db
push dword [ebp + 8]
push eax
push ebx
call fcn.10239805
add esp, 0xc
test al, al
jne 0x102398e4
add edi, 4
jne 0x102398a7
xor ebx, ebx
jmp 0x102398e6
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10239c9d
Capabilities:
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x218
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x216]
push 0x206
push 0xff
push esi
call fcn.102f7d80
add esp, 0xc
mov word [esi - 2], 0
lea edi, [ebp - 0x218]
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
dec eax
lea esi, [ebp - 0x224]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push edi
call fcn.100f7978
mov ecx, esi
push 0xa
push str.usp10.dll
call fcn.101e1140
cmp byte [eax + 0xb], 0
jns 0x10239d13
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp byte [ebp - 0x219], 0
jns 0x10239d33
push dword [ebp - 0x224]
call fcn.102f3c66
add esp, 4
cmp esi, 0xffffffff
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1024ee64
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.101f35a0

Function at 0x102508a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x218
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.102f7d80
add esp, 0xc
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10250994
push edi
call fcn.1030fc76
add esp, 4
lea esi, [ebp - 0x224]
mov ecx, esi
push eax
push edi
call fcn.101e0f1a
mov ecx, esi
push 1
push 0x103565aa
call fcn.101e1140
mov ecx, esi
push 0xb
push str.dbghelp.dll
call fcn.101e1140
cmp byte [ebp - 0x219], 0
jns 0x1025093e
mov esi, dword [ebp - 0x224]
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x10250994
mov esi, eax
push str.ImageNtHeader
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1025099e
mov edi, eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
and ebx, 0xffffff00
mov ecx, edi
call dword [section..00cfg]
push ebx
call edi
test eax, eax
je 0x102509a8
mov ecx, dword [eax + 0x58]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor edi, edi
jmp 0x102509ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x102509b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x102509ad
mov edi, 6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x219], 0
jns 0x102509cb
push dword [ebp - 0x224]
call fcn.102f3c66
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, edi
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x102551f6
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, 0x9f
jle 0x10255220
lea eax, [esi - 0xf3]
cmp eax, 4
jb 0x10255260
lea eax, [esi - 0xa0]
cmp eax, 2
jb 0x10255260
jmp 0x10255236
lea eax, [esi - 0x7f]
cmp eax, 2
jb 0x10255260
cmp esi, 0x10
je 0x10255260
cmp esi, 0x1b
jne 0x10255236
mov bl, 1
jmp 0x10255260
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov bl, 1
test ax, ax
js 0x10255260
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x10255260
push 2
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
sete bl
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x1026afc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
mov eax, dword [ecx]
jne 0x1026afec
test eax, eax
jne 0x1026afec
xor eax, eax
cmp dword [esi + 0xc], 0
jne 0x1026afec
xor eax, eax
cmp dword [esi + 4], 0
mov edx, 0
je 0x1026b043
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x1026b00b
call fcn.10221d90
push dword [esi]
call fcn.101ee6e0
add esp, 4
mov dword [esi], 0
xor eax, eax
mov ecx, dword [esi + 4]
lea edx, [ecx + 1]
cmp edx, 2
jb 0x1026b031
call fcn.10221d90
push dword [esi + 4]
call fcn.101ee6e0
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi]
xor ecx, ecx
mov edx, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, ecx
mov ebx, dword [edi]
cmp edx, ebx
je 0x1026b08a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x1026b06e
call fcn.10221d90
push dword [esi]
call fcn.101ee6e0
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x1026b07d
mov dword [esi], ebx
call fcn.10221d90
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp eax, ebx
je 0x1026b0d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jb 0x1026b0b9
call fcn.10221d90
push dword [esi + 4]
call fcn.101ee6e0
add esp, 4
mov dword [esi + 4], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x1026b0c9
mov dword [esi + 4], ebx
call fcn.10221d90
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x1026e3c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, ecx
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov edi, esp
push 0x1b
push str....._base_filesmemory_mapped_file_win.cc
push str.MapImageToMemory
push edi
call fcn.10221d60
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push edi
call fcn.10209420
mov ecx, esi
call fcn.101f8e40
test al, al
je 0x1026e497
mov ecx, esi
call fcn.100e8820
sub esp, 0x18
movdqa xmm0, xmmword [0x1039e880]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
cmp dword [esi + 0x24], eax
je 0x1026e48f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jb 0x1026e475
call fcn.10221d90
push dword [esi + 0x24]
call fcn.101ee6e0
add esp, 4
mov dword [esi + 0x24], 0
mov eax, edi
inc eax
cmp eax, 2
jb 0x1026e485
mov dword [esi + 0x24], edi
call fcn.10221d90
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x24]
lea eax, [edi + 1]
cmp eax, 2
jae 0x1026e4b9
xor ebx, ebx
lea ecx, [esp + 0x10]
call fcn.102094a0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.102f4c53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
sub esp, 0x14
movdqa xmm0, xmmword [0x10355be0]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov eax, dword [esi + 0x1c]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x103d0020]
bt edx, ecx
jae 0x1026e4f7
push eax
call fcn.10090faa
add esp, 4
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x103d0020]
bt ecx, eax
jae 0x1026e518
push edi
call fcn.10090eb8
add esp, 4
jmp 0x1026e524
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x103d8020], 1
mov dword [esi + 0x1c], edi
test edi, edi
je 0x1026e497
mov dword [esp], fcn.100b6d50
mov dword [esp + 4], edi
mov ecx, esp
call fcn.10270c4c
mov eax, dword [eax + 0x50]
mov dword [esi + 0x20], eax
mov bl, 1
jmp 0x1026e499
Function at 0x1026f1d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
lea edi, [ecx + 0xc]
lea eax, [ecx + 0x10]
push 0x228
push 0
push eax
call fcn.102f7d80
add esp, 0xc
mov dword [esi + 0xc], 0x22c
cmp byte [esi + 8], 0
je 0x1026f205
push edi
push dword [esi + 4]
call sub.KERNEL32.dll_Process32NextW
jmp 0x1026f212
mov byte [esi + 8], 1
push edi
push dword [esi + 4]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
setne al
pop esi
pop edi
pop ebp
ret

Function at 0x10271860
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x103d9ef8]
mov ecx, dword [0x103c75a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1027188b
mov ecx, 0x103d9ef0
pop ebp
jmp fcn.10207c20
push 0x103d9ef8
call fcn.102f3cd7
add esp, 4
cmp dword [0x103d9ef8], 0xffffffff
jne 0x10271880
mov dword [0x103d9ef4], 0
mov dword [0x103d9ef0], 0
mov ecx, 0x103d9ef0
push 0
call fcn.10207c90
push 0x103d9ef8
call fcn.102f3d4d
add esp, 4
jmp 0x10271880
Function at 0x1027c2d0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x14], ecx
lea ecx, [eax + ecx]
lea edx, [esi + ebx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
mov dword [ebp - 0x20], ebx
jb 0x1027c33d
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1027c310
cmp edx, 1
jne 0x1027c346
jmp 0x1027c362
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x1027c362
cmp edx, 2
je 0x1027c359
cmp edx, 3
jne 0x1027c36d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 4]
xor ecx, ecx
test ebx, ebx
je 0x1027c4ce
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x1027c3d6
lea edx, [ebx - 1]
and edx, edi
jmp 0x1027c3e2
mov edx, edi
cmp edi, ebx
jb 0x1027c3e2
mov eax, edi
xor edx, edx
div ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1027c4ce
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
test ebx, ebx
je 0x1027c4ce
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x14]
cmovns eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x1027c435
and eax, dword [ebp - 0x1c]
cmp eax, edx
jne 0x1027c4cc
mov ebx, dword [ebx]
test ebx, ebx
je 0x1027c4cc
mov eax, dword [ebx + 4]
cmp edi, eax
jne 0x1027c490
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x1027c449
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x1027c42b
lea ecx, [ebx + 8]
test al, al
jns 0x1027c457
mov ecx, dword [ecx]
js 0x1027c4ae
cmp dword [ebp - 0x14], 0
je 0x1027c4c8
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [ebx + ecx + 8]
cmp dl, byte [esi + ecx]
jne 0x1027c42b
inc ecx
cmp eax, ecx
jne 0x1027c470
jmp 0x1027c4c8
cmp dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x10]
jbe 0x1027c420
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x1027c423
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x10]
jmp 0x1027c423
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1027c4c8
push eax
push esi
push ecx
call fcn.102f617d
add esp, 0xc
test eax, eax
jne 0x1027c42b
mov ecx, ebx
jmp 0x1027c4ce
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x10281ccc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x10281cf9
mov edx, dword [ebp + 0xc]
xor esi, esi
movzx edi, al
movzx ebx, byte [edx + esi]
xor ebx, edi
shr eax, 8
xor eax, dword [ebx*4 + 0x1039f348]
inc esi
cmp ecx, esi
jne 0x10281ce1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10285be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
je 0x10285cad
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x10285cad
mov eax, ecx
and eax, 3
cmp ecx, 4
jb 0x10285c33
mov esi, ecx
shr esi, 2
inc esi
nop dword [eax]
movzx edi, word [edx]
add edi, ecx
movzx ecx, word [edx + 2]
shl ecx, 0xb
xor ecx, edi
shl edi, 0x10
xor edi, ecx
add edx, 4
mov ecx, edi
shr ecx, 0xb
add ecx, edi
dec esi
cmp esi, 1
ja 0x10285c10
cmp eax, 1
je 0x10285c5c
cmp eax, 2
je 0x10285c6e
cmp eax, 3
jne 0x10285c81
movzx eax, word [edx]
add ecx, eax
movsx eax, byte [edx + 2]
shl eax, 0x12
xor eax, ecx
shl ecx, 0x10
xor ecx, eax
mov eax, ecx
shr eax, 0xb
jmp 0x10285c7f
movsx eax, byte [edx]
add ecx, eax
mov eax, ecx
shl eax, 0xa
xor eax, ecx
mov ecx, eax
shr ecx, 1
jmp 0x10285c7f
movzx eax, word [edx]
add ecx, eax
mov eax, ecx
shl eax, 0xb
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add ecx, eax
lea eax, [ecx*8]
xor eax, ecx
mov ecx, eax
shr ecx, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add ecx, eax
mov edx, ecx
shl edx, 0x19
xor edx, ecx
mov eax, edx
shr eax, 6
add eax, edx
pop esi
pop edi
pop ebp
ret
Function at 0x10286470
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x10286481
test eax, eax
jne 0x102864d1
test eax, eax
jne 0x10286497
mov ecx, dword [0x103d9fa4]
test ecx, ecx
je 0x10286497
call dword [section..00cfg]
call ecx
cmp dword [0x103d9f9c], 0
je 0x102864d1
mov esi, dword [0x103d9fa0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x102864d7
test esi, esi
je 0x102864d1
mov ecx, dword [0x103d9f9c]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
pop esi
pop edi
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x102864bf
jmp 0x102864d1