Function at 0x41b380
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddf42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [eax + 0x10], 0
je 0x41b85c
cmp dword [eax + 0x14], 8
jb 0x41b3b3
mov eax, dword [eax]
cmp word [eax], 0
je 0x41b85c
cmp byte [ebp + 0x10], 0
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
je 0x41b3e0
lea eax, [ebp - 0x70]
push eax
call fcn.004c5f2e
add esp, 8
jmp 0x41b3fd
call fcn.004bd1a8
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x50], eax
push esi
push edi
push dword [0x5357c0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x41b441
push 0x400
call fcn.00493f75
add esp, 4
mov dword [ebp + 0x10], eax
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0040e220
mov edi, eax
mov dword [ebp - 4], 0xffffffff
push edi
push dword [0x5357c0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
add edi, 0x17c
lea ecx, [edi + 0x48]
mov word [edi + 0x9c], 0
mov byte [edi + 0x9e], 0
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x41b46b
mov eax, dword [ecx]
jmp 0x41b46d
mov eax, ecx
xor edx, edx
mov word [eax], dx
lea eax, [edi + 0x60]
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [eax + 0x10]
mov edx, eax
shr edx, 1
add edx, eax
cmp esi, edx
ja 0x41b4b0
cmp dword [ecx + 0x14], edx
je 0x41b4b0
push 1
push edx
call fcn.0040d130
test al, al
je 0x41b4b0
cmp dword [edi + 0x5c], 8
mov dword [edi + 0x58], esi
jb 0x41b4a7
mov eax, dword [edi + 0x48]
jmp 0x41b4aa
lea eax, [edi + 0x48]
xor edx, edx
mov word [eax + esi*2], dx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x41b4c2
mov esi, dword [eax]
jmp 0x41b4c4
mov esi, eax
cmp dword [eax + 0x14], 8
jb 0x41b4d1
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x41b4d7
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
lea eax, [ecx + eax*2]
lea ecx, [edi + 0x48]
cmp esi, eax
je 0x41b692
mov eax, edx
sub eax, 0
je 0x41b663
sub eax, 1
jne 0x41b687
movzx eax, word [esi]
sub eax, 0x51
je 0x41b59a
sub eax, 0x20
je 0x41b560
sub eax, 2
je 0x41b535
push 0x25
call fcn.00416a30
movzx eax, word [esi]
lea ecx, [edi + 0x48]
push eax
call fcn.00416a30
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp + 0x10], edx
add esi, 2
jmp 0x41b4c4
cmp byte [edi + 0x9e], 0
jne 0x41b558
mov ecx, dword [ebp - 0x10]
push dword [ecx + 4]
push dword [ecx]
lea ecx, [edi + 0x30]
call fcn.0041ba60
add esp, 8
mov byte [edi + 0x9e], 1
lea eax, [edi + 0x30]
jmp 0x41b646
cmp byte [edi + 0x9d], 0
jne 0x41b57d
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, dword [eax + 8]
call fcn.0041b340
mov byte [edi + 0x9d], 1
push 0xffffffffffffffff
push 0
push edi
lea ecx, [edi + 0x48]
call fcn.0040d6c0
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp + 0x10], edx
add esi, 2
jmp 0x41b4c4
cmp byte [edi + 0x9c], 0
jne 0x41b643
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x18]
mov edx, dword [eax + 8]
mov eax, 0x10624dd3
mov dword [ebp - 0x14], edx
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
mov dword [ebp + 0x10], eax
call fcn.0041b9c0
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x18]
cmp eax, 2
ja 0x41b5ee
push 0xffffffffffffffff
lea eax, [eax + eax*2]
push 0
lea eax, [eax*8 + 0x528818]
push eax
push ecx
call fcn.00416340
imul eax, dword [ebp + 0x10], 0x3e8
lea ecx, [edi + 0x78]
mov edx, dword [ebp - 0x14]
sub edx, eax
call fcn.0041b9c0
mov eax, dword [edi + 0x88]
lea ecx, [edi + 0x78]
cmp eax, 3
ja 0x41b61c
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x5287b8]
jmp 0x41b621
mov eax, 0x528800
push 0xffffffffffffffff
push 0
push eax
push ecx
call fcn.00416340
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x78]
push eax
lea ecx, [edi + 0x18]
call fcn.0040d6c0
mov byte [edi + 0x9c], 1
lea eax, [edi + 0x18]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [edi + 0x48]
call fcn.0040d6c0
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp + 0x10], edx
add esi, 2
jmp 0x41b4c4
movzx eax, word [esi]
cmp eax, 0x25
jne 0x41b67e
mov eax, dword [ebp + 0xc]
mov edx, 1
mov dword [ebp + 0x10], edx
add esi, 2
jmp 0x41b4c4
push eax
call fcn.00416a30
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
add esi, 2
jmp 0x41b4c4
push ecx
lea ecx, [edi + 0x60]
call fcn.0041b900
mov esi, dword [edi + 0x70]
mov ecx, 0x400
inc esi
mov eax, esi
shl eax, 4
cmp eax, ecx
cmova ecx, eax
mov dword [ebp + 0xc], ecx
push esi
lea ecx, [edi + 0x90]
call fcn.0040c490
call fcn.004bad04
mov dword [eax], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], 8
jb 0x41b6d3
mov eax, dword [eax]
lea ecx, [ebp - 0x70]
push ecx
push eax
push esi
push dword [edi + 0x90]
call fcn.004c36a5
add esp, 0x10
test eax, eax
jne 0x41b818
call fcn.004bad04
add esi, esi
mov dword [ebp + 0x10], esi
cmp esi, dword [ebp + 0xc]
jbe 0x41b6b1
mov edx, dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.0041bb90
push eax
mov edx, str.Error_in_strftime__:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0041bc10
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
call fcn.0040e0d0
push 1
push esi
push str.log4cplus:ERROR
push 0x417e10
push 0x535610
mov ecx, eax
call fcn.00417f60
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x41b79b
mov edx, dword [ebp - 0x34]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x41b882
add eax, eax
cmp eax, 0x1000
jb 0x41b792
test cl, 0x1f
jne 0x41b882
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x41b882
sub ecx, edx
cmp ecx, 4
jb 0x41b882
cmp ecx, 0x23
ja 0x41b882
push edx
call fcn.004943b0
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x10]
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
cmp eax, 8
jb 0x41b6b1
mov edx, dword [ebp - 0x4c]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x41b882
add eax, eax
cmp eax, 0x1000
jb 0x41b807
test cl, 0x1f
jne 0x41b882
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x41b882
sub ecx, edx
cmp ecx, 4
jb 0x41b882
cmp ecx, 0x23
ja 0x41b882
push edx
call fcn.004943b0
mov esi, dword [ebp + 0x10]
add esp, 4
jmp 0x41b6b1
mov ecx, dword [edi + 0x90]
mov esi, dword [ebp + 8]
lea edx, [ecx + eax*2]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp ecx, edx
je 0x41b848
sub edx, ecx
sar edx, 1
push edx
push ecx
mov ecx, esi
call fcn.00413ce0
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.004af5bc
int3