Function at 0x5e0a60
Capabilities:
Set thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x8c
push 0xffffffffffffffff
push 0x707408
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x831704]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x94]
lea eax, [ebp - 0x5c]
push esi
push fcn.005e0a00
push eax
call fcn.004a43c0
add esp, 0xc
push esi
push dword [0x82e9c0]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xffffffff
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x5e0cad
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5e0c95
push str.Cannot_start_thread:_error_writing_TLS.
lea ecx, [ebp + 0x48]
call fcn.00418040
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
call fcn.005eae80
test eax, eax
je 0x5e0b42
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp + 0x48]
push ecx
mov ecx, eax
call fcn.005ecae0
mov esi, eax
test esi, esi
jne 0x5e0b50
lea eax, [ebp + 0x48]
push eax
call fcn.005ed1e0
add esp, 4
mov esi, eax
call fcn.005c92f0
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
call fcn.005c92f0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 5
call fcn.005c92f0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0
push str.wx.sys_error
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 6
call fcn.00418040
push 0x721844
push str.wxThreadInternal::DoThreadStart
push 0x239
push str....._srcmsw_thread.cpp
push 1
lea ecx, [ebp]
call fcn.00439de0
mov esi, eax
mov byte [ebp - 4], 8
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [ebp + 0x68]
mov ecx, esi
push eax
call fcn.0049dde0
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.005e6500
push eax
push esi
call fcn.00439e70
mov esi, dword [sym.imp.MSVCR120.dll_free]
add esp, 8
mov byte [ebp - 4], 7
push dword [ebp + 0x40]
call esi
add esp, 4
cmp dword [ebp + 0x3c], 8
jb 0x5e0bf7
push dword [ebp + 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp + 0x3c], 7
lea ecx, [ebp + 8]
mov dword [ebp + 0x38], 0
mov word [ebp + 0x28], ax
call fcn.00439c40
push dword [ebp + 0x80]
call esi
add esp, 4
cmp dword [ebp + 0x7c], 8
jb 0x5e0c2f
push dword [ebp + 0x68]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp + 0x7c], 7
lea ecx, [ebp - 0x30]
mov dword [ebp + 0x78], 0
mov word [ebp + 0x68], ax
mov byte [ebp - 4], 3
call fcn.00420020
push dword [ebp - 0x38]
call esi
add esp, 4
cmp dword [ebp - 0x3c], 8
jb 0x5e0c68
push dword [ebp - 0x50]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [ebp + 0x60]
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
call esi
add esp, 4
cmp dword [ebp + 0x5c], 8
jb 0x5e0c95
push dword [ebp + 0x48]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00562240
add esp, 4
or eax, 0xffffffff
jmp 0x5e0d09
lea eax, [ebp - 0x1c]
push 0x639420
push eax
call fcn.00503560
add esp, 8
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 9
call dword [eax + 8]
mov esi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
call fcn.00503500
add esp, 4
jmp 0x5e0cf4
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00562240
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
call fcn.006d1ba7
lea esp, [ebp + 0x8c]
pop ebp
ret