joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100dc900
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020ff40
mov eax, dword fs:[0]
push eax
sub esp, 0x14
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 dword [ebp - 0x14], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
call fcn.100dcc80
mov eax, dword [ebp - 0x1c]
add esp, 4
mov esi, dword [ebp - 0x20]
cmp esi, eax
je 0x100dc9b4
mov ebx, eax
nop dword [eax]
push dword [esi]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
jne 0x100dc97c
push str.Failed_to_open_thread.
push 0x1028e848
call fcn.100cda10
push eax
call fcn.100cff90
add esp, 0xc
jmp 0x100dc9a7
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x100dc9a7
push str.Failed_to_resume_thread.
push 0x1028e848
call fcn.100cda10
push eax
call fcn.100cff90
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebx
jne 0x100dc950
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
test esi, esi
je 0x100dc9e4
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100dc9da
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dca55
push ecx
push esi
call fcn.101e3768
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 7
jbe 0x100dca1a
mov eax, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x100dca10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dca55
mov eax, edx
push ecx
push eax
call fcn.101e3768
add esp, 8
xor eax, eax
mov dword [ebx + 0x18], 0
test byte [ebp + 8], 1
mov dword [ebx + 0x1c], 7
mov word [ebx + 8], ax
je 0x100dca3f
push 0x20
push ebx
call fcn.101e3768
add esp, 8
mov eax, ebx
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
call fcn.101e90af
int3
Function at 0x100dcc80
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021008e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
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, dword [ebp + 8]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 4
mov dword [ebp - 0x34], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x100dcd15
push str.Failed_to_create_thread_snapshot.
push 0x1028e848
call fcn.100cda10
push eax
call fcn.100cff90
add esp, 0xc
jmp 0x100dcd82
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x100dcd44
push str.Failed_to_retrieve_the_first_thread.
push 0x1028e848
call fcn.100cda10
push eax
call fcn.100cff90
add esp, 0xc
jmp 0x100dcd7b
cmp dword [ebp - 0x20], ebx
jne 0x100dcd6d
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x34]
je 0x100dcd6d
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x100dcd61
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100dcd6d
lea ecx, [ebp - 0x24]
push ecx
push eax
mov ecx, esi
call fcn.100ce4b0
lea eax, [ebp - 0x2c]
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100dcd44
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
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
Function at 0x100e1180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
movzx ebp, ax
xor eax, eax
mov esi, ebp
push edi
shr esi, 8
xor edi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x20], eax
jbe 0x100e11e1
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
movzx ecx, word [ecx + edi*2]
mov edx, ecx
movzx ecx, cl
shr edx, 8
add edx, eax
cmp esi, ecx
jb 0x100e11e1
jne 0x100e11d8
cmp eax, edx
jge 0x100e11d8
mov ecx, dword [esp + 0x18]
movzx esi, cl
movzx ecx, byte [eax + ebx]
cmp cx, si
je 0x100e1209
inc eax
cmp eax, edx
jl 0x100e11c6
mov esi, dword [esp + 0x10]
inc edi
mov eax, edx
cmp edi, dword [esp + 0x20]
jb 0x100e11a3
mov edi, dword [esp + 0x2c]
xor eax, eax
mov bl, 1
test edi, edi
je 0x100e121f
mov esi, dword [esp + 0x28]
movzx ecx, byte [eax + esi]
test cl, cl
jns 0x100e1211
movzx edx, byte [eax + esi + 1]
inc eax
and ecx, 0x7f
shl ecx, 8
or edx, ecx
jmp 0x100e1213
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
mov edx, ecx
sub ebp, edx
js 0x100e121f
inc eax
xor bl, 1
cmp eax, edi
jb 0x100e11f1
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret
Function at 0x100e35a0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x1c]
test eax, eax
jg 0x100e35c5
jl 0x100e35b9
test esi, esi
jne 0x100e35c5
pop esi
xor eax, eax
xor edx, edx
pop ebx
add esp, 0xc
ret 0xc
cmp dword [ebx + 0x38], 0
push ebp
push edi
mov edi, esi
je 0x100e3694
mov ebp, eax
lea ecx, [ebx + 0x2c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x18], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100e35f7
mov eax, dword [ecx]
mov eax, dword [eax]
jmp 0x100e35f9
xor eax, eax
cdq
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x100e3646
jg 0x100e360c
test esi, esi
je 0x100e3646
cmp ebp, eax
jg 0x100e361c
jl 0x100e3616
cmp edi, esi
jae 0x100e361c
mov esi, edi
mov dword [esp + 0x10], ebp
push esi
push dword [esp + 0x18]
push dword [esp + 0x28]
call fcn.101e55c0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x20]
sub edi, esi
sbb ebp, dword [esp + 0x10]
mov eax, dword [ecx]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x100e3666
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x100e367e
mov edx, dword [esp + 0x20]
lea ecx, [ebx + 0x2c]
add edi, 0xffffffff
mov esi, 1
adc ebp, 0xffffffff
mov byte [edx], al
add edx, esi
mov dword [esp + 0x20], edx
test ebp, ebp
jg 0x100e35e0
jl 0x100e367e
test edi, edi
jne 0x100e35e0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub eax, edi
pop edi
sbb edx, ebp
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov eax, dword [ebx + 0x1c]
mov ebp, dword [esp + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x100e36d9
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x100e36e0
mov edi, dword [esp + 0x24]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call fcn.101e55c0
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x24]
jmp 0x100e36e0
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x100e3749
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100e370a
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x100e3734
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.101ea030
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x100e3749
cmp edi, eax
ja 0x100e3712
test edi, edi
je 0x100e3749
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.101ea030
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x28]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
add esp, 0xc
ret 0xc
Function at 0x100e3ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10210685
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10282800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
jne 0x100e3b68
push 4
call fcn.101e3738
add esp, 4
test eax, eax
je 0x100e3b21
mov dword [eax], 0x100dcda0
jmp 0x100e3b23
xor eax, eax
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x100ce910
push 0
push 0
call fcn.101ead27
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100e3b85
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x100e3b7e
push ecx
push eax
call fcn.101e0ba7
add esp, 8
test eax, eax
jne 0x100e3b7e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
push 1
call fcn.101e0e6c
push 6
mov dword [ebp - 0x10], 0
call fcn.101e0e6c
int3

Function at 0x100e4790
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021076d
mov eax, dword fs:[0]
push eax
sub esp, 8
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 esi, ecx
mov dword [ebp - 0x10], esi
push 0xa0
call fcn.101e3738
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100e47f4
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
lea esi, [edx + 8]
mov dword [ebx], ecx
lea ecx, [ebx + 8]
push esi
call fcn.100fbb90
mov eax, dword [esi + 0x90]
mov esi, dword [ebp - 0x10]
mov dword [ebx + 0x98], eax
jmp 0x100e47f6
xor ebx, ebx
mov dword [ebp + 8], ebx
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ebx
push 0x100ea730
push 0
push 0
call fcn.101ead27
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x100e4834
mov eax, esi
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 6
mov dword [edi], 0
call fcn.101e0e6c
int3
Function at 0x100e5bf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102109c1
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x10282800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push 0x102220a5
push ecx
mov ecx, dword [0x1028206c]
push eax
call fcn.100e5aa0
lea ecx, [ebp - 0xd1]
mov dword [ebp - 4], 0
push ecx
mov ecx, dword [0x10282068]
push 0x102220ae
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100e5fb0
mov edi, eax
mov dword [ebp - 0xe0], edi
push esi
lea ecx, [ebp - 0xd0]
call fcn.100fb080
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
cmp dword [edi + 0x10], 0
mov byte [ebp - 4], 2
je 0x100e5dd8
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x100e5cad
lea ecx, [ebp - 0xd0]
push ecx
push 0x100ee820
push edi
call eax
add esp, 0xc
jmp 0x100e5d7d
mov eax, dword [ecx + 8]
lea ecx, [ebp - 0x174]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xd0]
push eax
call fcn.100fb080
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], ecx
push dword [0x1028dd78]
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100e5cf3
mov eax, dword [eax + 4]
jmp 0x100e5cf5
xor eax, eax
push 8
push 0x98
push eax
push dword [ebp - 0xdc]
call fcn.100ed750
mov edi, eax
add esp, 0x10
lea eax, [ebp - 0x174]
push eax
lea ecx, [edi + 8]
call fcn.100fb080
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xf0]
mov dword [edi + 0x88], ecx
lea ecx, [ebp - 0x174]
mov dword [edi + 0x8c], edx
mov dword [edi], 0x100ee840
mov dword [ebp - 0xd8], edi
call fcn.100ffdb0
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0xe0]
call dword [ebp - 0xdc]
add esp, 8
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 5
test eax, eax
je 0x100e5d7d
mov ecx, dword [eax]
push 0
push eax
call ecx
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.100ffdb0
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 7
je 0x100e5da0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x2c]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
cmp dword [ebp - 0x38], 0
mov dword [ebp - 4], 8
je 0x100e5dbb
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call eax
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101e3b75
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0xec]
call fcn.100fc1b0
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 6
push eax
call fcn.100f8ae0
int3
Function at 0x100e6090
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 0x100e6113
cmp dword [eax], esi
je 0x100e612a
mov eax, dword [eax + 8]
test eax, eax
jne 0x100e6108
push dword [0x1028dd78]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x78], eax
call edi
test eax, eax
je 0x100e6143
mov eax, dword [eax + 4]
jmp 0x100e6145
cmp dword [eax + 4], 0
je 0x100e6113
nop
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.10103290
nop
jmp 0x100e61ff
xor eax, eax
push 8
push 0x80
push eax
push dword [ebp - 0x6c]
call fcn.100ed620
add esp, 0x10
mov edi, eax
mov dword [edi + 0x14], 0
lea ecx, [edi + 0x30]
mov dword [edi + 0x18], 0x10111e30
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 - 0x68]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x28], eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 2
call fcn.100fb7e0
mov ecx, dword [ebp - 0x6c]
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x60], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push edi
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], edx
mov eax, dword [ebp - 0x18]
push ebx
mov dword [edi + 0x70], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.10113870
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x100e6227
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100e6227
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100e6227
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100e623f
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 0x100e6260
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 0x100e62e3
cmp dword [eax], esi
je 0x100e62fa
mov eax, dword [eax + 8]
test eax, eax
jne 0x100e62d8
push dword [0x1028dd78]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x78], eax
call edi
test eax, eax
je 0x100e6313
mov eax, dword [eax + 4]
jmp 0x100e6315
cmp dword [eax + 4], 0
je 0x100e62e3
nop
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.10103290
nop
jmp 0x100e639b
xor eax, eax
push 8
push 0x80
push eax
push dword [ebp - 0x6c]
call fcn.100ed620
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10111f80
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.100fa6f0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x6c]
push edi
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], edx
mov eax, dword [ebp - 0x18]
push ebx
mov dword [edi + 0x70], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.10113870
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x100e63c3
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100e63c3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100e63c3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100e63db
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 0x100e6400
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10210af3
mov eax, dword fs:[0]
push eax
sub esp, 0x80
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 ebx, ecx
mov eax, dword [ebx + 8]
lea esi, [ebx + 0x10]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x70]
push esi
mov dword [ebp - 0x78], eax
call fcn.100fb8c0
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x100e6472
lock inc dword [eax + 4]
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
add ebx, 4
push dword [0x1028dd8c]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 0
mov esi, dword [ebx]
mov dword [ebp - 0x7c], eax
call edi
test eax, eax
je 0x100e64b1
cmp dword [eax], esi
je 0x100e64cb
mov eax, dword [eax + 8]
test eax, eax
jne 0x100e64a6
push dword [0x1028dd78]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x88], eax
call edi
test eax, eax
je 0x100e64f9
mov eax, dword [eax + 4]
jmp 0x100e64fb
cmp dword [eax + 4], 0
je 0x100e64b1
nop
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.100e6e80
add esp, 0x18
nop
jmp 0x100e6572
xor eax, eax
push 8
push 0x90
push eax
push dword [ebp - 0x7c]
call fcn.100ed620
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10111be0
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
call fcn.100f9db0
mov ecx, dword [ebp - 0x7c]
push esi
push ebx
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
call fcn.10113870
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100e659a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100e659a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100e659a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x70]
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 8
Function at 0x100eda30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021118d
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 0x100eda79
mov eax, dword [eax + 4]
jmp 0x100eda7b
xor eax, eax
push 8
push 0xc0
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 0x100edaad
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], 0x10112ba0
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 0x100edb10
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ebx
lock inc dword [eax]
lea eax, [edi + 4]
mov dword [ebp + 8], eax
jmp 0x100edb13
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov eax, dword [edx]
mov dword [esi + 0x38], eax
mov eax, dword [edx + 4]
mov dword [esi + 0x3c], eax
movq xmm0, qword [edx + 8]
movq qword [esi + 0x40], xmm0
mov eax, dword [edx + 0x10]
mov dword [esi + 0x48], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x4c], eax
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [esi + 0x50], eax
lea eax, [edx + 0x20]
mov dword [esi + 0x54], ecx
lea ecx, [esi + 0x58]
push eax
call fcn.100fa6f0
push dword [ebp + 0x18]
lea ecx, [esi + 0xa0]
push 0
push 0
call fcn.100faf20
test ebx, ebx
je 0x100edb92
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 4]
mov dword [ebp + 8], eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x100edb92
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 0x100edbb3
test ecx, ecx
jne 0x100edbb3
mov al, 1
jmp 0x100edbb5
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.1012ec90
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