joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbabd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xbabd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xbabd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xbabd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xbabd94
push eax
push esi
call fcn.00bae20b
add esp, 8
pop esi
ret 0x10

Function at 0xbabda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xbabe22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xbabe15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xbc4320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00baddff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xbabdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xbabe30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xbabec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xbabeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xbc4320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00baddff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xbabeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xbabe6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xbac000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xbac131
push esi
call fcn.00baf145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00b9e080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xbac131
push 0
push ebp
call fcn.00b9e3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00b9e260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xbac08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00b9e2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xbac121
push 0xbc4918
push edi
call fcn.00bad3f0
push eax
push ebx
push esi
call fcn.00babf60
push 0xbc48f8
push edi
call fcn.00bad3f0
push eax
push ebx
push esi
call fcn.00babf60
push 0xbc48d8
push edi
call fcn.00bad3f0
push eax
push ebx
push esi
call fcn.00babf60
push 0xbc48c0
push edi
call fcn.00bad3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00babf60
push 0xbc48a0
push edi
call fcn.00bad3f0
push eax
push ebx
push esi
call fcn.00babf60
push 0xbc4888
push edi
call fcn.00bad3f0
push eax
push ebx
push esi
call fcn.00babf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xbad1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00bad140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00bad140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00bad140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00bad140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xbadbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xbadc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xbbf87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xbadc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xbadc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401e84
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401ec3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401ec3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401ec3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401ec3
cmp dword [ecx + 0x74], 0xe
jbe 0x401ec3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4079bc
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 0x407a59
push ebx
push esi
call fcn.00407985
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.00407919
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x407a06
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407a58
push edi
push eax
call fcn.0040824f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x407a26
call fcn.00406461
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407a57
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407919
add esp, 0x20
test eax, eax
jne 0x407a45
push edi
call fcn.00406461
jmp 0x407a4d
push ebx
call fcn.00406461
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 0x408955
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410030
push 0x410028
push str.FlsAlloc
push 0x1f
call fcn.00408871
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408989
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e12c]
call esi
jmp 0x40898f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4089d3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410040
push 0x410038
push str.FlsGetValue
push 0x21
call fcn.00408871
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408a0a
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e12c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x408a12
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410048
push 0x410040
push str.FlsSetValue
push 0x22
call fcn.00408871
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408a4c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e12c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40d900
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d92d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d92d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x93a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x93a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x93a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93a06a
add dl, dl
jne 0x93a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93a0dc
xor eax, eax
add dl, dl
jne 0x93a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93a17d
add dl, dl
jne 0x93a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x93a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x93a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x93a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x93a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x93a075
mov eax, 1
add dl, dl
jne 0x93a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x93a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x93a0e1
sub eax, ebx
mov ebx, 1
jne 0x93a128
mov ecx, 1
add dl, dl
jne 0x93a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x93a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x93a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x93a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x93a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x93a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x93a136
cmp eax, 0x7d00
jae 0x93a16d
cmp eax, 0x500
jb 0x93a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x93a075
cmp eax, 0x7f
ja 0x93a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x93a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x93a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x93a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4ee780
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9f000]
push edi
jmp 0x4ee79a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ee7a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee790
mov eax, 1
add ebx, ebx
jne 0x4ee7b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ee7c4
jne 0x4ee7e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee7e3
dec eax
add ebx, ebx
jne 0x4ee7d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ee7a8
add ebx, ebx
jne 0x4ee7df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ee835
xor ecx, ecx
sub eax, 3
jb 0x4ee7fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ee86a
sar eax, 1
mov ebp, eax
jmp 0x4ee806
add ebx, ebx
jne 0x4ee806
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee7d4
inc ecx
add ebx, ebx
jne 0x4ee814
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee7d4
add ebx, ebx
jne 0x4ee821
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ee816
jne 0x4ee832
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ee816
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ee854
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ee846
jmp 0x4ee796
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ee854
add edi, ecx
jmp 0x4ee796
pop esi
mov edi, esi
mov ecx, 0x4885
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ee872
cmp byte [edi], 0x13
jne 0x4ee872
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4ee877
lea edi, [esi + 0xe6000]
mov eax, dword [edi]
or eax, eax
je 0x4ee8ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf6aa8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf6bd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ee8a4
mov ecx, edi
jns 0x4ee8d3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf6bd8]
or eax, eax
je 0x4ee8e9
mov dword [ebx], eax
add ebx, 4
jmp 0x4ee8c1
call dword [esi + 0xf6be8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4ee920
cmp al, 0xef
ja 0x4ee913
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4ee8f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4ee902
mov ebp, dword [esi + 0xf6bdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ee954
sub esp, 0xffffff80
jmp 0x4531cf
Function at 0x10002e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006882c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x100854b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi + 4], 0x1006c980
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0x1006ca2c
mov dword [edi + 4], 0x1006ca9c
mov dword [ebp - 4], 0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0x10
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov ecx, eax
mov word [edi + 0x98], 0
mov byte [edi + 0x9a], 0
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0xc
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x18]
push edx
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x4c], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
xorps xmm0, xmm0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x60], eax
movups xmmword [edi + 0x9b], xmm0
movups xmmword [edi + 0xab], xmm0
call fcn.10001520
lea esi, [eax + 0x14]
push esi
mov dword [ebp + 8], esi
call fcn.10029821
add esp, 4
test eax, eax
jne 0x10002ff1
mov byte [ebp - 4], 0xd
call fcn.10001520
push edi
mov ecx, eax
call fcn.100018c0
push esi
call fcn.10029846
add esp, 4
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 4
push eax
call fcn.10029c3e
int3
Function at 0x10004df0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068af2
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100854b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov esi, dword [eax]
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
mov eax, ebx
sar eax, 8
movzx eax, al
xor eax, edi
imul ecx, eax, 0x1000193
mov eax, ebx
sar eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
sar eax, 0x18
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100052d0
mov edx, dword [eax + 4]
test edx, edx
je 0x10004e80
cmp edx, dword [esi + 4]
jne 0x10004fe5
movzx eax, bh
xor eax, edi
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 0xa]
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp + 8]
imul edi, ecx, 0x1000193
mov ecx, esi
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100052d0
cmp dword [ebp - 0x18], 0
jne 0x10004f6f
cmp dword [esi + 8], 0x15555555
je 0x10004ff9
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.10041b71
mov dword [ebp - 0x20], eax
add esp, 4
add eax, 8
mov dword [ebp - 0x10], eax
mov dword [eax], ebx
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x1c]
inc ecx
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1006cb20]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1006cb20]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [esi]
seta al
test al, al
je 0x10004f59
mov ecx, esi
call fcn.10005f50
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.100052d0
mov ecx, dword [eax]
jmp 0x10004f5c
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ecx
push edi
mov ecx, esi
call fcn.10005ef0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
mov esi, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov edi, ecx
mov edx, dword [esi + 0xc]
lea eax, [edx + ecx]
test al, 3
jne 0x10004f9e
lea eax, [ecx + 4]
shr eax, 2
cmp dword [esi + 8], eax
ja 0x10004f9e
push 1
mov ecx, esi
call fcn.10005d50
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 8]
lea eax, [ecx*4 - 1]
and eax, edx
mov dword [esi + 0xc], eax
lea ebx, [edi + eax]
mov eax, ebx
lea edi, [ecx - 1]
shr eax, 2
and edi, eax
mov eax, dword [esi + 4]
cmp dword [eax + edi*4], 0
jne 0x10004fd6
push 0x10
call fcn.10041b71
mov ecx, dword [esi + 4]
add esp, 4
mov dword [ecx + edi*4], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
and ebx, 3
mov ecx, dword [ebp + 8]
mov dword [eax + ebx*4], ecx
inc dword [esi + 0x10]
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
push str.unordered_map_set_too_long
call fcn.10029962
int3
Function at 0x10005bb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x10005bdb
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10005bc4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret

Function at 0x10005bf0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 4], edi
shl eax, cl
cmp edx, eax
ja 0x10005d45
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10005a70
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp edx, ebx
je 0x10005d20
mov ecx, edx
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul esi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor esi, eax
movzx eax, byte [ecx + 0xa]
imul esi, esi, 0x1000193
xor esi, eax
movzx eax, byte [ecx + 0xb]
imul esi, esi, 0x1000193
xor esi, eax
imul eax, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, eax
mov eax, dword [edi + 0xc]
lea ebx, [eax + esi*8]
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
cmp dword [ebx], eax
jne 0x10005ca3
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
jmp 0x10005d10
mov eax, dword [ebx + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x10005cda
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp eax, ecx
je 0x10005cd5
mov edi, dword [ecx + 4]
mov ebx, dword [ebp - 0xc]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov dword [ebx + 4], ecx
jmp 0x10005d0d
mov ebx, dword [ebx]
mov esi, eax
cmp ebx, eax
je 0x10005cf0
mov eax, dword [eax + 4]
mov esi, eax
cmp edi, dword [eax + 8]
je 0x10005d29
cmp ebx, eax
jne 0x10005ce2
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov edi, dword [ebp - 4]
mov ecx, edx
cmp edx, dword [ebp - 8]
jne 0x10005c52
nop dword [eax + eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ecx + 4]
mov ebx, dword [eax]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x10005d0d
push str.invalid_hash_bucket_count
call fcn.10029962
int3
Function at 0x1000aa20
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0xc
call fcn.10041b71
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x1000aa4e
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x1000aa50
xor esi, esi
cmp dword [0x100870b0], 0
jne 0x1000aa80
mov ecx, 1
mov edx, 0x100870b0
xor eax, eax
lock cmpxchg dword [edx], ecx
cmp eax, 1
je 0x1000aa80
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x100870b4], eax
cmp eax, 0xffffffff
je 0x1000aa92
jmp 0x1000aa85
mov eax, dword [0x100870b4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
mov esp, ebp
pop ebp
ret
push str.could_not_allocate_thread_local_storage_n
push 2
call fcn.10046145
add esp, 4
push eax
call fcn.10006320
add esp, 8
call fcn.100481f7
int3

Function at 0x1000aad0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x100870b0], 0
je 0x1000ab69
push esi
push dword [0x100870b4]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
je 0x1000ab68
cmp dword [0x100870b0], 0
je 0x1000ab33
push dword [0x100870b4]
call esi
mov esi, eax
test esi, esi
je 0x1000ab2a
push 0
mov ecx, esi
call fcn.1000a8d0
mov eax, dword [esi]
test eax, eax
je 0x1000ab1f
push eax
call fcn.10045e53
add esp, 4
push 0xc
push esi
call fcn.10041ba1
add esp, 8
cmp dword [0x100870b0], 0
jne 0x1000ab5a
mov ecx, 1
mov edx, 0x100870b0
xor eax, eax
lock cmpxchg dword [edx], ecx
cmp eax, 1
je 0x1000ab5a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x100870b4], eax
cmp eax, 0xffffffff
je 0x1000ab6a
jmp 0x1000ab5f
mov eax, dword [0x100870b4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret
push str.could_not_allocate_thread_local_storage_n
push 2
call fcn.10046145
add esp, 4
push eax
call fcn.10006320
add esp, 8
call fcn.100481f7
int3