Function at 0x4191b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e978
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4b8914]
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 eax, dword [0x4b6fc8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x4193d2
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x88], eax
cmp eax, ebx
je 0x4193d2
mov edi, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push 1
push 0x4aae3c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00402719
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x419228
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402719
push 1
push 0x4aae40
lea ecx, [ebp - 0x2c]
call fcn.00402719
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp eax, 3
ja case.default.0x41925f
jmp dword [eax*4 + 0x4193f0]
push 6
push str._INFO_
jmp 0x419288
push 6
push str._WARN_
jmp 0x419288
push 7
push str._ERROR_
jmp 0x419288
push 7
push str._DEBUG_
lea ecx, [ebp - 0x48]
call fcn.004010b2
push 1
push 0x4aa590
lea ecx, [ebp - 0x2c]
call fcn.00402719
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040267f
push 1
push 0x4aa590
lea ecx, [ebp - 0x2c]
call fcn.00402719
mov edx, dword [ebp + 0x10]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4192c5
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402719
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], edi
jae 0x4192f5
lea eax, [ebp - 0x2c]
lea ecx, [ebp + 0x14]
push ecx
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.00412c80
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.004023a2
mov byte [ebp - 4], 2
cmp dword [ebp - 0x6c], edi
jb 0x419328
mov eax, dword [ebp - 0x80]
push eax
call fcn.00471f65
add esp, 4
mov edx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x419333
lea edx, [ebp - 0x64]
mov eax, edx
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x419345
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x80]
call fcn.004010b2
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 4
call dword [ebp - 0x88]
test eax, eax
setne byte [ebp - 0x81]
cmp dword [ebp - 0x6c], edi
jb 0x419380
mov edx, dword [ebp - 0x80]
push edx
call fcn.00471f65
add esp, 4
cmp dword [ebp - 0x50], edi
jb 0x419391
mov eax, dword [ebp - 0x64]
push eax
call fcn.00471f65
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x34], edi
jb 0x4193b0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00471f65
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], edi
jb 0x4193ca
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00471f65
add esp, 4
mov al, byte [ebp - 0x81]
jmp 0x4193d4
mov al, bl
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.00471528
mov esp, ebp
pop ebp
ret