joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100567b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push esi
lea eax, [ebp - 8]
push eax
call fcn.10003bb0
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x1005680e
add eax, 0xc
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.100a3f39
int3

Function at 0x1005f480
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x10118fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x80
push 3
push 0
push 1
push 1
push str.RIO.INI
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005f53b
mov ecx, dword [0x10c93da8]
mov edx, ecx
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1005f4d0
sub edx, esi
sar edx, 1
cmp edx, 3
jbe 0x1005f599
lea esi, [ebp - 0x24c]
sub esi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x1005f4f0
push 0
push 0x80
push 3
push 0
push 1
push 1
lea eax, [ebp - 0x24c]
mov dword [ebp + edx*2 - 0x250], 0x69006e
mov ecx, 0x69
push eax
mov word [ebp + edx*2 - 0x252], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1005f599
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.100bcd20
add esp, 0xc
lea eax, [ebp - 0x254]
push 0
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x44]
mov byte [ebp - 5], 0
push 0x100f6800
push eax
call fcn.100bda10
add esp, 8
test eax, eax
je 0x1005f599
lea ecx, [ebp - 0x250]
add eax, 3
push ecx
push 0x100f6804
push eax
call fcn.10060330
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x250]
xor ecx, ebp
pop esi
call fcn.100bb862
mov esp, ebp
pop ebp
ret

Function at 0x10062c70
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x1505
push ebx
push esi
xor esi, esi
mov bl, byte [eax]
push edi
lea edi, [eax + 1]
test bl, bl
je 0x10062cb1
nop dword [eax]
mov eax, ecx
lea edi, [edi + 1]
mov edx, esi
shld esi, ecx, 5
shl ecx, 5
add ecx, eax
movzx eax, bl
mov bl, byte [edi - 1]
adc esi, edx
cdq
add ecx, eax
adc esi, edx
test bl, bl
jne 0x10062c90
pop edi
mov edx, esi
mov eax, ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x10077d00
Capabilities:
Link many functions at runtime

Disassembly:
jmp fcn.10092930
mov ecx, dword [ecx + 4]
jmp 0x10024160
Function at 0x1007ba70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e6175
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10118fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.10003bb0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1007bb03
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [edi + 8], 0x7ffffff
je 0x1007bc71
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100bb50a
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0x100f1b28
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f17a0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100f17a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1007bc13
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100cc840
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100bb8c0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1007bbf5
cmp ebx, 0x200
jae 0x1007bbf3
shl ebx, 3
cmp ebx, ecx
jae 0x1007bbf5
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.100097d0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10003bb0
mov edx, dword [eax]
jmp 0x1007bc16
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x1007bc41
mov dword [ecx + eax*8], esi
jmp 0x1007bc50
cmp edi, edx
jne 0x1007bc4a
mov dword [ecx + eax*8], esi
jmp 0x1007bc54
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1007bc54
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.100a3f19
int3
Function at 0x1007cca0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10118fc0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1011ec65], 0
push esi
je 0x1007cd26
mov eax, dword [0x1011eb94]
xor edx, edx
mov esi, dword [ebp + 8]
add eax, 0x8d0
nop dword [eax]
cmp byte [eax - 0x18], 0
je 0x1007cd1d
movups xmm1, xmmword [esi]
movups xmm0, xmmword [esi + 0x10]
movd ecx, xmm1
movups xmmword [ebp - 0x24], xmm1
movups xmmword [ebp - 0x14], xmm0
cmp dword [eax - 0x10], ecx
jne 0x1007cd1d
mov ecx, dword [eax - 8]
cmp ecx, dword [ebp - 0x1c]
jne 0x1007cd1d
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x18]
jne 0x1007cd1d
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x14]
jne 0x1007cd1d
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x10]
jne 0x1007cd1d
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0xc]
jne 0x1007cd1d
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 8]
je 0x1007cd37
inc edx
add eax, 0x28
cmp edx, 0x20
jb 0x1007ccd0
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bb862
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test al, 0xf0
jne 0x1007cd55
push 0x10
call esi
test al, 0xf0
je 0x1007cd63
push 0xd
call esi
test al, 0xf0
jne 0x1007cd63
mov eax, dword [0x1011eb94]
cmp byte [eax + 0x8b0], 0
jne 0x1007cd26
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100bb862
mov esp, ebp
pop ebp
ret

Function at 0x1007ce00
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10c941d0]
push esi
mov esi, dword [0x10c941cc]
mov dword [ebp - 8], eax
push edi
cmp esi, eax
je 0x1007ceab
nop dword [eax]
mov edx, dword [esi]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 4], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10c941dc
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10003bb0
mov edi, dword [ebp - 0xc]
test edi, edi
je 0x1007ceb4
movups xmm0, xmmword [edi + 0xc]
mov edi, dword [edi + 0x1c]
push edi
movups xmmword [ebp - 0x30], xmm0
call fcn.100853a0
test eax, eax
jne 0x1007cea3
push edi
call fcn.10085470
add esi, 4
cmp esi, dword [ebp - 8]
jne 0x1007ce30
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.invalid_unordered_map_K__T__key
call fcn.100a3f39
int3
Function at 0x1007d3d0
Capabilities:
Hash data using djb2
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x10118fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x10]
add eax, eax
cmp dword [edi + 0x14], 7
jbe 0x1007d3f6
mov edi, dword [edi]
xor ebx, ebx
mov esi, 0x1505
test eax, eax
je 0x1007d42d
dec eax
lea edi, [edi + 1]
mov dword [ebp - 0x410], eax
mov ecx, ebx
mov eax, esi
shld ebx, esi, 5
shl esi, 5
add esi, eax
movzx eax, byte [edi - 1]
cdq
adc ebx, ecx
add esi, eax
mov eax, dword [ebp - 0x410]
adc ebx, edx
test eax, eax
jne 0x1007d401
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push esi
push eax
lea eax, [ebp - 0x3ec]
push str.LUNA_NOTIFY._d._llu
push eax
call fcn.100246a0
add esp, 0x14
lea eax, [ebp - 0x3ec]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x410], eax
test ebx, ebx
je 0x1007d4fe
mov edi, dword [ebp + 0xc]
cmp byte [0x1011ec65], 0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
je 0x1007d4fe
mov eax, dword [0x1011eb94]
xor edx, edx
add eax, 0x8d0
nop dword [eax]
cmp byte [eax - 0x18], 0
je 0x1007d4f5
movups xmm1, xmmword [edi]
movups xmm0, xmmword [edi + 0x10]
movd ecx, xmm1
movups xmmword [ebp - 0x40c], xmm1
movups xmmword [ebp - 0x3fc], xmm0
cmp dword [eax - 0x10], ecx
jne 0x1007d4f5
mov ecx, dword [eax - 8]
cmp ecx, dword [ebp - 0x404]
jne 0x1007d4f5
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x400]
jne 0x1007d4f5
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3fc]
jne 0x1007d4f5
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x3f8]
jne 0x1007d4f5
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x3f4]
jne 0x1007d4f5
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x3f0]
je 0x1007d51f
inc edx
add eax, 0x28
cmp edx, 0x20
jb 0x1007d490
xor bl, bl
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bb862
mov esp, ebp
pop ebp
ret
push 0x11
call esi
test al, 0xf0
jne 0x1007d537
push 0x10
call esi
test al, 0xf0
je 0x1007d545
push 0xd
call esi
test al, 0xf0
jne 0x1007d545
mov eax, dword [0x1011eb94]
cmp byte [eax + 0x8b0], 0
jne 0x1007d4fe
cmp ebx, 0x64
mov eax, 0x64
mov esi, ebx
cmova esi, eax
push esi
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1007d56c
sub ebx, esi
je 0x1007d4fe
jmp 0x1007d471
mov bl, 1
jmp 0x1007d500
Function at 0x10080460
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x10118bd4
call fcn.100a3f9f
add esp, 4
test eax, eax
jne 0x10080594
cmp dword [0x10118c00], 0x7fffffff
je 0x1008059b
mov eax, dword [0x10c94284]
push ebx
push esi
push edi
test eax, eax
je 0x1008057c
mov eax, dword [eax]
xor edx, edx
xor esi, esi
test eax, eax
je 0x1008057c
mov edi, dword [ebp + 8]
nop word [eax + eax]
mov ecx, edi
sub ecx, dword [eax + 8]
cmp ecx, edx
ja 0x100804c1
mov esi, eax
test edx, edx
je 0x100804c8
mov edx, ecx
mov eax, dword [eax + 4]
test eax, eax
jne 0x100804b0
test esi, esi
je 0x1008057c
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push dword [esi + 8]
call ebx
test eax, eax
je 0x100804fd
mov ecx, dword [esi + 8]
mov al, byte [esi + 0x44]
mov byte [ecx], al
lea eax, [ebp - 4]
push eax
push dword [esi + 0x48]
push 4
push dword [esi + 8]
call ebx
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov ecx, dword [0x10c94284]
mov edx, dword [ecx]
mov esi, edx
test esi, esi
je 0x10080578
cmp dword [esi + 8], edi
je 0x10080524
mov esi, dword [esi + 4]
test esi, esi
jne 0x10080514
mov bl, 1
jmp 0x1008057e
cmp dword [ecx + 4], esi
jne 0x1008052e
mov eax, dword [esi]
mov dword [ecx + 4], eax
cmp edx, esi
jne 0x10080537
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x10080543
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1008054e
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 0x34]
lea edi, [esi + 0x10]
test ecx, ecx
je 0x1008056d
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
push 0x50
push esi
call fcn.100bb53a
add esp, 8
mov bl, 1
jmp 0x1008057e
xor bl, bl
push 0x10118bd4
call fcn.100a3fb0
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.100a42d9
push 6
mov dword [0x10118c00], 0x7ffffffe
call fcn.100a42d9
int3

Function at 0x100805b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100805e6
mov ecx, dword [esi + 8]
mov al, byte [esi + 0x44]
mov byte [ecx], al
lea eax, [ebp + 8]
push eax
push dword [esi + 0x48]
push 4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebp
ret
Function at 0x10083090
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb653
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10118fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
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
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x1008318a
test dl, 0x10
jne 0x1008318a
mov al, 1
jmp 0x1008318c
xor al, al
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [ecx + 4]
mov edx, ebx
mov esi, dword [esi + 0x18]
sar edx, 3
cmp esi, edx
jae 0x100831b0
lea eax, [esi*8]
mov dword [ecx + 4], eax
jmp 0x100831e3
jbe 0x100831e3
mov eax, dword [ecx + 8]
sar eax, 3
cmp esi, eax
jbe 0x100831c8
lea eax, [ebp + 0x17]
push eax
push esi
call fcn.1000dbb0
jmp 0x100831e3
sub esi, edx
je 0x100831e0
shl esi, 3
push esi
push 0
push ebx
call fcn.100bcd20
add esp, 0xc
lea ecx, [edi + 0x40]
add ebx, esi
mov dword [ecx + 4], ebx
mov eax, 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 0x1c
Function at 0x10084d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
push edi
add esi, dword [0x10c95a10]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp + 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10084db8
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10084ddd
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10084dfe
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10084dfe
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10084df8
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10084dfe
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10084ee0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10118fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push ebx
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1008509a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10084ff5
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x10084fb9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10084fb9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10084fb9
mov edx, dword [esi]
test edx, edx
jne 0x10084f85
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10c94290]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10084fdd
jmp 0x10084fad
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10084fad
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10c94290]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10084fdd
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10084f40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10084ff5
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10084ff5
push eax
push ebx
push dword [0x10c94290]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1008509a
cmp dword [esi], 0
je 0x10085087
cmp dword [esi + 8], 0
mov dword [ebp - 0x28], 0
jbe 0x10085087
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], edx
nop
mov eax, dword [esi]
push dword [eax + edx]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x10085062
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10085057
push dword [ebp + 0x10]
mov ebx, 1
push dword [ebp + 0xc]
push edi
call fcn.10085710
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x1008506e
mov eax, dword [esi]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + eax], 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
inc ecx
add dword [ebp - 0x24], 4
add edx, 4
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
cmp ecx, dword [esi + 8]
jb 0x10085020
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bb862
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 9
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bb862
mov esp, ebp
pop ebp
ret
Function at 0x10085880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
call fcn.10084e50
cmp dword [0x10c94290], 0
je 0x10085922
mov edx, dword [ebp + 8]
push esi
push edi
test edx, edx
jne 0x100858e0
xor esi, esi
cmp dword [0x10c95a18], esi
jbe 0x100858d1
push ebx
mov bl, byte [ebp + 0xc]
shl bl, 2
xor edi, edi
mov edx, dword [0x10c95a10]
lea edi, [edi + 0x2c]
inc esi
mov cl, byte [edx + edi - 0x18]
xor cl, bl
and cl, 4
xor byte [edx + edi - 0x18], cl
cmp esi, dword [0x10c95a18]
jb 0x100858b1
pop ebx
xor eax, eax
pop edi
pop esi
xor ecx, ecx
mov edx, 0x10c9428c
xchg dword [edx], ecx
pop ebp
ret
mov esi, dword [0x10c95a18]
xor eax, eax
test esi, esi
je 0x10085900
mov edi, dword [0x10c95a10]
mov ecx, edi
cmp edx, dword [ecx]
je 0x10085907
inc eax
add ecx, 0x2c
cmp eax, esi
jb 0x100858f4
mov eax, 4
jmp 0x100858d3
cmp eax, 0xffffffff
je 0x10085900
mov cl, byte [ebp + 0xc]
imul edx, eax, 0x2c
shl cl, 2
xor cl, byte [edx + edi + 0x14]
and cl, 4
xor byte [edx + edi + 0x14], cl
jmp 0x100858d1
mov eax, 2
jmp 0x100858d5

Function at 0x10085930
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x10085999
push ebx
xor ebx, ebx
cmp dword [edi + 8], ebx
jbe 0x10085988
xor ecx, ecx
mov dword [ebp + 8], ecx
push esi
nop word [eax + eax]
mov eax, dword [edi]
mov eax, dword [ecx + eax]
test eax, eax
je 0x1008597b
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10085978
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
inc ebx
add ecx, 4
mov dword [ebp + 8], ecx
cmp ebx, dword [edi + 8]
jb 0x10085950
pop esi
push dword [edi]
push 0
push dword [0x10c94290]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
pop ebp
ret

Function at 0x100859a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10c95a0c]
test eax, eax
je 0x100859bc
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10085a0b
mov eax, dword [eax]
test eax, eax
jne 0x100859b0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10085a19
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x100859e5
mov ecx, dword [0x10c95a0c]
pop edi
mov dword [eax], ecx
pop esi
mov dword [0x10c95a0c], eax
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
xor eax, eax
ret
Function at 0x1008f7c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push esi
lea eax, [ebp - 8]
push eax
call fcn.10003bb0
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x1008f81e
add eax, 0x10
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.100a3f39
int3