Function at 0x632355a0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6325fbe0]
sub esp, 0x418
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x632355c8
pop edi
mov eax, 5
pop esi
add esp, 0x418
ret
mov eax, 7
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x4554]
test ecx, ecx
jl 0x632355f3
jg 0x632355e9
cmp dword [edi + 0x4550], 0x30d40
jbe 0x632355f3
mov dword [esp + 0x10], 8
jmp 0x632355f7
mov dword [esp + 0x10], eax
mov al, byte [edi + 0x45d2]
mov dword [edi + 0x1682c], 0
test al, 4
je 0x6323581c
lea ecx, [esp + 0x20]
push pe_nt_image_headers32
push ecx
mov dword [esp + 0x24], 9
call fcn.63233df0
add esp, 8
test eax, eax
jne 0x63235980
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push pe_nt_image_headers32
lea ecx, [esp + 0x34]
push pe_nt_image_headers32
push ecx
call fcn.63232b20
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x6323567d
cmp esi, 1
jne 0x6323597e
mov edx, dword [esp + 0x14]
push edx
call fcn.63233000
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
lea eax, [esp + 0x20]
push 0x40
push eax
call fcn.63233df0
mov esi, eax
add esp, 8
test esi, esi
je 0x632356aa
mov ecx, dword [esp + 0x14]
push ecx
call fcn.63233000
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
lea edx, [esp + 0x18]
lea eax, [esp + 8]
push edx
push eax
push 0x632584ac
push 0x6325842c
push 0
lea ecx, [esp + 0x34]
push 0x40
push ecx
call fcn.63232b20
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x632356ff
cmp esi, 1
jne 0x632356e7
mov edx, dword [esp + 8]
push edx
call fcn.63233000
add esp, 4
mov eax, dword [esp + 0x14]
push eax
call fcn.63233000
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
lea ecx, [esp + 0x20]
push 0x40
push ecx
call fcn.63233df0
mov esi, eax
add esp, 8
test esi, esi
jne 0x632357a6
mov al, byte [edi + 0x45d2]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
test al, 2
push edx
push 0x632584ac
je 0x63235778
push 0x632585ac
push esi
lea eax, [esp + 0x34]
push 0x40
push eax
call fcn.63232b20
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x63235753
cmp esi, 1
jne 0x632357a6
jmp 0x63235799
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.63233ea0
jmp 0x632357eb
push 0x6325852c
push 0
lea eax, [esp + 0x34]
push 0x40
push eax
call fcn.63232b20
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x632357c8
cmp esi, 1
jne 0x632357a6
mov ecx, dword [esp + 0xc]
push ecx
call fcn.63233000
add esp, 4
mov edx, dword [esp + 8]
push edx
call fcn.63233000
mov eax, dword [esp + 0x18]
push eax
call fcn.63233000
add esp, 8
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.63234480
mov ecx, dword [esp + 0x24]
add esp, 0x18
mov esi, eax
push ecx
call fcn.63233000
mov edx, dword [esp + 0xc]
push edx
call fcn.63233000
mov eax, dword [esp + 0x1c]
push eax
call fcn.63233000
add esp, 0xc
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
lea ecx, [esp + 0x20]
push 0x40
push ecx
call fcn.63233df0
add esp, 8
test eax, eax
jne 0x63235980
lea edx, [esp + 0x18]
lea eax, [esp + 8]
push edx
push eax
push 0x632584ac
push 0x632583ac
push 0
lea ecx, [esp + 0x34]
push 0x40
push ecx
call fcn.63232b20
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x6323587f
cmp esi, 1
jne 0x6323597e
mov edx, dword [esp + 8]
push edx
call fcn.63233000
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
lea eax, [esp + 0x20]
push 0x40
push eax
call fcn.63233df0
mov esi, eax
add esp, 8
test esi, esi
je 0x632358ac
mov ecx, dword [esp + 8]
push ecx
call fcn.63233000
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
mov al, byte [edi + 0x45d2]
lea edx, [esp + 0x10]
test al, 2
lea eax, [esp + 0xc]
push edx
push eax
push 0x632584ac
je 0x63235903
push 0x632585ac
push 0
lea ecx, [esp + 0x34]
push 0x40
push ecx
call fcn.63232b20
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x632358e8
cmp esi, 1
jne 0x63235931
jmp 0x63235924
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call fcn.63234a60
jmp 0x63235962
push 0x6325852c
push 0
lea ecx, [esp + 0x34]
push 0x40
push ecx
call fcn.63232b20
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x63235949
cmp esi, 1
jne 0x63235931
mov edx, dword [esp + 0xc]
push edx
call fcn.63233000
add esp, 4
mov eax, dword [esp + 8]
push eax
call fcn.63233000
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call fcn.63235000
mov edx, dword [esp + 0x1c]
add esp, 0x10
mov esi, eax
push edx
call fcn.63233000
mov eax, dword [esp + 0xc]
push eax
call fcn.63233000
add esp, 8
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret