joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100131d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], 0
mov esi, edx
push edi
test ebx, ebx
je 0x1001323c
cmp dword [0x10071fb0], 0
jne 0x10013229
push 0x44
call fcn.10042bca
add esp, 4
test eax, eax
je 0x1001320a
mov ecx, eax
call fcn.100016d0
mov edx, eax
jmp 0x1001320c
xor edx, edx
mov ecx, edx
mov edi, 0x10071fb0
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x10013229
test edx, edx
je 0x10013229
push ecx
mov ecx, edx
call fcn.10001690
mov eax, dword [0x10071fb0]
cmp dword [eax], 1
jl 0x1001323c
mov dword [ebp - 4], 0x10000
jmp 0x1001323e
xor ebx, ebx
push 8
call fcn.10042bca
add esp, 4
mov edi, eax
push 0
push dword [ebp - 4]
mov dword [edi], esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
push 0x100130e0
push ebx
setne cl
push 0
mov byte [edi + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x10013281
push edi
call fcn.10042c1b
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10013297
mov dword [esi], eax
mov al, 1
mov dword [esi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10014c40
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.10014fe0
test al, al
je 0x10014cad
mov eax, dword [0x1006f61c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x10014c65
call fcn.10022830
mov ecx, eax
mov eax, dword [0x10070e34]
cmp dword [ecx + eax*4], 0
jne 0x10014cad
push 0x74
call fcn.10042bca
add esp, 4
test eax, eax
je 0x10014c8a
push esi
mov ecx, eax
call fcn.10014860
mov esi, eax
jmp 0x10014c8c
xor esi, esi
mov eax, dword [0x1006f61c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x10014ca5
call fcn.10022830
mov ecx, eax
mov eax, dword [0x10070e34]
mov dword [ecx + eax*4], esi
pop esi
ret
Function at 0x10014cb0
Capabilities:
Get thread local storage value

Disassembly:
cmp byte [0x10070e30], 0
push ebx
push esi
push edi
jne 0x10014cc2
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x1006f61c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x10014cdb
call fcn.10022830
mov ecx, eax
mov eax, dword [0x10070e34]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x10014d72
mov ecx, 0x10070e10
xor edi, edi
xor ebx, ebx
call fcn.10015160
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x10070e0c]
test ecx, ecx
je 0x10014d1b
mov eax, dword [ecx + 4]
mov edi, ecx
mov dword [0x10070e0c], eax
mov dword [ecx + 4], ebx
jmp 0x10014d28
mov ebx, dword [0x10070e48]
inc ebx
mov dword [0x10070e48], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x10014d4f
push 0x74
call fcn.10042bca
add esp, 4
test eax, eax
je 0x10014d4d
push ebx
mov ecx, eax
call fcn.100149f0
mov edi, eax
jmp 0x10014d4f
xor edi, edi
mov eax, dword [0x1006f61c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x10014d68
call fcn.10022830
mov ecx, eax
mov eax, dword [0x10070e34]
mov dword [ecx + eax*4], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x10016a00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov dword [esp + 4], 0
call fcn.10016a40
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
test ecx, ecx
je 0x10016a35
mov edx, 1
add ecx, 4
lock xadd dword [ecx], edx
mov esp, ebp
pop ebp
ret

Function at 0x10017040
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push edx
xor ebx, ebx
push ecx
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x100170d2
cmp dword [0x10070d50], 3
jg 0x100170c4
lea ebx, [eax + 1]
mov dword [esp + 8], 3
push ebx
push 2
lea ecx, [esp + 0x18]
call fcn.10004480
mov dword [esp + 0xac], str.b:_sienium_src_base_threading_thread_local_win.cc
mov dword [esp + 0xb0], 0x23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x23
push str.b:_sienium_src_base_threading_thread_local_win.cc
lea ecx, [esp + 0x10]
mov dword [esp + 0xbc], eax
call fcn.10009960
lea eax, [esp + 0x10]
push str.Failed_to_TlsSetValue__.
push eax
call fcn.100024c0
add esp, 8
test bl, 1
je 0x100170d2
lea ecx, [esp + 8]
call fcn.100096e0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10018e90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
mov edi, ecx
mov dword [ebp - 4], 0
call fcn.1000e620
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x6d], 0
lea eax, [ebp - 0x20]
je 0x10018eec
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x10018ee8
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x10018ee8
xor dl, dl
jmp 0x10018efe
mov dl, 1
jmp 0x10018efe
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne dl
xor ecx, ecx
lea eax, [edi + 0x10]
xchg dword [eax], ecx
test dl, dl
jne 0x10018f10
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.10018a60
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1001ca10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x1001ca1e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x1001ca30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x1006e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x1001cb8d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.10006d10
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x260]
mov dword [ebp - 0x220], 0
push eax
call fcn.100072a0
push 1
push 0
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 0
push eax
lea ecx, [ebp - 0x230]
call fcn.100073c0
cmp eax, 0xffffffff
je 0x1001cadb
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x230]
call fcn.10007bf0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.1000c180
cmp esi, eax
je 0x1001cafd
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.100072a0
cmp dword [ebp - 0x234], 8
jb 0x1001cb14
push dword [ebp - 0x248]
call fcn.10042c1b
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x1001cb48
push dword [ebp - 0x230]
call fcn.10042c1b
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
jb 0x1001cb7c
push dword [ebp - 0x260]
call fcn.10042c1b
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100433a9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.100433a9
mov esp, ebp
pop ebp
ret
Function at 0x1001cba0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x1006e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
mov esi, ecx
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1001cc11
cmp word [ebp - 0x210], 0
je 0x1001cc11
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.10006d10
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call fcn.1000b7e0
cmp dword [ebp - 0x214], 8
jb 0x1001cd2f
push dword [ebp - 0x228]
jmp 0x1001cd27
xor eax, eax
mov dword [ebp - 0x22c], 7
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
call fcn.1001ca30
test al, al
je 0x1001cc66
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov word [esi], ax
lea eax, [ebp - 0x240]
push eax
call fcn.100072a0
jmp 0x1001cd18
push 3
xor eax, eax
mov dword [ebp - 0x214], 7
push 0x100684a8
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
call fcn.10007a20
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov word [esi], ax
lea eax, [ebp - 0x228]
push eax
call fcn.100072a0
push 1
push 0
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0
push eax
mov ecx, esi
call fcn.100073c0
cmp eax, 0xffffffff
je 0x1001cce4
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.10007bf0
cmp dword [ebp - 0x214], 8
jb 0x1001ccfb
push dword [ebp - 0x228]
call fcn.10042c1b
add esp, 4
xor eax, eax
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
cmp dword [ebp - 0x22c], 8
jb 0x1001cd2f
push dword [ebp - 0x240]
call fcn.10042c1b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100433a9
mov esp, ebp
pop ebp
ret

Function at 0x1001cd40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x1006e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov word [ebp - 0x210], ax
mov esi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1001ce39
cmp eax, 0x104
ja 0x1001ce39
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x240]
call fcn.10006d10
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x258]
call fcn.1000b7e0
mov ecx, eax
call fcn.1000c180
cmp esi, eax
je 0x1001cdc6
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.100072a0
cmp dword [ebp - 0x214], 8
jb 0x1001cddd
push dword [ebp - 0x228]
call fcn.10042c1b
add esp, 4
xor eax, eax
mov dword [ebp - 0x214], 7
cmp dword [ebp - 0x244], 8
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
jb 0x1001ce11
push dword [ebp - 0x258]
call fcn.10042c1b
add esp, 4
cmp dword [ebp - 0x22c], 8
jb 0x1001ce28
push dword [ebp - 0x240]
call fcn.10042c1b
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100433a9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.100433a9
mov esp, ebp
pop ebp
ret
Function at 0x10022830
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x1006e1e0]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
mov ebx, dword [0x1006f61c]
mov dword [esp + 4], 0
mov dword [esp + 4], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x100228cd
mov edi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_TlsFree]
cmp eax, ebx
je 0x1002287e
mov ebx, eax
mov dword [esp + 0xc], ebx
jmp 0x100228ad
cmp byte [0x10070e04], 0
jne 0x10022940
int3
mov ecx, ebx
mov edx, 0x1006f61c
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x100228cd
push ebx
call esi
mov ebx, dword [0x1006f61c]
mov dword [esp + 0xc], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100228e2
cmp byte [0x10070e04], 0
jne 0x1002294e
int3
push 0x400
lea eax, [esp + 0x14]
push 0
push eax
call fcn.10043d70
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x400
call fcn.1004239f
add esp, 4
lea esi, [esp + 0x10]
mov ebx, eax
mov ecx, 0x100
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100433a9
mov esp, ebp
pop ebp
ret
push 1
call fcn.100467c1
push 1
call fcn.100467c1
push 1
call fcn.100467c1
int3

Function at 0x10022960
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x1006e1e0]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x1006f61c]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.100433a4
add esp, 4
mov edi, 0x100
jmp 0x100229c0
mov esi, dword [0x10071f28]
xor dl, dl
test esi, esi
jle 0x100229f8
lea esp, [esp]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x100229f3
mov eax, dword [esi*4 + 0x10071860]
test eax, eax
je 0x100229f3
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x100229d0
dec edi
test edi, edi
jle 0x10022a01
test dl, dl
jne 0x100229c0
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100433a9
mov esp, ebp
pop ebp
ret
Function at 0x10023170
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
je 0x100231de
push ebx
push esi
mov ebx, ecx
mov eax, dword [edi]
lea edi, [edi + 4]
movzx esi, cl
movzx edx, al
xor esi, edx
shr ecx, 8
mov dword [ebp - 4], eax
movzx eax, ah
xor ecx, dword [esi*4 + 0x10068920]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x10068920]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 1]
xor ecx, dword [edx*4 + 0x10068920]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x10068920]
dec ebx
jne 0x10023187
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10024bf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi], 0x10069018
mov dword [esi + 4], edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 0x204]
mov dword [esi + 0x20], eax
call fcn.1000e620
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov dword [ebp + 8], esi
mov edx, dword [eax + 0x5c]
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
cmp eax, edx
je 0x10024c67
cmp dword [eax], esi
je 0x10024c63
add eax, 4
cmp eax, edx
jne 0x10024c58
cmp eax, edx
jne 0x10024c70
lea eax, [ebp + 8]
push eax
call fcn.1000eea0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, byte [0x10071df9]
lea ecx, [edi + 0x1d0]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10029ab0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10024ce0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov dword [edi], 0x10069018
call fcn.1000e620
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
cmp edx, ecx
je 0x10024d4a
cmp dword [edx], edi
je 0x10024d1f
add edx, 4
cmp edx, ecx
jne 0x10024d14
cmp edx, ecx
je 0x10024d4a
cmp dword [esi + 0x64], 0
je 0x10024d31
mov dword [edx], 0
jmp 0x10024d4a
mov eax, ecx
lea ecx, [edx + 4]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
push edx
call fcn.10042d60
add esp, 0xc
add dword [esi + 0x5c], 0xfffffffc
mov esi, dword [edi + 0x10]
test esi, esi
je 0x10024db5
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
cmp ecx, 0xffffffff
jne 0x10024d6e
cmp edx, 0x7fffffff
jne 0x10024d6e
movsd xmm0, qword [0x1006e048]
jmp 0x10024d7b
call fcn.1004442f
divsd xmm0, qword [0x100692f8]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm1
movsd qword [esp + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x10]
push eax
sub esp, 0xc
push 0
call fcn.10024e50
add esp, 4
mov edx, esi
mov ecx, eax
call fcn.10029950
add esp, 0xc
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 8], 0
je 0x10024df0
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x204]
cmp dword [edi + 0x20], eax
jne 0x10024df0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x38]
mov eax, dword [edi + 8]
push ecx
mov edx, esp
mov dword [edi + 8], 0
mov dword [edx], eax
mov eax, dword [ecx]
push dword [edi + 0xc]
call dword [eax + 8]
call fcn.1000e620
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [edi + 4]
mov dword [esp + 0xc], eax
add ecx, 0x1d0
lea eax, [esp + 0xc]
push eax
call fcn.100287c0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi + 4]
xor edx, edx
mov ecx, dword [ecx + 0x1c4]
call fcn.10017040
mov esi, dword [edi + 8]
test esi, esi
je 0x10024e42
mov ecx, esi
call fcn.100294e0
push esi
call fcn.10042c1b
add esp, 4
mov dword [edi], method.std::error_category.virtual_4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10027750
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
jne 0x10027775
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x1c4]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
je 0x100277ca
push dword [edi + 0x1c4]
call esi
mov ebx, eax
mov esi, dword [ebx + 8]
test esi, esi
je 0x100277ca
mov edx, dword [ebp + 0xc]
cmp edx, dword [esi + 0x1808]
jne 0x100277cd
mov ecx, dword [ebp + 0x10]
movzx eax, cx
cmp eax, dword [ebx + 0xc]
jne 0x100277cd
mov eax, dword [ebp + 0x12]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, esi
je 0x100277cd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test esi, esi
je 0x100277e9
cmp byte [esi + 4], 0
jne 0x100277e9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0xc]
mov byte [esi + 4], 1
mov ecx, dword [edi + 0x1f0]
test ecx, ecx
je 0x10027827
mov eax, dword [ebp + 0x10]
movzx eax, ax
cmp eax, dword [edi + 0x1f4]
jne 0x10027827
cmp edx, dword [ecx + 0x1808]
jne 0x1002776a
mov eax, dword [ebp + 0x12]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x38]
push dword [ebp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10028ff0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
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
mov edx, dword [esi + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [esi + 0x18], ecx
ja 0x10029043
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [esi + 8]
mov esi, dword [esi]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov edi, dword [edx + ecx*4]
inc ecx
lea ecx, [edx + ecx*4]
mov dword [ebp + 0xc], ecx
cmp edi, esi
jne 0x1002905f
mov ecx, esi
jmp 0x10029063
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x100290b3
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx]
je 0x10029075
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
jmp 0x10029057
mov ecx, dword [ebx]
mov edx, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
nop
cmp edi, esi
jne 0x10029088
mov ecx, esi
jmp 0x1002908c
mov ecx, dword [ebx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1002909c
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jne 0x1002909c
mov eax, dword [eax]
jmp 0x10029080
cmp edx, eax
je 0x100290b3
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100295a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x100295f3
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1002961f
cmp dword [ecx], edi
jne 0x10029617
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [ecx + edx + 4], eax
jmp 0x10029627
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10029627
cmp dword [ecx], edi
jne 0x1002962a
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 4]
call fcn.10042c1b
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10029ab0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x10029b02
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx + 8]
mov edx, dword [ebx]
shl ecx, 3
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + ecx]
cmp eax, edx
jne 0x10029b18
mov esi, edx
jmp 0x10029b1e
mov esi, dword [esi + ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10029b30
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x10029b7e
cmp esi, eax
jne 0x10029b24
push edi
push dword [edx]
mov ecx, ebx
call fcn.100174f0
mov edi, dword [ebx]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x10029b65
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x10029b8e
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x10029bb0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x10029b96
mov dword [ecx], edi
jmp 0x10029bb0
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10029bb0
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.10029bd0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc