Function at 0x44f972
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x44face
lea eax, [ebp + 0x24]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xfc]
movzx eax, byte [eax]
test eax, eax
je 0x44fa42
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x44fa11
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
jmp 0x44fa3d
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
movzx eax, byte [eax]
test eax, eax
je 0x44fa3d
push 0
push 0x21c4
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x44fac9
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x44faa5
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xa0], eax
push 1
mov ecx, dword [ebp - 0xa0]
call fcn.00435ad2
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
jmp 0x44fac9
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [eax], 1
jmp 0x44fe5f
lea eax, [ebp + 0x10]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x44fe4b
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x44fe30
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x44fc11
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jne 0x44fbde
mov dword [ebp - 0x18], 1
jmp 0x44fbe2
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jg 0x44fbfd
mov dword [ebp - 0x2c], 1
jmp 0x44fc01
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, dword [ebp - 0x2c]
jne 0x44fc11
and dword [ebp - 0x20], 0
jmp 0x44fc18
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jle 0x44fc2b
mov dword [ebp - 0x34], 1
jmp 0x44fc2f
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
imul eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jle 0x44fc48
mov dword [ebp - 0x54], 1
jmp 0x44fc4c
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0x8c17
je 0x44fca3
mov dword [ebp - 0xdc], 0
push 0x3275
push 0xd97
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x5073
push 0x246c
push dword [ebp - 0x14]
push 1
push 0
push 0
push 0x5872
lea eax, [ebp - 0xdc]
push eax
push 0x5f3e
push dword [ebp - 0x10]
call fcn.0044e137
add esp, 0x38
jmp 0x44fe2e
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0x8a24e228
mov dword [ebp - 0x110], 0xee0456bb
mov dword [ebp - 0x10c], 0xee0456bb
mov dword [ebp - 0x108], 0xee0456bb
mov dword [ebp - 0x104], 0xee0456bb
cmp dword [ebp - 4], 0
jne 0x44fcf2
cmp dword [ebp - 4], 0
jne 0x44fcf2
and dword [ebp - 0x3c], 0
jmp 0x44fcf9
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x3c], 0xfffffffe
jae 0x44fd08
mov dword [ebp - 0x24], 1
jmp 0x44fd0c
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x44fd28
push 0xfffffffffffffffb
pop eax
test eax, eax
je 0x44fd28
mov dword [ebp - 0x30], 1
jmp 0x44fd2c
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x30]
je 0x44fd3f
mov dword [ebp - 0x38], 1
jmp 0x44fd43
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x87c2657a
ja 0x44fd58
mov dword [ebp - 0xe4], 1
jmp 0x44fd5f
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x44fd7d
mov dword [ebp - 0x40], 1
jmp 0x44fd81
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x40], eax
jge 0x44fd95
mov dword [ebp - 0xec], 1
jmp 0x44fd9c
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x118], eax
mov eax, 0xffff
test eax, eax
jne 0x44fdbc
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x44fdbc
and dword [ebp - 0x48], 0
jmp 0x44fdc3
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x48], eax
jl 0x44fdd4
mov dword [ebp - 0x50], 1
jmp 0x44fdd8
and dword [ebp - 0x50], 0
imul eax, dword [ebp - 0x50], 0xffff
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jle 0x44fdf2
mov dword [ebp - 0x58], 1
jmp 0x44fdf6
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax - 0x110], ecx
lea eax, [ebp - 0x1c]
push eax
push 0x3fdb
push dword [ebp - 0xc]
push dword [ebp - 0xf4]
push 0
push dword [ebp - 0x10]
call fcn.00447ef5
add esp, 0x18
jmp 0x44fe49
push 0x1d9a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
jmp 0x44fe5f
push 0x1725
push 0x3435
push 0
call fcn.00441077
add esp, 0xc
mov esp, ebp
pop ebp
ret