Function at 0x4269d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3ee7
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
push esi
push edi
mov eax, dword [0x53ba20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 0x18]
lea ecx, [ebp - 0x84]
push ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x84], eax
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x38]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
js 0x428515
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
xor esi, esi
cmp dword [ebp - 0xe0], esi
jle 0x428506
nop word [eax + eax]
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x5c], 0
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
lea eax, [esi + 1]
mov esi, 3
mov dword [ebp - 0x50], eax
mov word [ebp - 0x164], si
mov dword [ebp - 0x15c], eax
movups xmm0, xmmword [ebp - 0x164]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
sub esp, 0x10
mov eax, esp
push edx
movups xmmword [eax], xmm0
call ecx
mov esi, eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x4284f7
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
js 0x4284ee
push 0xc
call fcn.004c3423
mov esi, eax
mov dword [ebp - 0x28], eax
add esp, 4
mov dword [ebp - 0x188], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x426b23
push 0x4fbdfc
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x4289b5
jmp 0x426b28
xor esi, esi
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4289b5
mov esi, dword [ebp + 0x14]
mov byte [ebp - 4], 4
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x426b49
lock inc dword [esi + 8]
mov eax, dword [ebp - 0x2c]
or eax, 0x20
push 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
call fcn.004c3423
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x426cb1
mov dword [eax + 4], 0
mov dword [eax + 8], 1
test esi, esi
je 0x426b98
mov eax, dword [esi]
test eax, eax
je 0x426b98
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [ebp - 0x10], eax
jmp 0x426b9f
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
test eax, eax
je 0x426bb6
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edx, eax
mov dword [ebp - 0x30], eax
jmp 0x426bbb
xor edx, edx
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x10]
add ecx, edx
mov dword [ebp - 0x34], ecx
cmp ecx, edx
jb 0x4289b5
mov eax, ecx
mov edx, 2
mul edx
test edx, edx
ja 0x4289b5
jb 0x426be7
cmp eax, 0xffffffff
ja 0x4289b5
lea eax, [ecx + ecx]
push eax
push 0
mov dword [ebp - 0x20], eax
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov edx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], edx
mov dword [eax], edx
test edx, edx
jne 0x426c12
cmp dword [ebp - 0x34], edx
jne 0x4289b5
jmp 0x426cb6
mov ecx, dword [ebp - 0x10]
test esi, esi
je 0x426c63
cmp dword [esi], 0
je 0x426c63
lea eax, [ecx*2 + 2]
test eax, eax
je 0x426c63
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x40]
add ecx, 2
cmp ecx, eax
jb 0x426c44
push eax
push dword [esi]
push edx
call fcn.004c4d40
add esp, 0xc
jmp 0x426c60
push ecx
push 0
push edx
call fcn.004c52c0
add esp, 0xc
call fcn.004c9001
mov dword [eax], 0x22
call fcn.004c8bbf
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
test edx, edx
je 0x426c9c
mov eax, dword [ebp - 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x426c9c
test eax, eax
jne 0x426ca1
call fcn.004c9001
mov dword [eax], 0x16
call fcn.004c8bbf
mov eax, dword [ebp - 0x18]
jmp 0x426cb6
push ecx
push edx
push eax
call fcn.004c4d40
mov eax, dword [ebp - 0x18]
add esp, 0xc
jmp 0x426cb6
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4289b5
test esi, esi
je 0x426d05
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x426d02
mov eax, dword [esi]
test eax, eax
je 0x426ce0
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x426cf7
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xdc]
push 0xc
mov dword [ebp - 0x30], eax
call fcn.004c3423
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18c], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x426d56
push dword [ebp - 0x30]
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x426d5b
cmp dword [ebp - 0x30], eax
jne 0x4289b5
jmp 0x426d5b
xor esi, esi
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], esi
test esi, esi
je 0x4289b5
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00405020
mov ecx, dword [ebp - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 8], eax
dec eax
jne 0x426dc5
mov eax, dword [ecx]
test eax, eax
je 0x426da0
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x426dba
push eax
call fcn.004c3453
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + 4], 0
push 0xc
push ecx
call fcn.004c3279
add esp, 8
and dword [ebp - 0x2c], 0xffffffdf
mov ecx, dword [ebp - 0x18]
mov eax, esi
lock xadd dword [ecx + 8], eax
dec eax
jne 0x426e0d
mov eax, dword [ecx]
test eax, eax
je 0x426de8
push eax
call edi
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x426e02
push eax
call fcn.004c3453
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ecx + 4], 0
push 0xc
push ecx
call fcn.004c3279
add esp, 8
mov ecx, dword [ebp - 0x28]
mov eax, esi
mov byte [ebp - 4], 0xb
lock xadd dword [ecx + 8], eax
dec eax
jne 0x426e55
mov eax, dword [ecx]
test eax, eax
je 0x426e30
push eax
call edi
mov ecx, dword [ebp - 0x28]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x426e4a
push eax
call fcn.004c3453
mov ecx, dword [ebp - 0x28]
add esp, 4
mov dword [ecx + 4], 0
push 0xc
push ecx
call fcn.004c3279
add esp, 8
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x130]
mov dword [ebp - 0x130], 1
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0xd8]
cmp word [ebp - 0x130], 0
mov dword [ebp - 0xd8], 0
push edx
mov eax, dword [ecx]
setne byte [ebp - 0x35]
push ecx
call dword [eax + 0x4c]
test eax, eax
js 0x42848f
mov ecx, dword [ebp - 0xd8]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x44]
test eax, eax
js 0x428483
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], 0
push 1
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x34], 0
call dword [eax + 0x20]
test eax, eax
js 0x42847a
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0xffffffff
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [ebp - 0xa8], 0
jne 0x4276dd
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], 0
push 0x517ad4
mov eax, dword [ecx]
push ecx
call dword [eax]
test eax, eax
js 0x4276dd
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x8c], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x28]
test eax, eax
js 0x4276d4
cmp dword [ebp - 0x3c], 0
je 0x4276d4
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x64]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x8c]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x14c]
push esi
push eax
call fcn.00413bb0
mov eax, dword [eax]
push 0xc
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x14], eax
call fcn.004c3423
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x190], edi
mov byte [ebp - 4], 0xd
test edi, edi
je 0x426fda
push dword [ebp - 0x14]
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
jne 0x426fdf
cmp dword [ebp - 0x14], eax
jne 0x4289b5
jmp 0x426fdf
xor edi, edi
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x20], edi
test edi, edi
je 0x4289b5
push dword [ebp - 0x14c]
call fcn.004c8c7f
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x60], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x128], eax
mov word [eax], cx
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x11
push eax
push esi
push dword [0x540430]
push dword [ebp + 8]
call fcn.00414d50
add esp, 0x1c
test al, al
jne 0x42710a
push 0x5c
push esi
call fcn.004c55d8
add esp, 8
test eax, eax
jne 0x42710a
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x42710a
push eax
lea ecx, [ebp - 0x170]
call fcn.00404a20
mov esi, eax
push 0x4fbdfc
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x12
call fcn.00404a20
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x154]
mov ecx, esi
push eax
call fcn.00405020
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x14
push ecx
lea ecx, [ebp - 0x150]
push ecx
mov ecx, eax
call fcn.00405020
mov esi, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x4270c3
mov eax, dword [eax]
test eax, eax
jne 0x4270c8
mov eax, 0x4fbd20
push eax
call fcn.004c8c20
mov edi, eax
push esi
mov dword [ebp - 0x60], edi
call fcn.004c8c7f
add esp, 8
lea ecx, [ebp - 0x150]
call fcn.00404d60
lea ecx, [ebp - 0x154]
call fcn.00404d60
lea ecx, [ebp - 0x12c]
call fcn.00404d60
lea ecx, [ebp - 0x170]
call fcn.00404d60
jmp 0x42712d
mov ecx, dword [edi]
mov eax, 0x4fbd20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8c20
mov esi, dword [ebp - 0x18]
mov edi, eax
push esi
mov dword [ebp - 0x60], edi
call fcn.004c8c7f
add esp, 8
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x98], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x120], eax
mov word [eax], cx
mov eax, dword [ebp - 0x64]
push 0x502150
mov dword [ebp - 0x74], eax
call fcn.004c8c20
push 0
mov esi, eax
call fcn.004c8c7f
test esi, esi
mov ecx, 0x4fbd20
cmovne ecx, esi
push ecx
call fcn.004c8c20
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8c7f
add esp, 0x18
lea ecx, [ebp - 0x14]
push edi
call fcn.00405090
push esi
call fcn.004c8c7f
push 0x502148
call fcn.004c8c20
push 0
mov esi, eax
call fcn.004c8c7f
mov ecx, dword [ebp - 0x14]
mov eax, 0x4fbd20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8c20
push 0
mov dword [ebp - 0x18], eax
call fcn.004c8c7f
add esp, 0x14
lea ecx, [ebp - 0x18]
push esi
call fcn.00405090
push esi
call fcn.004c8c7f
mov ecx, dword [ebp - 0x74]
mov eax, 0x4fbd20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8c20
push 0
mov esi, eax
call fcn.004c8c7f
mov ecx, dword [ebp - 0x18]
mov eax, 0x4fbd20
test ecx, ecx
mov dword [ebp - 0x58], 0
cmovne eax, ecx
push eax
call fcn.004c8c20
push 0
mov dword [ebp - 0x58], eax
call fcn.004c8c7f
add esp, 0x14
lea ecx, [ebp - 0x58]
push esi
call fcn.00405090
push esi
call fcn.004c8c7f
push dword [ebp - 0x18]
call fcn.004c8c7f
push dword [ebp - 0x14]
call fcn.004c8c7f
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x184], eax
mov word [eax], cx
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x178], ecx
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 0x18
push eax
push dword [ebp - 0x58]
call fcn.00408a20
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x184]
push 0
push eax
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.004069a0
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x80]
push esi
call fcn.00406990
push 2
mov dword [ebp - 0x18], eax
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x114], eax
mov word [eax], cx
mov esi, dword [ebp - 0x40]
mov eax, 0x4fbd20
mov ecx, dword [esi]
test ecx, ecx
mov dword [ebp - 0xf0], 0
cmovne eax, ecx
push eax
call fcn.004c8c20
add esp, 0x40
mov dword [ebp - 0xf0], eax
push 0
call fcn.004c8c7f
mov ecx, dword [ebp + 0x10]
mov eax, 0x4fbd20
test ecx, ecx
mov dword [ebp - 0xec], 0
cmovne eax, ecx
push eax
mov dword [ebp - 0x40], eax
call fcn.004c8c20
push 0
mov dword [ebp - 0xec], eax
call fcn.004c8c7f
mov ecx, dword [esi]
mov eax, 0x4fbd20
test ecx, ecx
mov dword [ebp - 0xe8], 0
cmovne eax, ecx
push eax
call fcn.004c8c20
push 0
mov dword [ebp - 0xe8], eax
call fcn.004c8c7f
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xe8]
push eax
push dword [ebp + 8]
call fcn.00405200
push dword [ebp - 0xe8]
mov byte [ebp - 0x21], al
call fcn.004c8c7f
push dword [ebp - 0xec]
call fcn.004c8c7f
push dword [ebp - 0xf0]
call fcn.004c8c7f
add esp, 0x40
cmp byte [ebp - 0x21], 0
invalid
invalid