Function at 0x454c8d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c587f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xe0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x454f29
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x454e9f
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x454d49
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x454d44
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x454e9a
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x454e9a
mov dword [ebp - 0x30], 0x4814
mov dword [ebp - 0x54], str.ybx_ycn_bhytc_gbr
cmp dword [ebp - 0x30], 0x48a3
jle 0x454e31
and dword [ebp - 0x24], 0
jmp 0x454d81
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7840
jge 0x454e31
and dword [ebp - 0x1c], 0
jmp 0x454d9b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x56d
jge 0x454e2c
and dword [ebp - 0x28], 0
jmp 0x454db5
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x605
jge 0x454e27
and dword [ebp - 0x20], 0
jmp 0x454dcb
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x47d1
jge 0x454e25
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
imul ecx, dword [ebp - 0x20]
and eax, ecx
cdq
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
lea ecx, [ebp - 0xf0]
call fcn.00401a48
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b047
push eax
call fcn.004af8e7
pop ecx
lea ecx, [ebp - 0xf0]
call fcn.0040b03d
jmp 0x454dc4
jmp 0x454dae
jmp 0x454d94
jmp 0x454d7a
push 0x1370
push 0
push 0x20dc
push 0xa1d
push 0x173e
push 0
push 0x23f7
push 0x47a
push 0xb51
call dword [sym.imp.USER32.dll_DrawIconEx]
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x46fe
jge 0x454e74
push dword [ebp - 0x54]
call fcn.004af8e7
pop ecx
jmp 0x454e90
or dword [ebp - 4], 0xffffffff
jmp 0x454e9a
jmp 0x454f24
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x454f1a
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x454efb
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], 4
jge 0x454f18
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x34]
call fcn.0040b367
mov dword [eax], 4
jmp 0x454ef0
jmp 0x454f24
push 0
push 0
call dword [sym.imp.USER32.dll_LoadMenuW]
jmp 0x455085
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xac], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc4], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x44]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x454f9a
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x84], eax
push 1
push dword [ebp - 0x84]
push 0x6e62
push 0x2b99
call fcn.00448da8
add esp, 0x10
jmp 0x455085
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x455055
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0xa0]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x4c9644]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x455053
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x455085
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
movzx eax, byte [eax]
test eax, eax
je 0x455085
push 0x1d01
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret