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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ad40
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6a73e8]
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 dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
push dword [0x6b123c]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x416c0f
nop dword [eax]
cmp dword [eax], esi
je 0x416d41
mov eax, dword [eax + 8]
test eax, eax
jne 0x416c00
push ebx
push 0x70
mov dword [ebp - 0x34], ebx
call fcn.0042c900
mov ecx, eax
mov dword [ebp - 0x2c], 0
add esp, 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], ecx
mov dword [ecx + 0x14], 0
lea esi, [ecx + 0x28]
mov dword [ecx + 0x18], fcn.00432840
lea edi, [ebx + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x1c], 0
mov eax, dword [ebx]
mov dword [ecx + 0x20], eax
mov ecx, esi
push edi
mov dword [ebp - 4], 1
call fcn.0041d9a0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov esi, dword [ebp - 0x28]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov eax, dword [ebx + 0x40]
mov edi, dword [ebp - 0x38]
mov dword [esi + 0x60], eax
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x48]
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
push esi
push edi
mov dword [esi + 0x68], eax
call fcn.00435f40
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test al, al
je 0x416d87
mov eax, dword [edi]
xorps xmm0, xmm0
push dword [0x6b123c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x6b123c]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
push 0x6b1290
push 0x413160
push 0x6b128c
mov byte [ebp - 4], 3
call fcn.004805c1
add esp, 0xc
test eax, eax
je 0x416dad
jmp 0x416d5e
cmp dword [eax + 4], 0
je 0x416c0f
push ebx
push ebx
mov dword [ebp - 4], 0
call fcn.00414a50
add esp, 8
jmp 0x416d8f
push 0
lea eax, [ebp - 0x3c]
push eax
push esi
push dword [ebx + 0x14]
call fcn.00432840
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00422a30
push dword [ebp - 0x14]
push dword [0x6b123c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x34]
call fcn.0044cc90
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.005bb391
mov esp, ebp
pop ebp
ret 8
call fcn.006027a2
int3
Function at 0x416dc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ad90
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6a73e8]
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 dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
push dword [0x6b123c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x416e1f
nop dword [eax]
cmp dword [eax], esi
je 0x416f4e
mov eax, dword [eax + 8]
test eax, eax
jne 0x416e10
push edi
push 0x88
mov dword [ebp - 0x30], edi
call fcn.0042c900
mov ebx, eax
mov dword [ebp - 0x28], 0
add esp, 8
mov dword [ebp - 0x2c], ebx
push edi
lea ecx, [ebx + 0x20]
mov dword [ebp - 4], 1
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], fcn.00432a50
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
call fcn.0041b4f0
mov eax, dword [edi + 0x50]
mov esi, dword [ebp - 0x34]
mov dword [ebx + 0x70], eax
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov eax, dword [edi + 0x58]
mov dword [ebx + 0x78], eax
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x7c], eax
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov eax, dword [edi + 0x60]
mov dword [ebx + 0x80], eax
mov dword [edi + 0x60], 0
mov edi, dword [ebp - 0x20]
mov ecx, edi
push ebx
push esi
call fcn.00435f40
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
test al, al
je 0x416f94
mov eax, dword [esi]
xorps xmm0, xmm0
push dword [0x6b123c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x6b123c]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push 0x6b1290
push 0x413160
push 0x6b128c
mov byte [ebp - 4], 3
call fcn.004805c1
add esp, 0xc
test eax, eax
je 0x416fba
jmp 0x416f6b
cmp dword [eax + 4], 0
je 0x416e1f
push edi
push edi
mov dword [ebp - 4], 0
call fcn.00414b00
add esp, 8
jmp 0x416f9c
push 0
lea eax, [ebp - 0x38]
push eax
push ebx
push dword [edi + 0x14]
call fcn.00432a50
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00422a30
push dword [ebp - 0x14]
push dword [0x6b123c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x30]
call fcn.0044cd10
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.005bb391
mov esp, ebp
pop ebp
ret 8
call fcn.006027a2
int3
Function at 0x416fd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ade0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6a73e8]
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 dword [ebp - 0x20], ecx
mov ebx, dword [ebp + 8]
push dword [0x6b123c]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x417021
cmp dword [eax], esi
je 0x417038
mov eax, dword [eax + 8]
test eax, eax
jne 0x417016
mov esi, dword [edi]
mov dword [ebp - 0x30], edi
cmp byte [esi + 0x400], 0
jne 0x417054
mov byte [esi + 0x400], 1
jmp 0x417060
cmp dword [eax + 4], 0
je 0x417021
push edi
push edi
mov dword [ebp - 4], 0
call fcn.00414b10
add esp, 8
jmp 0x417164
push 0x78
call fcn.005bb0ab
add esp, 4
mov esi, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0
lea ecx, [esi + 0x20]
mov dword [ebp - 4], 1
push edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], fcn.00432b70
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.0041be20
mov edi, dword [ebp - 0x20]
mov ecx, edi
push esi
push ebx
call fcn.00435f40
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
test al, al
je 0x41715c
mov eax, dword [ebx]
xorps xmm0, xmm0
push dword [0x6b123c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x6b123c]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
push 0x6b1290
push 0x413160
push 0x6b128c
mov byte [ebp - 4], 3
call fcn.004805c1
add esp, 0xc
test eax, eax
je 0x417182
push 0
lea eax, [ebp - 0x38]
push eax
push esi
push dword [edi + 0x14]
call fcn.00432b70
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00422a30
push dword [ebp - 0x14]
push dword [0x6b123c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x30]
call fcn.0044cd80
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.005bb391
mov esp, ebp
pop ebp
ret 8
call fcn.006027a2
int3
Function at 0x417190
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ade0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6a73e8]
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 dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
push dword [0x6b123c]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4171eb
nop dword [eax]
cmp dword [eax], esi
je 0x417202
mov eax, dword [eax + 8]
test eax, eax
jne 0x4171e0
mov edi, dword [ebx]
mov dword [ebp - 0x30], ebx
cmp byte [edi + 0x400], 0
jne 0x41721e
mov byte [edi + 0x400], 1
jmp 0x41722a
cmp dword [eax + 4], 0
je 0x4171eb
push ebx
push ebx
mov dword [ebp - 4], 0
call fcn.00414b10
add esp, 8
jmp 0x417343
push 0x78
call fcn.005bb0ab
add esp, 4
mov edi, eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
push ebx
lea ecx, [edi + 0x20]
mov dword [ebp - 4], 1
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], fcn.00432c60
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.0041c7d0
mov eax, dword [ebx + 0x48]
mov esi, dword [ebp - 0x34]
mov dword [edi + 0x68], eax
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0x6c], eax
mov eax, dword [ebx + 0x50]
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
push edi
push esi
mov dword [edi + 0x70], eax
call fcn.00435f40
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
test al, al
je 0x41733b
mov eax, dword [esi]
xorps xmm0, xmm0
push dword [0x6b123c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x6b123c]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push 0x6b1290
push 0x413160
push 0x6b128c
mov byte [ebp - 4], 3
call fcn.004805c1
add esp, 0xc
test eax, eax
je 0x417361
push 0
lea eax, [ebp - 0x38]
push eax
push edi
push dword [ebx + 0x14]
call fcn.00432c60
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00422a30
push dword [ebp - 0x14]
push dword [0x6b123c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x30]
call fcn.0044cd80
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.005bb391
mov esp, ebp
pop ebp
ret 8
call fcn.006027a2
int3
Function at 0x417620
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62aea1
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x6a73e8]
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 [ecx]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x4177da
cmp byte [ebx + 4], 0
je 0x4176cf
push 0x70
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.005fc2a0
add esp, 0xc
lea ecx, [ebp - 0x8c]
push esi
call fcn.0041bf00
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 1
push eax
push eax
call fcn.00419730
mov edi, dword [ebp - 0x28]
add esp, 8
test edi, edi
je 0x4176c2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4176c2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4176c2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x7c]
call fcn.004220e0
jmp 0x4177bc
mov eax, dword [ebx]
lea ecx, [ebp - 0x104]
push esi
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x94], eax
call fcn.0041bf00
push dword [0x6b1224]
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x417705
mov eax, dword [eax + 4]
jmp 0x417707
xor eax, eax
push 0x80
push eax
push dword [ebp - 0x94]
call fcn.004148f0
mov esi, eax
mov dword [ebp - 0x14], 0
add esp, 0xc
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 3
lea ecx, [esi + 8]
mov dword [esi], 0x433f00
push eax
call fcn.0041bf00
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x18], 0
call fcn.0044d1b0
mov edi, dword [ebp - 0xa0]
test edi, edi
je 0x417780
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x417780
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x417780
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0xf4]
call fcn.004220e0
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 4
push eax
mov ecx, ebx
call dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 4], 5
test eax, eax
je 0x4177bc
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
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.005bb391
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x1c]
call fcn.0041e770
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
call fcn.0041ab00
int3
Function at 0x417800
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62aef8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6a73e8]
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 dword [ebp - 0x40], ecx
mov eax, dword [ebp + 8]
push dword [0x6b123c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov esi, dword [eax]
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41785f
nop dword [eax]
cmp dword [eax], esi
je 0x41798d
mov eax, dword [eax + 8]
test eax, eax
jne 0x417850
push edi
push 0xf0
mov dword [ebp - 0x3c], edi
call fcn.0042c900
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
mov esi, dword [ebp - 0x20]
lea ebx, [eax + 0x20]
mov dword [eax + 0x14], 0
lea ecx, [ebx + 8]
mov dword [eax + 0x18], fcn.00432ed0
add esi, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov eax, dword [edi]
push esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], ebx
mov dword [ebx], eax
call fcn.0041da40
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x48], eax
mov esi, dword [ebp - 0x20]
lea ecx, [ebx + 0x50]
add esi, 0x50
mov byte [ebp - 4], 2
push esi
call fcn.0041d0e0
mov eax, dword [esi + 0x78]
mov edi, dword [ebp - 0x28]
mov dword [ebx + 0xc8], eax
mov eax, dword [esi + 0x7c]
mov esi, dword [ebp - 0x24]
mov dword [ebx + 0xcc], eax
mov ebx, dword [ebp - 0x40]
mov ecx, ebx
push esi
push edi
mov byte [ebp - 4], 1
call fcn.00435f40
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test al, al
je 0x4179d3
mov eax, dword [edi]
xorps xmm0, xmm0
push dword [0x6b123c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x6b123c]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
push 0x6b1290
push 0x413160
push 0x6b128c
mov byte [ebp - 4], 4
call fcn.004805c1
add esp, 0xc
test eax, eax
je 0x4179f1
jmp 0x4179aa
cmp dword [eax + 4], 0
je 0x41785f
push edi
push edi
mov dword [ebp - 4], 0
call fcn.00414fe0
add esp, 8
jmp 0x4179d3
push 0
lea eax, [ebp - 0x44]
push eax
push esi
push dword [ebx + 0x14]
call fcn.00432ed0
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.00422a30
push dword [ebp - 0x14]
push dword [0x6b123c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
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.005bb391
mov esp, ebp
pop ebp
ret 8
call fcn.006027a2
int3
Function at 0x417a00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62af48
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6a73e8]
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 dword [ebp - 0x38], ecx
mov ebx, dword [ebp + 8]
push dword [0x6b123c]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x417a55
cmp dword [eax], esi
je 0x417b8c
mov eax, dword [eax + 8]
test eax, eax
jne 0x417a46
push edi
push 0xc0
mov dword [ebp - 0x34], edi
call fcn.0042c900
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
lea esi, [eax + 0x20]
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], fcn.00433040
lea ecx, [esi + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov eax, dword [edi]
mov dword [esi], eax
lea eax, [edi + 8]
push eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], esi
call fcn.0041da40
mov eax, dword [edi + 0x48]
lea ecx, [esi + 0x58]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
lea eax, [edi + 0x58]
push eax
mov byte [ebp - 4], 2
call fcn.0041da40
mov eax, dword [edi + 0x98]
mov dword [esi + 0x98], eax
mov eax, dword [edi + 0x9c]
mov edi, dword [ebp - 0x38]
mov ecx, edi
mov dword [esi + 0x9c], eax
mov esi, dword [ebp - 0x20]
push esi
push ebx
mov byte [ebp - 4], 1
call fcn.00435f40
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test al, al
je 0x417bd2
mov eax, dword [ebx]
xorps xmm0, xmm0
push dword [0x6b123c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x6b123c]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
push 0x6b1290
push 0x413160
push 0x6b128c
mov byte [ebp - 4], 4
call fcn.004805c1
add esp, 0xc
test eax, eax
je 0x417bf0
jmp 0x417ba9
cmp dword [eax + 4], 0
je 0x417a55
push edi
push edi
mov dword [ebp - 4], 0
call fcn.00415000
add esp, 8
jmp 0x417bd2
push 0
lea eax, [ebp - 0x3c]
push eax
push esi
push dword [edi + 0x14]
call fcn.00433040
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.00422a30
push dword [ebp - 0x14]
push dword [0x6b123c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
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.005bb391
mov esp, ebp
pop ebp
ret 8
call fcn.006027a2
int3
Function at 0x417c00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62af98
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6a73e8]
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 dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
push dword [0x6b123c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x417c5f
nop dword [eax]
cmp dword [eax], esi
je 0x417d63
mov eax, dword [eax + 8]
test eax, eax
jne 0x417c50
push edi
push 0xe0
mov dword [ebp - 0x34], edi
call fcn.0042c900
mov ebx, eax
mov dword [ebp - 0x2c], 0
add esp, 8
mov dword [ebp - 0x30], ebx
lea esi, [ebx + 0x20]
mov dword [ebp - 4], 1
push edi
mov ecx, esi
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], fcn.00433410
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 [ebp - 0x24], esi
call fcn.0041b4f0
lea eax, [edi + 0x50]
mov byte [ebp - 4], 2
lea ecx, [esi + 0x50]
push eax
call fcn.0041bf00
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x38]
mov ecx, edi
push ebx
push esi
mov byte [ebp - 4], 1
call fcn.00435f40
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test al, al
je 0x417da9
mov eax, dword [esi]
xorps xmm0, xmm0
push dword [0x6b123c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x6b123c]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
push 0x6b1290
push 0x413160
push 0x6b128c
mov byte [ebp - 4], 4
call fcn.004805c1
add esp, 0xc
test eax, eax
je 0x417dcf
jmp 0x417d80
cmp dword [eax + 4], 0
je 0x417c5f
push edi
push edi
mov dword [ebp - 4], 0
call fcn.004150c0
add esp, 8
jmp 0x417db1
push 0
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [edi + 0x14]
call fcn.00433410
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.00422a30
push dword [ebp - 0x14]
push dword [0x6b123c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x34]
call fcn.0044ce10
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.005bb391
mov esp, ebp
pop ebp
ret 8
call fcn.006027a2
int3