Function at 0x43d1b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c210
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4c7650]
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 esi, ecx
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x44], ebx
je 0x43d1f7
movzx eax, word [esi + 0x44]
mov ecx, dword [esi + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
xor eax, eax
push 0x4aa0c0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.00405910
mov dword [ebp - 4], ebx
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.0040d840
add esp, 0xc
push 0x4aa0c0
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 1
call fcn.0040d840
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004051c0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d287
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d2a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x24]
push 0x7f00
push ebx
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x50], 0x43d520
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edx
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x43d31d
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d316
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x43d41c
xor edi, edi
cmp byte [esi + 0x48], bl
je 0x43d329
mov edi, 0x80000
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
test al, al
je 0x43d339
or edi, 0x20
mov ecx, dword [esi + 0x24]
fld dword [esi + 0x3c]
mov edx, dword [esi + 0x28]
push esi
push ecx
push ebx
push edx
call fcn.004835c0
fld dword [esi + 0x38]
push eax
call fcn.004835c0
fld dword [esi + 0x34]
push eax
call fcn.004835c0
fld dword [esi + 0x30]
push eax
call fcn.004835c0
push eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0x82020000
mov ecx, esi
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
push eax
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x2c], eax
cmp eax, ebx
je 0x43d3f4
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43d3a4
mov eax, dword [esi + 0x2c]
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0043d670
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x0e793284___0A__tr1_std__X_tr1_std__.0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 3
mov edx, dword [0x4e2bc8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.0043e370
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x43d3f4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x28]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d41a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
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.004799e1
mov esp, ebp
pop ebp
ret