Function at 0x451b2d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x451e07
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x451cd5
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x451cb7
push 1
lea ecx, [ebp - 0x74]
call fcn.00430131
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x38], 0xc2a91181
push 0
push 0x3f49
push 1
push 1
push 0x8e
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x5b90
call fcn.00441538
add esp, 0x20
mov dword [ebp - 0xc], 0
jmp 0x451bd8
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x451c9f
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x10], 0
jmp 0x451c00
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x451c7e
mov dword [ebp - 0x64], 0xf8067e30
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x64]
push eax
push 1
push 0x376d
push 1
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x44a2
push 0x1c65
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0x6557
push 0x60a8
lea eax, [ebp - 0x1c]
push eax
push 0x6265
call fcn.0044a982
add esp, 0x44
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0x7fbd
call fcn.0043c4b4
add esp, 0x18
jmp 0x451bf9
push 0
push 1
push 0x5e52
push 0x4ba0
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.00448224
add esp, 0x18
jmp 0x451bd1
push 0x4033
push 0
call fcn.00452a98
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00430203
jmp 0x451cd0
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x451cd0
push 0
push 0x1bf0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x451e05
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x451da8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x451d29
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jg 0x451da6
mov dword [ebp - 8], 0
mov dword [ebp - 8], 2
jmp 0x451d48
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x451da1
push 0x75cd
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x44]
push 0x3d27
push 0
push 0x45f8
push 0x5f3c
push 0x75d1
push 0x4eaa
push 1
push 0x25b0
push 0x7541
push 0x2e27
push 0x5a02
push 0x4ed
push 0x2834
push 0
call fcn.0044bf4d
add esp, 0x44
jmp 0x451d41
jmp 0x451d1e
jmp 0x451e05
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0xffffffe4
jmp 0x451dca
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xfffffff0
jne 0x451e05
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], 1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x84], 0
je 0x451e03
jmp 0x451e05
jmp 0x451dbf
jmp 0x451e1f
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
push 0x6ecf
push 1
push dword [ebp - 0x5c]
call fcn.00438a6b
add esp, 0xc
mov esp, ebp
pop ebp
ret