joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034e79
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10034e9b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10034e9b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10034e9b
ret
cmp word [ebx + 4], 0x14c
jne 0x10034e9b
test word [ebx + 0x16], 2
je 0x10034e9b
test word [ebx + 0x16], 0x100
je 0x10034e9b
cmp word [ebx + 0x18], 0x10b
jne 0x10034e9b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10034e9b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10034f27
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10034ebb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001be06
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10034e9b
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10034f27
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10034e9b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10034e9b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10034e9b
ret
cmp word [ebx + 4], 0x14c
jne 0x10034e9b
test word [ebx + 0x16], 2
je 0x10034e9b
test word [ebx + 0x16], 0x100
je 0x10034e9b
cmp word [ebx + 0x18], 0x10b
jne 0x10034e9b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10034e9b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10034f27
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10034ebb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001be06
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10034e9b
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10034fde
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10035037
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10034fde
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10034fed
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043ac90
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1003503e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001beb4
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100350dd
add edi, 4
add eax, 2
dec ecx
jne 0x10035023
call 0x1003508a
loope 0x10035080
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100350da
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100350eb
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1003509e
cmp eax, ecx
ja 0x1003509e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10035128
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1003511e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001c393
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10034fed
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10035037
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10034fde
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10034fed
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043ac90
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1003503e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001beb4
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100350dd
add edi, 4
add eax, 2
dec ecx
jne 0x10035023
call 0x1003508a
loope 0x10035080
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100350da
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100350eb
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1003509e
cmp eax, ecx
ja 0x1003509e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10035128
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1003511e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001c393
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x403c10
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b127e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ec1e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
lea edi, [ebx + 0x10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x14], edi
mov dword [edi], 0
push 1
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x4d23a0
mov word [edi], ax
mov byte [ebp - 4], 1
call fcn.004040a0
lea esi, [edi + 0x18]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], ax
mov dword [esi + 0x30], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 7
mov word [esi + 0x30], ax
lea ecx, [esi + 0x48]
mov dword [ecx], eax
push 1
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push 0x4d23a0
mov word [ecx], ax
mov byte [ebp - 4], 9
call fcn.004040a0
mov dword [esi + 0x60], 0
xor eax, eax
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 7
mov word [esi + 0x60], ax
mov dword [esi + 0x78], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 7
mov word [esi + 0x78], ax
mov dword [esi + 0x90], 0xffffffff
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], eax
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], 7
mov word [edi + 0xb0], ax
mov dword [edi + 0xc8], eax
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd0], eax
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xf8], eax
mov dword [ebx + 0xfc], 7
mov word [ebx + 0xe8], ax
mov dword [ebx + 0x100], eax
mov dword [ebx + 0x104], eax
mov dword [ebx + 0x108], eax
mov byte [ebx + 0x110], al
mov dword [ebx + 0x11c], eax
mov dword [ebx + 0x118], 0x1c9c380
mov dword [ebx + 0x120], eax
mov word [ebx + 0x124], 0x100
mov dword [ebx + 0x14c], eax
mov dword [ebx + 0x174], eax
mov byte [ebx + 0x178], al
mov byte [ebx + 0x180], al
mov eax, ebx
mov dword [ebx + 0x17c], 0xa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4044f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1347
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4ec1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x220], edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], 0
push eax
mov dword [ebp - 0x21c], 0
call fcn.00404420
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x224], 1
jb 0x40456f
mov ebx, dword [ebx]
lea eax, [ebp - 0x21c]
push eax
push 0x20219
push 0
push ebx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40461d
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0048eda0
add esp, 0xc
mov dword [ebp - 0x220], 1
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x228], 0x208
jb 0x4045c2
mov esi, dword [esi]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404611
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4045f3
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.004040a0
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048c98b
mov esp, ebp
pop ebp
ret
Function at 0x404b60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x24
cmp dword [eax + 0x14], 8
push edi
mov edi, ecx
jb 0x404b74
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [edi], eax
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [edi + 4], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [edi + 0x14], xmm0
mov dword [edi + 0x24], 0
test eax, eax
je 0x404c4c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SignIn
push eax
call esi
push str.SignOut
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.FetchSignInResult
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.IsSignIn
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.RefreshUser
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.RefreshUserGrade
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.UserName
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.UserLoginId
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.IsUserPremium
push dword [edi]
mov dword [edi + 0x20], eax
call esi
mov dword [edi + 0x24], eax
mov al, 1
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x406970
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1780
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4ec1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x124]
mov dword [ebp - 0x12c], 0
mov dword [ebp - method.fmt::v9::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x128], 0xfa
mov dword [ebp - 4], 0
lea esi, [ebp - 0x134]
mov ecx, dword [ecx + 8]
push esi
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x12c]
mov dword [ebp - 0x18], 0
push dword [ebp - 0x130]
mov dword [ebp - 0x14], 0xf
call fcn.0041f130
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x406a4f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406a45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406aaf
push edx
push ecx
call fcn.0048c9bc
add esp, 8
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x124]
mov dword [ebp - method.fmt::v9::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
cmp ecx, eax
je 0x406a93
mov edx, dword [ebp - 0x128]
mov eax, ecx
cmp edx, 0x1000
jb 0x406a89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406ab4
push edx
push ecx
call fcn.0048c9bc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048c98b
mov esp, ebp
pop ebp
ret 4
call fcn.0049166f
call fcn.0049166f
int3
Function at 0x407580
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1a3d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4ec1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.0041cf30
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edx, 0x811c9dc5
mov edi, dword [ebp - 0x18]
cmovae esi, dword [ebp - 0x28]
xor ecx, ecx
test edi, edi
je 0x4075f4
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4075e3
push edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebx + 0x90]
call fcn.0041e3c0
mov eax, dword [eax + 4]
test eax, eax
jne 0x407615
mov eax, dword [ebx + 0x94]
mov ecx, dword [ebp - 0x44]
cmp eax, dword [ecx + 0x94]
lea eax, [ebp - 0x28]
push eax
jne 0x4076fe
lea ecx, [ebx + 0x90]
call fcn.00408570
mov ecx, dword [ebp + 8]
or edi, 0xffffffff
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov esi, dword [eax + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
test esi, esi
je 0x407675
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x407675
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x407675
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4076a9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40769f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407728
push edx
push ecx
call fcn.0048c9bc
add esp, 8
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
je 0x4076e0
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4076e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4076e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048c98b
mov esp, ebp
pop ebp
ret 8
mov edx, str.logger_with_name_
lea ecx, [ebp - 0x40]
call fcn.00407f90
sub esp, 0x14
mov byte [ebp - 4], 2
mov ecx, esp
push str._already_exists
push eax
push ecx
call fcn.004082e0
add esp, 0xc
call fcn.00407520
call fcn.0049166f
int3
Function at 0x408360
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1ad5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4ec1e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 0xc]
mov ebx, edx
cmp dword [edx + 0x14], 0x10
jb 0x40839a
mov ebx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x4083b8
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x4083a6
push edi
push edx
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0041e3c0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4083e9
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 [esi + 8], 0x6666666
je 0x408556
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x24], 0
call fcn.0048c9ca
add esp, 4
mov ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 8]
call fcn.0041cf30
xorps xmm0, xmm0
movq qword [ebx + 0x20], xmm0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov dword [ebx + 0x24], 0
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4d4af0]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4d4af0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4084f2
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.004b0500
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0048d240
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x4084d6
cmp eax, 0x200
jae 0x4084d4
shl eax, 3
cmp eax, ecx
jae 0x4084d6
mov eax, ecx
push eax
mov ecx, esi
call fcn.0041e190
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041e3c0
mov edx, dword [eax]
jmp 0x4084f5
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [esi + 8], eax
mov dword [ebx], edx
mov dword [ebx + 4], ecx
mov dword [ecx], ebx
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x18]
and eax, edi
mov dword [ebp + 0xc], ecx
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp - 0x14]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x408523
mov dword [ecx + eax*8], ebx
jmp 0x408535
cmp esi, edx
jne 0x40852c
mov dword [ecx + eax*8], ebx
jmp 0x408539
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x408539
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
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.0048a0a3
int3
Function at 0x408590
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1b15
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ec1e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], esi
call fcn.0048a688
add esp, 4
test eax, eax
jne 0x408773
mov byte [ebp - 4], 1
mov edx, dword [esi + 0x114]
test edx, edx
je 0x408691
add edx, 8
lea eax, [esi + 0x90]
mov edi, edx
cmp dword [edx + 0x14], 0x10
jb 0x4085fa
mov edi, dword [edx]
xor ecx, ecx
mov ebx, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x40861e
movzx eax, byte [ecx + edi]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x408606
lea eax, [esi + 0x90]
push ebx
push edx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.0041e3c0
mov edi, dword [eax + 4]
test edi, edi
je 0x408691
mov ecx, dword [esi + 0xa8]
mov eax, dword [esi + 0x9c]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x408663
cmp eax, edi
jne 0x40865b
mov eax, dword [esi + 0x94]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x40866b
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x40866b
cmp eax, edi
jne 0x40866b
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
dec dword [esi + 0x98]
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
call fcn.0041eb00
push 0x28
push edi
call fcn.0048c9bc
add esp, 8
mov edx, dword [ebp + 8]
or edi, 0xffffffff
test edx, edx
je 0x4086eb
lea eax, [edx + 8]
lea ecx, [esi + 0x90]
push eax
call fcn.00408570
mov ecx, dword [ebp + 0xc]
mov edx, eax
test ecx, ecx
je 0x4086ba
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
test ebx, ebx
je 0x4086e8
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4086e8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x4086e8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov ebx, dword [esi + 0x118]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [esi + 0x114], edx
mov dword [esi + 0x118], eax
test ebx, ebx
je 0x408731
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x408731
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x408731
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push esi
call fcn.0048a6ad
mov esi, dword [ebp + 0xc]
add esp, 4
test esi, esi
je 0x40875f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40875f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40875f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 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
push eax
call fcn.0048a156
int3