Function at 0x4331a0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4516e5
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x46d45c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0xffffffff
cmp dword [0x46f680], 0
je 0x433304
cmp dword [ebp - 0x14], 0xffffffff
jne 0x433304
push 0
lea ecx, [ebp - 0x20]
call fcn.00402190
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x24]
call fcn.00402190
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x28]
call fcn.00402190
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x2c]
call fcn.00402190
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x30]
call fcn.00402190
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x34]
call fcn.00402190
mov byte [ebp - 4], 5
mov eax, dword [0x46d420]
push eax
lea ecx, [ebp - 0x38]
call fcn.00402190
mov byte [ebp - 4], 6
mov ecx, dword [0x46d420]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00402190
mov byte [ebp - 4], 7
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x20]
push edx
push 1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.0040c020
add esp, 0x40
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004021c0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x46069c
push 1
push 0
push 0x4608ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x433618
lea ecx, [ebp - 0x5c]
call fcn.0042ec90
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 4], 8
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx]
mov dword [ebp - 0x4c], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x48], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x44], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x7c]
call fcn.0042ec90
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x68], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x64], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x60], edx
lea ecx, [ebp - 0x9c]
call fcn.0042ec90
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx]
mov dword [ebp - 0x8c], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x88], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x84], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0xbc]
call fcn.0042ec90
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx]
mov dword [ebp - 0xac], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0xa8], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0xa4], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0xa0], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x4c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x48]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x44]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x6c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x68]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x64]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x60]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x8c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x88]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x84]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x80]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0xac]
mov dword [edx], eax
mov ecx, dword [ebp - 0xa8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xa4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xa0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
call edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xbc]
call fcn.0042ecb0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x9c]
call fcn.0042ecb0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
call fcn.0042ecb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0042ecb0
cmp dword [ebp - 0x18], 0
jl 0x43360a
cmp dword [0x46f6b8], 0
je 0x43353d
push 0
call dword [0x46f6b8]
push 0x100
mov eax, dword [0x46f464]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x45e848
lea ecx, [ebp - 0xc0]
call fcn.00416830
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], edx
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0xec]
call fcn.00416b30
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.004168d0
cmp dword [ebp - 0x18], 0
jl 0x4335e8
mov ecx, dword [ebp - 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
push 0x45e84c
call fcn.00416830
mov dword [ebp - 0xf0], eax
mov edx, dword [0x46d420]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00431d00
add esp, 0x14
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [0x46f6b8], 0
je 0x43360a
push 1
call dword [0x46f6b8]
push 0x200
mov eax, dword [0x46f464]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret