Function at 0x439010
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x84
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x439265
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x30], 0x52b2
mov dword [ebp - 0x3c], str.xzfed_sebvoxzs_xkb_cdskdy_cjwkjk_iywvrrr_mtrsu
cmp dword [ebp - 0x30], 0x5538
jle 0x439106
mov dword [ebp - 0x24], 0
jmp 0x439080
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x6680
jge 0x439106
mov dword [ebp - 0x1c], 0
jmp 0x43909b
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x2081
jge 0x439101
mov dword [ebp - 0x2c], 0
jmp 0x4390b6
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1480
jge 0x4390ff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.00409670
add esp, 0xc
mov ecx, eax
call fcn.004078f0
push eax
call fcn.004bef16
add esp, 4
lea ecx, [ebp - 0x7c]
call fcn.00407870
jmp 0x4390ad
jmp 0x439092
jmp 0x439077
mov ecx, dword [ebp - 0x40]
movzx edx, byte [ecx]
test edx, edx
je 0x4391fb
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
cmp dword [edx], 0x7d23
jle 0x4391f9
mov dword [ebp - 0x14], 0
jmp 0x439141
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3666
jge 0x4391f9
mov dword [ebp - 0x18], 0
jmp 0x439160
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x1915
jge 0x4391f4
mov dword [ebp - 0x20], 0
jmp 0x43917f
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x1465
jge 0x4391ef
mov dword [ebp - 0x28], 0
jmp 0x43919a
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x25cd
jge 0x4391ed
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
shl eax, cl
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.00409670
add esp, 0xc
mov ecx, eax
call fcn.004078f0
push eax
call fcn.004bef16
add esp, 4
lea ecx, [ebp - 0x94]
call fcn.00407870
jmp 0x439191
jmp 0x439176
jmp 0x439157
jmp 0x439138
jmp 0x43921b
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax]
test ecx, ecx
je 0x43921b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x50bc
jge 0x439237
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004bef16
add esp, 4
jmp 0x439253
mov dword [ebp - 4], 0xffffffff
jmp 0x439263
jmp 0x439279
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
push 0
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00438e30
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret