Function at 0x140110f70
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor edi, edi
mov r14d, edi
mov dword [rsp + 0x30], edi
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14055a480], eax
cmp eax, 0xffffffff
jne 0x1401117a1
xor al, al
lea r12, [0x1403c8f48]
mov r15d, 0xffff
lea r13, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_thread.cpp
lea rsi, str.wxThreadModule::OnInit
test al, al
jne 0x140111039
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.14010a1d0
mov rbx, rax
or r14d, 1
mov dword [rsp + 0x30], r14d
cmp dword [0x140575068], 0
je 0x14011101d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x140575068]
je 0x14011101d
call fcn.140136fe0
jmp 0x140111024
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x140111039
mov rcx, rbx
call fcn.140136b60
cmp eax, 1
jb 0x140111039
mov bl, 1
jmp 0x14011103b
xor bl, bl
test r14b, 1
je 0x14011105d
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x30]
call fcn.14000e160
test bl, bl
je 0x140111fa6
mov rax, qword [0x140575108]
test rax, rax
jne 0x14011107d
call fcn.140120770
mov qword [0x140575108], rax
mov r9, rax
mov r8, qword [0x1403c87b8]
lea rdx, str.Thread_module_initialization_failed:_impossible_to_allocate_index_in_thread_local_storage
lea rcx, [rsp + 0x78]
call fcn.140109720
nop
mov rbx, qword [rax]
mov qword [rsp + 0x68], rbx
call fcn.14010aa30
cmp rbx, rax
je 0x1401110af
inc word [rbx + 0x10]
or r14d, 4
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x140111100
add word [rcx + 0x10], r15w
jne 0x1401110f6
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x1401110f4
cmp byte [rdi + 0x12], 0
je 0x1401110e7
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rdi
call fcn.14036c454
xor edi, edi
call fcn.14010aa30
mov qword [rsp + 0x78], rax
mov rdx, qword [rbx]
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], di
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140111120
lea rcx, [rbp - 0x30]
call fcn.14001d300
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
cmp rbx, rax
je 0x140111174
add word [rbx + 0x10], r15w
jne 0x14011116a
cmp byte [rbx + 0x12], 0
je 0x14011115d
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], di
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], rdi
mov qword [rbp], rdi
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], 7
mov word [rbp], di
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rdi
call fcn.140149fa0
test rax, rax
je 0x1401111da
lea r9, [rbp + 0x30]
lea r8, [rbp]
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.14014a3e0
mov rbx, rax
test rax, rax
jne 0x1401111e6
lea rcx, [rbp - 0x30]
call fcn.14014b190
mov rbx, rax
call fcn.14010aa30
mov qword [rsp + 0x38], rax
call fcn.14010aa30
mov qword [rsp + 0x40], rax
call fcn.14010aa30
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov rax, qword [0x140575108]
test rax, rax
jne 0x140111226
call fcn.140120770
mov qword [0x140575108], rax
mov r9, rax
mov r8, qword [0x1403c87b8]
lea rdx, str.wx.sys_error
lea rcx, [rbp - 0x78]
call fcn.140109720
nop
mov rbx, qword [rax]
mov qword [rsp + 0x70], rbx
call fcn.14010aa30
cmp rbx, rax
je 0x140111257
inc word [rbx + 0x10]
or r14d, 8
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
mov rcx, qword [rbp - 0x78]
cmp rcx, rax
je 0x1401112a5
add word [rcx + 0x10], r15w
jne 0x14011129c
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x14011129a
cmp byte [rdi + 0x12], 0
je 0x14011128d
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rdi
call fcn.14036c454
xor edi, edi
call fcn.14010aa30
mov qword [rbp - 0x78], rax
mov rdx, qword [rbx]
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401112c3
lea rcx, [rbp - 0x60]
call fcn.14001d300
and r14d, 0xfffffff7
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
cmp rbx, rax
je 0x140111317
add word [rbx + 0x10], r15w
jne 0x14011130d
cmp byte [rbx + 0x12], 0
je 0x140111300
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov dword [rbp + 0x60], 1
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x78], rsi
mov dword [rbp + 0x70], 0x534
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x90], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp + 0x98], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], di
mov qword [rbp + 0xc8], rdi
mov qword [rbp + 0xd0], rdi
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp qword [rbp + 0xb8], 0
je 0x1401113df
cmp qword [0x14055a4b8], 0
je 0x1401113df
lea rax, str.can_only_have_one_optional_value
mov qword [rsp + 0x20], rax
lea r9, str.m_optKey.empty__
lea r8, str.wxLogger::MaybeStore
mov edx, 0x39e
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewxlog.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x1401113df
mov byte [0x1405750a8], 0
int3
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp + 0xa8]
call fcn.14001d300
mov rdi, qword [rbp + 0xa0]
test rdi, rdi
jne 0x140111474
lea ecx, [rdi + 0x40]
call fcn.14036c0f8
mov rdi, rax
mov qword [rbp - 0x68], rax
mov ecx, 0x64
call fcn.14011ba90
mov ecx, eax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], 0
mov edx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rdi], rax
lea rbx, [rdi + 0x20]
mov qword [rsp + 0x60], rbx
mov ecx, 0x64
call fcn.14011ba90
mov ecx, eax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], 0
mov edx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx], rax
mov qword [rbp + 0xa0], rdi
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.14010ec40
mov qword [rax], rsi
lea rcx, [rsp + 0x38]
call fcn.140143f20
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140011670
nop
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0xc0]
cmp rdx, 8
jb 0x1401114ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401114e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011177e
call fcn.14036c454
xor edi, edi
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], di
mov rbx, qword [rbp + 0xa0]
test rbx, rbx
je 0x140111564
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
mov qword [rbx + 0x30], rdi
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x140011220]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.14011b9f0
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea edx, [rdi + 0x40]
mov rcx, rbx
call fcn.14036c454
nop
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1401115af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401115a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140111785
call fcn.14036c454
nop
call fcn.14010aa30
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
je 0x1401115f5
add word [rcx + 0x10], r15w
jne 0x1401115eb
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1401115eb
cmp byte [rbx + 0x12], 0
je 0x1401115de
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x48], rax
call fcn.14010aa30
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x14011163b
add word [rcx + 0x10], r15w
jne 0x140111631
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140111631
cmp byte [rbx + 0x12], 0
je 0x140111624
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x40], rax
call fcn.14010aa30
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x140111681
add word [rcx + 0x10], r15w
jne 0x140111677
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140111677
cmp byte [rbx + 0x12], 0
je 0x14011166a
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1401116cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401116c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011178c
call fcn.14036c454
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], 7
mov word [rbp], di
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x140111721
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011171c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140111793
call fcn.14036c454
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], di
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140111777
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140111772
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011179a
call fcn.14036c454
mov al, 1
jmp 0x140110fdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140111faa
mov ecx, dword [0x14055a480]
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x14055a480], 0xffffffff
xor al, al
lea r12, [0x1403c8f48]
mov r15d, 0xffff
lea r13, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_thread.cpp
lea rsi, str.wxThreadModule::OnInit
test al, al
jne 0x14011183c
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.14010a1d0
mov rbx, rax
or r14d, 2
mov dword [rsp + 0x30], r14d
cmp dword [0x140575068], 0
je 0x140111820
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x140575068]
je 0x140111820
call fcn.140136fe0
jmp 0x140111827
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x14011183c
mov rcx, rbx
call fcn.140136b60
cmp eax, 1
jb 0x14011183c
mov bl, 1
jmp 0x14011183e
xor bl, bl
test r14b, 2
je 0x140111860
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x30]
call fcn.14000e160
test bl, bl
je 0x140111fa6
mov rax, qword [0x140575108]
test rax, rax
jne 0x140111880
call fcn.140120770
mov qword [0x140575108], rax
mov r9, rax
mov r8, qword [0x1403c87b8]
lea rdx, str.Thread_module_initialization_failed:_cannot_store_value_in_thread_local_storage
lea rcx, [rbp - 0x78]
call fcn.140109720
nop
mov rbx, qword [rax]
mov qword [rsp + 0x70], rbx
call fcn.14010aa30
cmp rbx, rax
je 0x1401118b1
inc word [rbx + 0x10]
or r14d, 0x10
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
mov rcx, qword [rbp - 0x78]
cmp rcx, rax
je 0x1401118ff
add word [rcx + 0x10], r15w
jne 0x1401118f6
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1401118f4
cmp byte [rdi + 0x12], 0
je 0x1401118e7
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rdi
call fcn.14036c454
xor edi, edi
call fcn.14010aa30
mov qword [rbp - 0x78], rax
mov rdx, qword [rbx]
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], di
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140111920
lea rcx, [rbp - 0x30]
call fcn.14001d300
and r14d, 0xffffffef
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
cmp rbx, rax
je 0x140111974
add word [rbx + 0x10], r15w
jne 0x14011196a
cmp byte [rbx + 0x12], 0
je 0x14011195d
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov qword [rbp], rdi
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], 7
mov word [rbp], di
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], di
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], rdi
call fcn.140149fa0
test rax, rax
je 0x1401119da
lea r9, [rbp]
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.14014a3e0
mov rbx, rax
test rax, rax
jne 0x1401119e6
lea rcx, [rbp - 0x30]
call fcn.14014b190
mov rbx, rax
call fcn.14010aa30
mov qword [rsp + 0x38], rax
call fcn.14010aa30
mov qword [rsp + 0x40], rax
call fcn.14010aa30
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov rax, qword [0x140575108]
test rax, rax
jne 0x140111a26
call fcn.140120770
mov qword [0x140575108], rax
mov r9, rax
mov r8, qword [0x1403c87b8]
lea rdx, str.wx.sys_error
lea rcx, [rsp + 0x78]
call fcn.140109720
nop
mov rbx, qword [rax]
mov qword [rsp + 0x68], rbx
call fcn.14010aa30
cmp rbx, rax
je 0x140111a58
inc word [rbx + 0x10]
or r14d, 0x20
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x140111aa9
add word [rcx + 0x10], r15w
jne 0x140111a9f
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x140111a9d
cmp byte [rdi + 0x12], 0
je 0x140111a90
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rdi
call fcn.14036c454
xor edi, edi
call fcn.14010aa30
mov qword [rsp + 0x78], rax
mov rdx, qword [rbx]
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140111ad0
lea rcx, [rbp - 0x60]
call fcn.14001d300
and r14d, 0xffffffdf
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
cmp rbx, rax
je 0x140111b24
add word [rbx + 0x10], r15w
jne 0x140111b1a
cmp byte [rbx + 0x12], 0
je 0x140111b0d
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov dword [rbp + 0x60], 1
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x78], rsi
mov dword [rbp + 0x70], 0x540
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x90], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp + 0x98], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], di
mov qword [rbp + 0xc8], rdi
mov qword [rbp + 0xd0], rdi
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp qword [rbp + 0xb8], 0
je 0x140111bec
cmp qword [0x14055a4b8], 0
je 0x140111bec
lea rax, str.can_only_have_one_optional_value
mov qword [rsp + 0x20], rax
lea r9, str.m_optKey.empty__
lea r8, str.wxLogger::MaybeStore
mov edx, 0x39e
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewxlog.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x140111bec
mov byte [0x1405750a8], 0
int3
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp + 0xa8]
call fcn.14001d300
mov rdi, qword [rbp + 0xa0]
test rdi, rdi
jne 0x140111c79
lea ecx, [rdi + 0x40]
call fcn.14036c0f8
mov rdi, rax
mov qword [rsp + 0x60], rax
mov ecx, 0x64
call fcn.14011ba90
mov ecx, eax
mov qword [rdi + 8], rcx
xor eax, eax
mov qword [rdi + 0x10], rax
lea edx, [rax + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rdi], rax
lea rbx, [rdi + 0x20]
mov qword [rbp - 0x68], rbx
mov ecx, 0x64
call fcn.14011ba90
mov ecx, eax
mov qword [rbx + 8], rcx
xor eax, eax
mov qword [rbx + 0x10], rax
lea edx, [rax + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx], rax
mov qword [rbp + 0xa0], rdi
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.14010ec40
mov qword [rax], rsi
lea rcx, [rsp + 0x38]
call fcn.140143f20
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140011670
nop
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0xc0]
cmp rdx, 8
jb 0x140111cf2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140111ced
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140111f83
call fcn.14036c454
xor edi, edi
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], di
mov rbx, qword [rbp + 0xa0]
test rbx, rbx
je 0x140111d69
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
mov qword [rbx + 0x30], rdi
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x140011220]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.14011b9f0
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea edx, [rdi + 0x40]
mov rcx, rbx
call fcn.14036c454
nop
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140111db4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140111dae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140111f8a
call fcn.14036c454
nop
call fcn.14010aa30
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
je 0x140111dfa
add word [rcx + 0x10], r15w
jne 0x140111df0
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x140111df0
cmp byte [rbx + 0x12], 0
je 0x140111de3
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x48], rax
call fcn.14010aa30
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x140111e40
add word [rcx + 0x10], r15w
jne 0x140111e36
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140111e36
cmp byte [rbx + 0x12], 0
je 0x140111e29
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x40], rax
call fcn.14010aa30
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x140111e86
add word [rcx + 0x10], r15w
jne 0x140111e7c
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140111e7c
cmp byte [rbx + 0x12], 0
je 0x140111e6f
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x140111ed0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140111ecb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140111f91
call fcn.14036c454
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], di
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140111f26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140111f21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140111f98
call fcn.14036c454
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], 7
mov word [rbp], di
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140111f7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140111f77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140111f9f
call fcn.14036c454
mov al, 1
jmp 0x1401117df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor al, al
jmp 0x140112005
mov ecx, Ordinal_41
call fcn.14036c0f8
mov rbx, rax
mov qword [rsp + 0x60], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [0x140575078], rbx
mov ecx, Ordinal_41
call fcn.14036c0f8
mov rbx, rax
mov qword [rsp + 0x60], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [0x140575070], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140575068], eax
mov al, 1
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14036c0d0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret