joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1017b7a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f9b11
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1017b7eb
cmp dword [eax], esi
je 0x1017b824
mov eax, dword [eax + 8]
test eax, eax
jne 0x1017b7e0
mov esi, dword [ebp + 0xc]
push esi
push 0x68
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1017b85e
push esi
mov ecx, eax
call fcn.1017f560
mov edi, eax
jmp 0x1017b860
cmp dword [eax + 4], 0
je 0x1017b7eb
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.10188c00
add esp, 8
xchg dword [ebp + 0xc], eax
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
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1017b8f2
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1017f450
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call 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 8
Function at 0x1017bf30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f9c81
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1017bf7b
cmp dword [eax], esi
je 0x1017bfb4
mov eax, dword [eax + 8]
test eax, eax
jne 0x1017bf70
mov esi, dword [ebp + 0xc]
push esi
push 0x70
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1017bfee
push esi
mov ecx, eax
call fcn.1017e2e0
mov edi, eax
jmp 0x1017bff0
cmp dword [eax + 4], 0
je 0x1017bf7b
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.10188c00
add esp, 8
xchg dword [ebp + 0xc], eax
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
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1017c082
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1017e1d0
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call 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 8
Function at 0x1017c170
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f9c81
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1017c1bb
cmp dword [eax], esi
je 0x1017c1f4
mov eax, dword [eax + 8]
test eax, eax
jne 0x1017c1b0
mov esi, dword [ebp + 0xc]
push esi
push 0x70
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1017c22e
push esi
mov ecx, eax
call fcn.1017e130
mov edi, eax
jmp 0x1017c230
cmp dword [eax + 4], 0
je 0x1017c1bb
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.10188c80
add esp, 8
xchg dword [ebp + 0xc], eax
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
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1017c2c2
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1017e020
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call 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 8
Function at 0x1017f450
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fa408
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10285124]
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, dword [ebp + 0xc]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
lea edi, [ebx + 0x20]
mov dword [ebp - 0x68], edi
mov dword [ebp - 4], 0
lea esi, [edi + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push esi
mov dword [ebp - 0x58], eax
call fcn.10146c70
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
mov dword [ebp - 0x68], eax
test ebx, ebx
je 0x1017f4f9
lea ecx, [ebx + 0x28]
call fcn.10134ae0
lea eax, [ebp - 0x58]
xor esi, esi
push eax
push 0x68
push ebx
mov dword [ebp - 0x60], esi
call fcn.101279f0
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 0x64], ebx
jmp 0x1017f4fc
mov esi, dword [ebp - 0x60]
cmp dword [ebp + 8], 0
je 0x1017f516
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.10188c00
add esp, 8
xchg dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x50]
call fcn.10134ae0
test esi, esi
je 0x1017f52a
lea ecx, [esi + 0x28]
call fcn.10134ae0
test ebx, ebx
je 0x1017f53d
lea eax, [ebp - 0x58]
push eax
push 0x68
push ebx
call fcn.101279f0
add esp, 0xc
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.101b451c
mov esp, ebp
pop ebp
ret

Function at 0x10181130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f6b5b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
lea edi, [ecx + 4]
mov dword [ebp + 8], edi
mov eax, dword [ebx]
lea esi, [ebx + 4]
mov dword [ecx], eax
mov ecx, edi
push esi
call fcn.101615d0
mov al, byte [esi + 0xc]
mov byte [edi + 0xc], al
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edi]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x18]
sub eax, dword [esi]
and eax, 0xfffffff8
add dword [edi + 0x18], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x24], eax
lea ecx, [esi + 0x30]
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x28], eax
lea eax, [ebx + 0x30]
push eax
call fcn.101771a0
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
Function at 0x10184220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fac5b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
lea edi, [ebx + 8]
mov esi, dword [ebp + 0x10]
mov ecx, edi
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebx + 4], eax
mov dword [ebp + 8], edi
call fcn.101615d0
mov al, byte [esi + 0xc]
mov byte [edi + 0xc], al
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edi]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x18]
sub eax, dword [esi]
and eax, 0xfffffff8
add dword [edi + 0x18], eax
mov dword [ebp - 4], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
call fcn.101dfef0
push dword [ebp + 0x14]
mov dword [ebx + 0x34], eax
lea ecx, [ebx + 0x40]
mov dword [ebx + 0x38], 0
call fcn.10181130
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 0x10
Function at 0x10186030
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101faed1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1018607b
cmp dword [eax], esi
je 0x101860b7
mov eax, dword [eax + 8]
test eax, eax
jne 0x10186070
mov esi, dword [ebp + 0xc]
push esi
push 0xc0
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x101860f1
push esi
mov ecx, eax
call fcn.101872f0
mov edi, eax
jmp 0x101860f3
cmp dword [eax + 4], 0
je 0x1018607b
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1018c500
add esp, 8
xchg dword [ebp + 0xc], eax
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
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x10186185
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.101871e0
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call 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 8
Function at 0x101861a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101faf21
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x101861eb
cmp dword [eax], esi
je 0x10186227
mov eax, dword [eax + 8]
test eax, eax
jne 0x101861e0
mov esi, dword [ebp + 0xc]
push esi
push 0xe0
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x10186261
push esi
mov ecx, eax
call fcn.10187140
mov edi, eax
jmp 0x10186263
cmp dword [eax + 4], 0
je 0x101861eb
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1018c520
add esp, 8
xchg dword [ebp + 0xc], eax
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
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x101862f5
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.10187040
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call esi
lea ecx, [ebp - 0x38]
call fcn.101876e0
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
Function at 0x10187840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fac5b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
lea edi, [ecx + 8]
mov dword [ebp + 8], edi
mov eax, dword [ebx]
lea esi, [ebx + 8]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov ecx, edi
push esi
call fcn.101615d0
mov al, byte [esi + 0xc]
mov byte [edi + 0xc], al
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edi]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x18]
sub eax, dword [esi]
and eax, 0xfffffff8
add dword [edi + 0x18], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x40]
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
lea eax, [ebx + 0x40]
push eax
call fcn.10181130
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
Function at 0x10187f90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fb371
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10187fdb
cmp dword [eax], esi
je 0x10188014
mov eax, dword [eax + 8]
test eax, eax
jne 0x10187fd0
mov esi, dword [ebp + 0xc]
push esi
push 0x78
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1018804e
push esi
mov ecx, eax
call fcn.10188830
mov edi, eax
jmp 0x10188050
cmp dword [eax + 4], 0
je 0x10187fdb
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1018d390
add esp, 8
xchg dword [ebp + 0xc], eax
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
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x101880e2
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.10188720
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call 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 8
Function at 0x1018ac70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fbb21
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1018acbb
cmp dword [eax], esi
je 0x1018acf7
mov eax, dword [eax + 8]
test eax, eax
jne 0x1018acb0
mov esi, dword [ebp + 0xc]
push esi
push 0xd0
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1018ad31
push esi
mov ecx, eax
call fcn.1018bcc0
mov edi, eax
jmp 0x1018ad33
cmp dword [eax + 4], 0
je 0x1018acbb
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1018dd20
add esp, 8
xchg dword [ebp + 0xc], eax
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
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1018adc5
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1018bb90
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call 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 8
Function at 0x1018ade0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fbb71
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push dword [0x102a8164]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1018ae2b
cmp dword [eax], esi
je 0x1018ae67
mov eax, dword [eax + 8]
test eax, eax
jne 0x1018ae20
mov esi, dword [ebp + 0xc]
push esi
push 0xd8
mov dword [ebp - 0x38], esi
call fcn.10127980
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1018aea1
push esi
mov ecx, eax
call fcn.1018bae0
mov edi, eax
jmp 0x1018aea3
cmp dword [eax + 4], 0
je 0x1018ae2b
push ecx
lea ecx, [ebp + 0xb]
call fcn.10128040
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.1018dd40
add esp, 8
xchg dword [ebp + 0xc], eax
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
xor edi, edi
mov ecx, dword [ebp - 0x10]
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.1012e260
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test al, al
je 0x1018af35
mov eax, dword [ebx]
push dword [0x102a8164]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x102a8164]
mov dword [ebp - 0x28], eax
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
call fcn.101dfef0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x10]
push edi
push dword [eax + 0x14]
call fcn.1018b9b0
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.1012dee0
push dword [ebp - 0x24]
push dword [0x102a8164]
call 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 8