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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x41b630
push 0x412436
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x41d008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, 0x41ec44
call fcn.00412f13
mov dword [ebp - 0x28], 0
xor edi, edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x2c], edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [esi]
mov esi, dword [eax + 0x28]
mov dword [ebp - 0x40], esi
test esi, esi
jne 0x40e145
xor eax, eax
jmp 0x40e2bb
mov dword [ebp - 4], ebx
push 0x417c1c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e286
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x40e286
push str.AllocateAndInitializeSid
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e286
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x40e286
push str.GetLengthSid
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e286
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x40e286
push str.InitializeAcl
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e286
push 2
push dword [ebp - 0x30]
push edi
call eax
test eax, eax
je 0x40e286
push str.AddAccessAllowedAce
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e286
push dword [ebp - 0x28]
push 0x10000000
push 2
push edi
call eax
test eax, eax
je 0x40e286
push 0x417c60
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40e286
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40e26f
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x40e25c
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x40e26c
jmp 0x40e286
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push edi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0040e2e2
test ebx, ebx
jne 0x40e2b9
test edi, edi
je 0x40e2ab
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor edi, edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40e2b9
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00411cf3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10008080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x10084280]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0xe75edce8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
sub eax, 0xcbad4fb4
je 0x10008223
jmp 0x100080bc
mov eax, dword [ebp - 0x28]
sub eax, 0xe75edce8
je 0x1000810d
jmp 0x100080cf
mov eax, dword [ebp - 0x28]
sub eax, 0x26181ade
je 0x10008153
jmp 0x100080e2
mov eax, dword [ebp - 0x28]
sub eax, 0x42de9c99
je 0x100081d6
jmp 0x100080f5
mov eax, dword [ebp - 0x28]
sub eax, 0x7249a280
je 0x100081ca
jmp 0x10008108
jmp 0x10008230
mov eax, dword [0x10085784]
mov ecx, dword [0x10085780]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xcbad4fb4
mov ecx, 0x26181ade
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x10008230
mov eax, dword [ebp - 0x24]
push eax
mov ecx, esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [0x10085784]
mov eax, dword [0x10085780]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0xcbad4fb4
mov ecx, 0x7249a280
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x10008230
mov dword [ebp - 0x1c], 0x42de9c99
jmp 0x10008230
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
mov ecx, dword [ebp - 0x14]
mov edi, dword [edx]
not byte [edi]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
add byte [edi], 0x82
sub byte [edi], 0x45
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
imul byte [edi]
inc edi
loop 0x100081f0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100247f0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0x26181ade
jmp 0x100080a6
Function at 0x1000ab40
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions
Execute shellcode via indirect call
Hide graphical window
Parse pe header
Resume thread

Disassembly:
jmp 0x1001781e
push ebp
shl eax, cl
btr bp, 0x1a
mov ebp, esp
sar eax, cl
push ebx
shrd eax, eax, 0xb3
mov ah, 0x88
push edi
not ax
push esi
bts eax, ebx
and ah, 0x90
sub esp, 0x220
mov eax, dword [0x10084280]
xor eax, ebp
clc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x228], 0x5fe6ed46
bt eax, 0xac

Function at 0x1002980a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10029849
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10029849
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10029849
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10029849
cmp dword [ecx + 0x74], 0xe
jbe 0x10029849
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002c1d4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002c271
push ebx
push esi
call fcn.1002c19d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002c131
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002c21e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002c270
push edi
push eax
call fcn.1002aad2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002c23e
call fcn.1002ab20
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002c26f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002c131
add esp, 0x20
test eax, eax
jne 0x1002c25d
push edi
call fcn.1002ab20
jmp 0x1002c265
push ebx
call fcn.1002ab20
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002c4de
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100343a0
push 0x10034398
push str.FlsAlloc
push 0x1f
call fcn.1002c3fa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002c512
push dword [ebp + 8]
mov ecx, esi
call dword [0x10032150]
call esi
jmp 0x1002c518
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002c55c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100343b0
push 0x100343a8
push str.FlsGetValue
push 0x21
call fcn.1002c3fa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002c593
push dword [ebp + 8]
mov ecx, esi
call dword [0x10032150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002c59b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100343b8
push 0x100343b0
push str.FlsSetValue
push 0x22
call fcn.1002c3fa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002c5d5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10032150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10031ae0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10031b0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10031b0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10028640
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d191b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x100e8040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x1015fa08]
test al, 1
jne 0x1002878b
or eax, 1
mov dword [0x1015fa08], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100de650]
xorps xmm0, xmmword [0x100de540]
mov dword [ebp - 0x20], 0x948b948b
mov dword [ebp - 0x1c], 0xf294f68c
mov word [ebp - 0x18], 0xb485
movups xmmword [ebp - 0x30], xmm0
xor byte [ebp + eax - 0x30], 0xb4
inc eax
cmp eax, 0x1a
jb 0x100286c3
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100286f0
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.1002e7c0
mov byte [ebp - 4], 1
mov edx, dword [0x10161474]
test edx, edx
je 0x10028719
mov edx, dword [edx + 0x50]
jmp 0x1002871b
xor edx, edx
mov eax, dword [0x1016146c]
test eax, eax
je 0x10028729
mov eax, dword [eax + 0x18]
jmp 0x1002872b
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.10028130
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [0x1015fa0c], eax
cmp ecx, 0xf
jbe 0x10028782
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10028773
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10028773
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d0707
mov eax, dword [0x1015fa0c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x10028790
mov eax, dword [0x1015fa0c]
test eax, eax
je 0x10028798
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1002e5e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1c65
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100e8040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x1c24
call fcn.100d02a8
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea edi, [eax + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x100dc638
mov eax, dword [esi]
mov word [edi + 0x7d], 0
mov byte [edi + 0x7f], 0
mov dword [edi + 0xc], 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
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x7c], 0
movups xmmword [edi + 0x80], xmm0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0xf
mov byte [edi + 0x80], 0
mov byte [ebp - 4], 1
mov ecx, edi
mov dword [edi + 0x3d0], 0
mov dword [edi + 0x3d4], 0
mov dword [edi + 0x3d8], 0
mov byte [edi + 0x3dc], 0
push eax
mov byte [edi + 0x1be0], 0
mov dword [edi + 0x1be4], 0
mov dword [edi + 0x1be8], 0
mov dword [edi + 0x1bec], 0
mov dword [edi + 0x1bf0], 0
mov dword [edi + 0x1bf4], 0
mov dword [edi + 0x1bf8], 0
mov word [edi + 0x1c08], 0
call fcn.10028850
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10035250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100e8040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1003530c
cmp byte [esi + 0x3d], 0
je 0x1003530c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100352fa
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x100352c1
sub eax, 1
je 0x100352c5
sub eax, 2
jne 0x100352fa
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d028c
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100352e3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100352fa
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d028c
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d028c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100d028c
mov esp, ebp
pop ebp
ret
Function at 0x100372f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x1015aee4], 0
push ebx
push esi
push edi
je 0x1003747e
mov ecx, dword [0x101614b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1003747e
mov ecx, dword [0x10161538]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1003747e
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10037350
xor edx, edx
test ecx, ecx
je 0x10037379
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10037360
cmp edi, 0x5ff56dc5
je 0x10037388
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1003747e
mov ecx, dword [ebp - 4]
jmp 0x10037334
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1003747e
mov edx, dword [edi + 0x88]
test edx, edx
je 0x1003747e
movss xmm1, dword [0x100ddf58]
xor ebx, ebx
cmp edx, 4
jl 0x1003744b
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100373ec
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037407
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037422
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037435
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x100373d1
cmp ebx, edx
jl 0x1003744f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x1003747e
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037473
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x10037460
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10038bd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2288
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c
mov eax, dword [0x100e8040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
cmp dword [ebx + 0x1c], 0
je 0x10038d36
cmp dword [ebx + 0x20], 0xf
lea ecx, [ebx + 0x24]
lea eax, [ebx + 0xc]
cmova eax, dword [ebx + 0xc]
xor edx, edx
push ecx
push eax
xor ecx, ecx
call fcn.10036aa0
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 8
cmp esi, ecx
ja 0x10038c74
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmova ecx, dword [ebp - 0x2c]
mov byte [ecx + esi], 0
jmp 0x10038c81
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.10039330
cmp dword [ebx + 0x20], 0xf
lea eax, [ebx + 0xc]
lea edx, [ebx + 0x24]
cmova eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
push edx
cmova ecx, dword [ebp - 0x2c]
lea edx, [esi + 1]
push eax
call fcn.10036aa0
add esp, 8
mov dword [ebp - 0x38], 0xc6d5c4c7
mov dword [ebp - 0x34], 0xd7d5dcdf
xor eax, eax
mov word [ebp - 0x30], 0x94df
mov byte [ebp - 0x2e], 0xb4
xor byte [ebp + eax - 0x38], 0xb4
inc eax
cmp eax, 0xb
jb 0x10038cc1
mov eax, dword [0x101614ac]
lea edx, [ebp - 0x38]
push edx
push 0x101618ec
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x64]
call eax
mov eax, dword [0x101614ac]
lea edx, [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0xf
cmova edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edx
push 0x100e809c
push eax
mov eax, dword [ecx + 0x64]
call eax
mov ecx, dword [ebp - 0x18]
add esp, 0xc
cmp ecx, 0xf
jbe 0x10038d36
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038d6e
push ecx
push edx
call fcn.100d0707
add esp, 8
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x10038d7e
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10038d74
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d0707
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d028c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10038dc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d22c5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100e8040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul edi, ecx, 0x1000193
push edi
push esi
push eax
call fcn.10039d70
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10038eeb
cmp dword [0x10164028], 0xfffffff
jne 0x10038e4a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x10164024
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.100d02a8
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [0x10164028]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100de1c0]
mov eax, dword [0x1016403c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100de1c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x10164020]
jbe 0x10038ee0
call fcn.10039b10
push edi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10039d70
mov ecx, dword [eax]
jmp 0x10038ee3
mov ecx, dword [ebp - 0x14]
push ebx
push ecx
push edi
call fcn.10039b90
add eax, 0xc
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
Function at 0x100391a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x100392f6
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100d0707
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x10039259
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10039217
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x100392ec
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1003926d
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x10039270
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x100392ec
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100d0707
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x100392fd
cmp esi, eax
jne 0x100392c7
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x10039280
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8