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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
push 0
push 1
push 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 4], edi
test edi, edi
jne 0x10134411
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x14], esi
call fcn.100e0d20
mov dword [esp + 0x18], eax
test esi, esi
jne 0x101344ce
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + 8], eax
mov dword [ebx + 8], eax
cmp dword [ebp + 8], 0
jne 0x1013444c
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x14], esi
call fcn.100e0d20
mov dword [esp + 0x18], eax
test esi, esi
jne 0x101344dd
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push ebx
push 0x10136940
push dword [esp + 0x34]
push 0
call fcn.101ead27
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
mov dword [ebp + 4], eax
test eax, eax
jne 0x101344b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x24], eax
call dword [edx]
test edi, edi
je 0x10134495
push edi
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x1013449f
push eax
call esi
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
call fcn.100e0d20
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x101344ec
test edi, edi
je 0x101344c4
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push str.thread.entry_event
lea eax, [esp + 0x18]
push eax
call fcn.100dfa60
push str.thread.exit_event
lea eax, [esp + 0x18]
push eax
call fcn.100dfa60
push str.thread
lea eax, [esp + 0x18]
push eax
call fcn.100dfa60
int3
Function at 0x1013ba60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102182c5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10282800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0xf
jbe 0x1013ba97
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1013bab5
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1013baa3
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.100e99c0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1013bae6
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 [ebx + 8], 0x5d1745d
je 0x1013bc4d
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.101e3738
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.100d8c80
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10266bf0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10266bf0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1013bbef
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.101f4180
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101e4050
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1013bbd3
cmp eax, 0x200
jae 0x1013bbd1
shl eax, 3
cmp eax, ecx
jae 0x1013bbd3
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1013dfc0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100e99c0
mov edx, dword [eax]
jmp 0x1013bbf2
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1013bc1a
mov dword [ecx + eax*8], edi
jmp 0x1013bc2c
cmp esi, edx
jne 0x1013bc23
mov dword [ecx + eax*8], edi
jmp 0x1013bc30
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1013bc30
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
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.101e0a10
int3
Function at 0x1013dd20
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebp, ecx
push edi
mov edi, esi
cmp dword [esi + 0x14], 0xf
mov ebx, dword [esi + 0x10]
jbe 0x1013dd3a
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1013dd56
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1013dd45
push edx
push esi
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.100e99c0
mov eax, dword [eax + 4]
test eax, eax
je 0x1013defe
cmp eax, dword [ebp + 4]
je 0x1013defe
mov ecx, dword [eax + 0x24]
lea ebx, [eax + 0x20]
mov esi, dword [ebx]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ecx
cmp esi, ecx
je 0x1013defe
cmp dword [esi], edx
je 0x1013dd9f
add esi, 0x30
cmp esi, ecx
jne 0x1013dd94
cmp esi, ecx
je 0x1013defe
lea ebp, [esi + 0x30]
cmp ebp, ecx
je 0x1013de43
lea ebx, [ebp + 0x2c]
lea edi, [esi + 0x2c]
mov eax, dword [ebp]
cmp eax, edx
je 0x1013de31
mov dword [esi], eax
lea edx, [edi - 0x24]
lea eax, [ebx - 0x24]
cmp edx, eax
je 0x1013de27
mov ecx, dword [edi]
test ecx, ecx
je 0x1013ddeb
mov edx, dword [ecx]
lea eax, [edi - 0x24]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi], 0
lea eax, [ebx - 0x24]
mov ecx, dword [ebx]
test ecx, ecx
je 0x1013de23
cmp ecx, eax
jne 0x1013de1b
mov eax, dword [ecx]
mov edx, dword [eax + 4]
lea eax, [edi - 0x24]
push eax
call edx
mov dword [edi], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x1013de23
mov edx, dword [ecx]
lea eax, [ebx - 0x24]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x1013de1d
mov dword [edi], ecx
mov dword [ebx], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esi, 0x30
add edi, 0x30
add ebp, 0x30
add ebx, 0x30
cmp ebp, ecx
jne 0x1013ddb8
mov ebx, dword [esp + 0x10]
cmp esi, ecx
je 0x1013defe
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], eax
cmp ecx, eax
je 0x1013deee
mov edx, esi
lea edi, [ecx + 0x2c]
sub edx, ecx
lea ebx, [esi + 8]
mov dword [esp + 0x20], edx
mov ecx, eax
nop word [eax + eax]
mov eax, dword [edi - 0x2c]
lea ebp, [edi - 0x24]
mov dword [esi], eax
cmp ebx, ebp
je 0x1013deda
mov ecx, dword [edi + edx]
test ecx, ecx
je 0x1013de9c
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [esp + 0x20]
mov dword [edi + edx], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x1013ded6
cmp ecx, ebp
jne 0x1013decd
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov edx, dword [esp + 0x20]
mov dword [edi + edx], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x1013ded6
mov edx, dword [ecx]
cmp ecx, ebp
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [esp + 0x20]
jmp 0x1013ded0
mov dword [edi + edx], ecx
mov dword [edi], 0
mov ecx, dword [esp + 0x24]
add edi, 0x30
add esi, 0x30
add ebx, 0x30
lea eax, [edi - 0x2c]
cmp eax, ecx
jne 0x1013de70
mov ebx, dword [esp + 0x10]
push ebx
push dword [ebx + 4]
push esi
call fcn.100e7ad0
add esp, 0xc
mov dword [ebx + 4], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x1014a5a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10219fbd
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10282800]
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 esi, ecx
mov eax, dword [esi + 8]
mov dword [ebp - 0x58], eax
mov al, byte [esi + 0x10]
mov byte [ebp - 0x50], al
lea eax, [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x24], 0
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1014a5ff
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push edx
call dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
lea ebx, [esi + 4]
push dword [0x1028dd8c]
mov esi, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 1
mov dword [ebp - 0x5c], eax
call edi
test eax, eax
je 0x1014a641
cmp dword [eax], esi
je 0x1014a658
mov eax, dword [eax + 8]
test eax, eax
jne 0x1014a636
push dword [0x1028dd78]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x68], eax
call edi
test eax, eax
je 0x1014a699
mov eax, dword [eax + 4]
jmp 0x1014a69b
cmp dword [eax + 4], 0
je 0x1014a641
nop
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov ebx, dword [ebp - 0x58]
push eax
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x5c], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1014a68b
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov ecx, edi
mov byte [ebp - 4], 2
call ebx
nop
jmp 0x1014a724
xor eax, eax
push 8
push 0x70
push eax
push dword [ebp - 0x5c]
call fcn.100ed620
add esp, 0x10
mov edi, eax
mov dword [edi + 0x14], 0
lea ecx, [edi + 0x28]
mov dword [edi + 0x18], 0x101513e0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov eax, dword [ebp - 0x58]
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 4
call fcn.100fb770
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x5c]
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push edi
push ebx
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
call fcn.10113870
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1014a73c
mov edx, dword [ecx]
lea eax, [ebp - 0x48]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.101e3b75
mov esp, ebp
pop ebp
ret 4
Function at 0x1014a760
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021a015
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10282800]
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 esi, ecx
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x60]
call fcn.100f8fe0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
lea ebx, [esi + 4]
push dword [0x1028dd8c]
mov esi, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], eax
call edi
test eax, eax
je 0x1014a7dd
cmp dword [eax], esi
je 0x1014a7f4
mov eax, dword [eax + 8]
test eax, eax
jne 0x1014a7d2
push dword [0x1028dd78]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x70], eax
call edi
test eax, eax
je 0x1014a838
mov eax, dword [eax + 4]
jmp 0x1014a83a
cmp dword [eax + 4], 0
je 0x1014a7dd
nop
push dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov ebx, dword [ebp - 0x60]
push eax
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x64], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1014a82a
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov ecx, edi
mov byte [ebp - 4], 1
call ebx
nop
jmp 0x1014a8bd
xor eax, eax
push 8
push 0x78
push eax
push dword [ebp - 0x64]
call fcn.100ed620
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x101514d0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
call fcn.1014b730
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x64]
push edi
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], edx
mov eax, dword [ebp - 0x18]
push ebx
mov dword [edi + 0x68], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
call fcn.10113870
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x1014a8e5
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1014a8e5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1014a8e5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1014a8fd
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.101e3b75
mov esp, ebp
pop ebp
ret 8
Function at 0x1014a920
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10210a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10282800]
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 esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], eax
lea eax, [esi + 0x10]
push eax
call fcn.100f8fe0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
lea ebx, [esi + 4]
push dword [0x1028dd8c]
mov esi, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], eax
call edi
test eax, eax
je 0x1014a9a3
cmp dword [eax], esi
je 0x1014a9ba
mov eax, dword [eax + 8]
test eax, eax
jne 0x1014a998
push dword [0x1028dd78]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x78], eax
call edi
test eax, eax
je 0x1014a9d3
mov eax, dword [eax + 4]
jmp 0x1014a9d5
cmp dword [eax + 4], 0
je 0x1014a9a3
nop
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.10103290
nop
jmp 0x1014aa61
xor eax, eax
push 8
push 0x80
push eax
push dword [ebp - 0x6c]
call fcn.100ed620
add esp, 0x10
mov esi, eax
mov dword [esi + 0x14], 0
lea ecx, [esi + 0x28]
mov dword [esi + 0x18], 0x101515f0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 2
call fcn.1014b730
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x6c]
push esi
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edx
mov eax, dword [ebp - 0x18]
push ebx
mov dword [esi + 0x70], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.10113870
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x1014aa89
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1014aa89
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1014aa89
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1014aaa1
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.101e3b75
mov esp, ebp
pop ebp
ret 8
Function at 0x1014ac20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102111bd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10282800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x14]
push dword [0x1028dd78]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1014ac69
mov eax, dword [eax + 4]
jmp 0x1014ac6b
xor eax, eax
push 8
push 0xc8
push eax
push dword [ebp + 0x14]
call fcn.100ed620
add esp, 0x10
mov esi, eax
mov dl, byte [edi + 4]
lea eax, [edi + 4]
mov dword [ebp + 8], eax
xor ecx, ecx
mov eax, dword [edi + 0xc]
xor ebx, ebx
test eax, eax
je 0x1014ac9d
mov ecx, dword [edi + 8]
mov ebx, eax
lock inc dword [eax + 8]
mov dword [esi + 0x14], 0
lea eax, [ebx + 8]
mov dword [esi + 0x18], 0x10151d90
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], dl
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x1014ad00
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ebx
lock inc dword [eax]
lea eax, [edi + 4]
mov dword [ebp + 8], eax
jmp 0x1014ad03
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], eax
call fcn.1014c290
push dword [ebp + 0x18]
lea ecx, [esi + 0xa8]
push 0
push 0
call fcn.100faf20
test ebx, ebx
je 0x1014ad51
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 4]
mov dword [ebp + 8], eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x1014ad51
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea eax, [edi + 4]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
test byte [eax], 0x10
je 0x1014ad72
test ecx, ecx
jne 0x1014ad72
mov al, 1
jmp 0x1014ad74
xor al, al
mov ecx, dword [ebp - 0x14]
push esi
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push 1
push eax
push edi
call fcn.10134100
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.1012edc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1014adc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1021127d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10282800]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0x218]
mov ecx, dword [ebp + 0x224]
push dword [0x1028dd78]
mov esi, dword [ebp + 0x214]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x220]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1014ae38
mov eax, dword [eax + 4]
jmp 0x1014ae3a
xor eax, eax
push 8
push 0x148
push eax
push dword [ebp - 0x1c]
call fcn.100ed620
add esp, 0x10
mov ebx, eax
mov ecx, dword [esi + 0xc]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x1014ae69
mov edx, dword [esi + 8]
mov eax, ecx
mov dword [ebp - 0x10], eax
lock inc dword [ecx + 8]
mov dword [ebx + 0x14], 0
lea ecx, [eax + 8]
mov dword [ebx + 0x18], 0x10151fe0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x1014aec3
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
lock inc dword [ecx]
jmp 0x1014aec6
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp - 0x18]
lea edi, [ebx + 0x28]
push dword [ebp - 0x20]
mov ecx, 0x21
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0xb0]
call fcn.1014c310
push dword [ebp - 0x24]
lea ecx, [ebx + 0x128]
push 0
push 0
call fcn.100faf20
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1014af0b
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1014af0b
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
lea ecx, [ebp]
call fcn.100f9f00
mov eax, dword [ebp - 0x28]
test byte [eax + 4], 0x10
je 0x1014af2c
cmp dword [ebp + 0x204], 0
jne 0x1014af2c
mov cl, 1
jmp 0x1014af2e
xor cl, cl
push ebx
push ecx
push dword [ebp + 0x21c]
lea ecx, [ebp]
push dword [ebp + 0x200]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.10134300
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.1012ef80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.101e3b75
lea esp, [ebp + 0x20c]
pop ebp
ret 0x14
Function at 0x1014ca30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021a0dd
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10282800]
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 esi, ecx
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x60]
call fcn.1014b840
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [esi]
lea ebx, [esi + 4]
push dword [0x1028dd8c]
mov esi, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], eax
call edi
test eax, eax
je 0x1014caa3
cmp dword [eax], esi
je 0x1014caba
mov eax, dword [eax + 8]
test eax, eax
jne 0x1014ca98
push dword [0x1028dd78]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x70], eax
call edi
test eax, eax
je 0x1014cad4
mov eax, dword [eax + 4]
jmp 0x1014cad6
cmp dword [eax + 4], 0
je 0x1014caa3
nop
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x60]
call fcn.100e5b50
nop
jmp 0x1014cb53
xor eax, eax
push 8
push 0x78
push eax
push dword [ebp - 0x64]
call fcn.100ed620
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10151330
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
call fcn.1014b7c0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x64]
push edi
push ebx
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], edx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
call fcn.10113870
lea ecx, [ebp - 0x58]
call fcn.101004c0
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.101e3b75
mov esp, ebp
pop ebp
ret