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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df9fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x2c], esi
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x38]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x4348de
mov ecx, esi
call fcn.00434750
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x38]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x4348de
call fcn.0040e0d0
mov edi, eax
push dword [edi + 0xc]
lea esi, [edi + 0xc]
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [edi + 8]
mov dword [ebp - 4], 0
mov edi, dword [ebx]
cmp edi, 0xffffffff
jne 0x4348a1
mov edx, 0x4ff85c
mov ecx, ebx
call fcn.00417e40
mov edi, dword [ebx]
mov dword [ebp - 4], 0xffffffff
push dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call ebx
cmp edi, 1
je 0x434c1a
call fcn.0040df90
mov esi, eax
mov dword [ebp + 8], esi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
push str.Log4jUdpAppender::append____Cannot_connect_to_server
jmp 0x434bf5
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.0042b3a0
push dword [0x5357c0]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x434932
push 0x400
call fcn.00493f75
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.0040e220
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push esi
push dword [0x5357c0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [esi + 0x220]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.004174e0
push 4
xor eax, eax
mov dword [ebp - 0x30], 7
push str._s_q
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00413ce0
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebx + 0x90]
call fcn.0041b380
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov ecx, ebx
mov eax, dword [ebx + 0xd0]
mov dword [ebp - 0x28], eax
lea eax, [ebx + 0xb8]
mov dword [ebp - 0x24], eax
lea eax, [ebx + 0xa0]
mov dword [ebp - 0x20], eax
call fcn.00420120
cmp byte [ebx + 0xd4], 0
mov edi, eax
jne 0x4349db
call fcn.00429ac0
mov ecx, eax
lea eax, [ebx + 0x5c]
mov dword [ebp - 0x10], eax
cmp eax, ecx
je 0x4349d2
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00412bb0
mov byte [ebx + 0xd4], 1
jmp 0x4349e1
lea eax, [ebx + 0x5c]
mov dword [ebp - 0x10], eax
mov esi, dword [ebx + 0x38]
call fcn.0040df90
push esi
lea ecx, [eax + 0x14]
call fcn.0041f950
push str._log4j:event_logger_
push dword [ebp - 0x14]
mov esi, eax
call fcn.00418120
mov edx, dword [ebp + 8]
mov ebx, eax
mov ecx, ebx
lea edx, [edx + 0x20]
call fcn.004341f0
push str.__level_
push ebx
call fcn.00418120
add esp, 0x10
mov ebx, eax
mov edx, esi
mov ecx, ebx
call fcn.004341f0
push str._log4j:message_
push 0x5026f8
push str.__thread_
push str.__timestamp_
push ebx
call fcn.00418120
mov edx, dword [ebp - 0x18]
add esp, 8
mov ecx, eax
call fcn.00415780
push eax
call fcn.00418120
mov edx, dword [ebp - 0x10]
add esp, 8
mov ecx, eax
call fcn.00415780
push eax
call fcn.00418120
add esp, 8
push eax
call fcn.00418120
mov edx, dword [ebp - 0x1c]
add esp, 8
mov esi, eax
mov ecx, esi
call fcn.004341f0
push str._log4j:NDC_
push str.__log4j:message_
push esi
call fcn.00418120
add esp, 8
push eax
call fcn.00418120
add esp, 8
mov esi, eax
mov edx, edi
mov ecx, esi
call fcn.004341f0
push str._log4j:locationInfo_class___file_
push str.__log4j:NDC_
push esi
call fcn.00418120
add esp, 8
push eax
call fcn.00418120
mov edx, dword [ebp - 0x20]
mov esi, eax
mov ecx, esi
call fcn.004341f0
push str.__method_
push esi
call fcn.00418120
mov edx, dword [ebp - 0x24]
add esp, 0x10
mov esi, eax
mov ecx, esi
call fcn.004341f0
push str.__log4j:event_
push 0x502600
push dword [ebp - 0x28]
push str.__line_
push esi
call fcn.00418120
add esp, 8
mov ecx, eax
call fcn.0042ec70
push eax
call fcn.00418120
add esp, 8
push eax
call fcn.00418120
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.0040ce40
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ce40
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x44]
push eax
mov ecx, ebx
call fcn.00412d50
mov edx, eax
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.004290b0
lea esi, [ebx + 0xb0]
mov ecx, eax
push esi
call fcn.00430a60
lea ecx, [ebp - 0x5c]
call fcn.00405530
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ce40
mov ecx, dword [ebp - 0x2c]
add ecx, 0x38
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x434c1a
call fcn.0040e0d0
mov edi, eax
push dword [edi + 0xc]
lea esi, [edi + 0xc]
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [edi + 8]
mov dword [ebp - 4], 7
mov edi, dword [ebx]
cmp edi, 0xffffffff
jne 0x434bc1
mov edx, 0x4ff85c
mov ecx, ebx
call fcn.00417e40
mov edi, dword [ebx]
mov dword [ebp - 4], 0xffffffff
push dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call ebx
cmp edi, 1
je 0x434c1a
call fcn.0040df90
mov esi, eax
mov dword [ebp + 8], esi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 8
push str.Log4jUdpAppender::append____Cannot_write_to_server
push str.log4cplus:ERROR
push 0x535610
call fcn.00418120
add esp, 8
push eax
call fcn.00418120
push eax
call fcn.004183f0
add esp, 0xc
push dword [esi]
call ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4