joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005ff80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5aed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100dad00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.100a207f
mov edi, eax
add esp, 4
test edi, edi
je 0x1006001d
push 1
mov dword [ebp - 4], 0
call fcn.1008b506
add esp, 4
mov dword [edi + 4], eax
jmp 0x1006001f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.100138e0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
movzx ebx, ax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1006007b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x1006007b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x10060098
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x100600bb
cmp byte [ebp + 0xc], 0
je 0x100600a7
push esi
call fcn.1008fc0f
add esp, 4
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
test cl, 4
je 0x100600c7
mov esi, str.ios_base::badbit_set
jmp 0x100600d7
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.10060610
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.1005b670
push 0x100d61ac
lea eax, [ebp - 0x28]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x100742b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b65b5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100dad00]
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.10005ec0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10074343
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 0x100744b1
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100a207f
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0x100bf32c
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 + 0x100befb0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100befb0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10074453
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call sub.msvcrt.dll_ceil
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100a21e0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10074435
cmp ebx, 0x200
jae 0x10074433
shl ebx, 3
cmp ebx, ecx
jae 0x10074435
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10007020
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10005ec0
mov edx, dword [eax]
jmp 0x10074456
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 0x10074481
mov dword [ecx + eax*8], esi
jmp 0x10074490
cmp edi, edx
jne 0x1007448a
mov dword [ecx + eax*8], esi
jmp 0x10074494
cmp dword [ecx + eax*8 + 4], ebx
jne 0x10074494
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.1008aa7b
int3
Function at 0x10075730
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x100ded09], 0
push esi
je 0x10075796
mov eax, dword [0x100ded04]
xor esi, esi
mov edx, dword [ebp + 8]
add eax, 0xa0
nop dword [eax]
mov ecx, dword [eax - 0xa0]
or ecx, dword [eax - 0x9c]
je 0x1007578d
mov ecx, dword [eax - 0x50]
cmp ecx, dword [edx + 8]
jne 0x1007578d
mov ecx, dword [eax - 0x4c]
cmp ecx, dword [edx + 0xc]
jne 0x1007578d
mov ecx, dword [eax]
cmp ecx, dword [edx + 0x10]
jne 0x1007578d
mov ecx, dword [eax + 4]
cmp ecx, dword [edx + 0x14]
jne 0x1007578d
mov ecx, dword [eax + 0x50]
cmp ecx, dword [edx + 0x18]
jne 0x1007578d
mov ecx, dword [eax + 0x54]
cmp ecx, dword [edx + 0x1c]
je 0x1007579b
inc esi
add eax, 8
cmp esi, 0xa
jl 0x10075750
xor al, al
pop esi
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test al, 0xf0
jne 0x10075796
push 0x10
call esi
test al, 0xf0
je 0x100757b9
push 0xd
call esi
test al, 0xf0
je 0x10075796
mov al, 1
pop esi
pop ebp
ret

Function at 0x10075830
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
push esi
push edi
call fcn.10089570
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10089a50
mov esi, dword [0x10c545d4]
mov edi, dword [0x10c545d8]
cmp esi, edi
je 0x100758ef
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, 0x10c545e4
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10005ec0
mov eax, dword [ebp - 8]
test eax, eax
je 0x100758fd
movups xmm1, xmmword [eax + 0xc]
movaps xmm0, xmm1
psrldq xmm1, 4
psrldq xmm0, 8
movd eax, xmm0
push eax
movd eax, xmm1
push eax
call fcn.10089280
add esi, 4
cmp esi, edi
jne 0x10075870
call fcn.100895d0
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.1008aa9b
int3
Function at 0x10075e40
Capabilities:
Hash data using djb2
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f0
mov eax, dword [0x100dad00]
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 0x10075e66
mov edi, dword [edi]
xor ebx, ebx
mov esi, 0x1505
test eax, eax
je 0x10075e9d
dec eax
lea edi, [edi + 1]
mov dword [ebp - 0x3f0], 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 - 0x3f0]
adc ebx, edx
test eax, eax
jne 0x10075e71
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.100766b0
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 - 0x3f0], eax
test ebx, ebx
je 0x10075f46
mov esi, dword [ebp + 0xc]
cmp byte [0x100ded09], 0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
je 0x10075f46
mov eax, dword [0x100ded04]
xor edx, edx
add eax, 0xa0
nop dword [eax + eax]
mov ecx, dword [eax - 0xa0]
or ecx, dword [eax - 0x9c]
je 0x10075f3d
mov ecx, dword [eax - 0x50]
cmp ecx, dword [esi + 8]
jne 0x10075f3d
mov ecx, dword [eax - 0x4c]
cmp ecx, dword [esi + 0xc]
jne 0x10075f3d
mov ecx, dword [eax]
cmp ecx, dword [esi + 0x10]
jne 0x10075f3d
mov ecx, dword [eax + 4]
cmp ecx, dword [esi + 0x14]
jne 0x10075f3d
mov ecx, dword [eax + 0x50]
cmp ecx, dword [esi + 0x18]
jne 0x10075f3d
mov ecx, dword [eax + 0x54]
cmp ecx, dword [esi + 0x1c]
je 0x10075f67
inc edx
add eax, 8
cmp edx, 0xa
jl 0x10075f00
xor bl, bl
push dword [ebp - 0x3f0]
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.100a20bd
mov esp, ebp
pop ebp
ret
push 0x11
call edi
test al, 0xf0
jne 0x10075f46
push 0x10
call edi
test al, 0xf0
je 0x10075f7f
push 0xd
call edi
test al, 0xf0
je 0x10075f46
cmp ebx, 0x64
mov eax, 0x64
mov edi, ebx
cmova edi, eax
push edi
push dword [ebp - 0x3f0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10075fa6
sub ebx, edi
je 0x10075f46
jmp 0x10075edd
mov bl, 1
jmp 0x10075f48
Function at 0x1007bac0
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 [0x132d53f0]
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 0x1007bb08
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1007bb2d
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 0x1007bb4e
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1007bb4e
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1007bb48
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1007bb4e
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 0x1007bc30
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100dad00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
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 0x1007bd28
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1007bd21
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1007bd08
call ebx
cmp dword [ebp - 0x14], eax
jne 0x1007bd08
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1007bd08
mov edx, dword [esi]
test edx, edx
jne 0x1007bcd1
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10c54690]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1007bd21
jmp 0x1007bcfc
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1007bcfc
shl eax, 3
push eax
push edx
push 0
push dword [0x10c54690]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1007bd21
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
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 0x1007bc90
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1007bd6c
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1007bd6c
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1007bd66
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.1007c3c0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x1007bd34
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a20bd
mov esp, ebp
pop ebp
ret
Function at 0x1007c530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
call fcn.1007bba0
cmp dword [0x10c54690], 0
je 0x1007c5d2
mov edx, dword [ebp + 8]
push esi
push edi
test edx, edx
jne 0x1007c590
xor esi, esi
cmp dword [0x132d53f8], esi
jbe 0x1007c581
push ebx
mov bl, byte [ebp + 0xc]
shl bl, 2
xor edi, edi
mov edx, dword [0x132d53f0]
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 [0x132d53f8]
jb 0x1007c561
pop ebx
xor eax, eax
pop edi
pop esi
xor ecx, ecx
mov edx, 0x10c5468c
xchg dword [edx], ecx
pop ebp
ret
mov esi, dword [0x132d53f8]
xor eax, eax
test esi, esi
je 0x1007c5b0
mov edi, dword [0x132d53f0]
mov ecx, edi
cmp edx, dword [ecx]
je 0x1007c5b7
inc eax
add ecx, 0x2c
cmp eax, esi
jb 0x1007c5a4
mov eax, 4
jmp 0x1007c583
cmp eax, 0xffffffff
je 0x1007c5b0
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 0x1007c581
mov eax, 2
jmp 0x1007c585

Function at 0x1007c5e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x1007c630
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1007c61f
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1007c618
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x1007c5f5
pop ebx
push dword [edi]
push 0
push dword [0x10c54690]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret

Function at 0x1007c640
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x132d53e0]
test eax, eax
je 0x1007c65c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1007c6b2
mov eax, dword [eax]
test eax, eax
jne 0x1007c650
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1007c6af
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 0x1007c685
mov ecx, dword [0x132d53e0]
mov dword [eax], ecx
mov dword [0x132d53e0], eax
pop edi
pop esi
test eax, eax
jne 0x1007c6b2
xor eax, eax
ret
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x10080450
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7005
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x100dad00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
add eax, 4
mov dword [ebp - 0x20], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.100a207f
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
add esp, 4
lea edi, [eax + 8]
mov edx, dword [esi]
mov ecx, edx
movups xmmword [edi], xmm0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x10], 0
lea eax, [ecx + 2]
mov dword [edi + 0x14], 0
mov dword [ebp + 0xc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100804c4
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10013310
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
movups xmm0, xmmword [esi + 4]
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [esi + 0x14]
movq qword [edi + 0x28], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
cmp dword [edi + 0x14], 7
mov edx, dword [edi + 0x10]
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], edi
jbe 0x10080530
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
xor ecx, ecx
mov esi, 0x811c9dc5
add edx, edx
je 0x10080554
mov edi, dword [ebp + 0xc]
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10080540
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.100800a0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100805a1
cmp dword [ebp - 0x1c], 0
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov byte [esi + 4], 0
je 0x1008058c
mov ecx, edi
call fcn.10080e30
push 0x38
push dword [ebp - 0x1c]
call fcn.100a20af
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
cmp eax, 0x4924924
je 0x10080634
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100befb0]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100befb0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x10080609
call fcn.100820c0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.100800a0
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
jmp 0x1008060c
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edx
push esi
call fcn.10014440
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1008aa7b
int3
Function at 0x10083cb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10c5500c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c54b84]
cmp eax, dword [ecx + 4]
jg 0x10083cf9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10c546d0
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x10083cf4
add esi, 4
cmp esi, 0x10c54b80
jne 0x10083ce0
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10c54b84
call fcn.100a2178
add esp, 4
cmp dword [0x10c54b84], 0xffffffff
jne 0x10083ccf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x100ded20
push 0x4b0
push 0x10c546d0
push eax
call sub.PSAPI.DLL_EnumProcessModules
push 0x10c54b84
mov dword [0x10c54b80], eax
call fcn.100a2127
add esp, 4
jmp 0x10083ccf

Function at 0x10083d40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10083d80
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10083d80
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10083d80
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x10083d82
add eax, 4
cmp eax, ecx
jb 0x10083d75
xor eax, eax
pop ebp
ret

Function at 0x10083d90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10083de7
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10083de7
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x10083dc9
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x10083dc0
mov ecx, dword [ebp + 0xc]
add edx, dword [eax + 0xc]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
and ecx, 0xfffff000
add ecx, 0x1000
add ecx, edx
mov dword [eax], ecx
xor eax, eax
pop ebp
ret
Function at 0x100840b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b74e6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x100dad00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x68], esi
jbe 0x10084196
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10084139
add esi, dword [ebp - 0x70]
jmp 0x10084189
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, dword [ebp + 0x18]
jb 0x10084187
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp + 0x14]
jb 0x10084187
test eax, 0x100
jne 0x10084187
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp edi, dword [ebp - 0x10]
je 0x1008416e
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x10084184
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.100837a0
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
add esi, ecx
cmp esi, dword [ebp - 0x68]
jb 0x10084110
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
jmp 0x10084198
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x30]
mov edx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x10084237
mov ecx, dword [edx]
mov esi, dword [ebp + 0x18]
cmp ecx, esi
mov edx, dword [edx + 4]
cmova esi, ecx
cmp esi, dword [ebp + 0x1c]
jae 0x10084227
lea eax, [edx + ecx]
mov dword [ebp - 0x24], eax
nop word [eax + eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push eax
push 0
push esi
call fcn.10083fb0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x10084224
mov eax, dword [edi + 4]
mov ecx, esi
inc esi
mov dword [ebp - 0x20], ecx
cmp eax, dword [edi + 8]
je 0x10084210
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x1008421c
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.10007480
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 0x1c]
jb 0x100841e0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
cmp edx, eax
jne 0x100841c2
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x10084267
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1008425d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008427a
push ecx
push esi
call fcn.100a20af
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100a35a0
int3