Function at 0x14005b260
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 [0x1404b3028]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor r13d, r13d
mov esi, r13d
mov dword [rsp + 0x30], r13d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1404b32e0], eax
cmp eax, 0xffffffff
jne 0x14005bab3
xor al, al
mov edi, 0xffff
lea r12, str.wxThreadModule::OnInit
lea r15, str.C:LibrarieswxWidgets3.2.4_srcmsw_thread.cpp
lea r14, [0x14033a5f8]
test al, al
jne 0x14005b32b
mov rdx, r14
lea rcx, [rbp + 0xb0]
call fcn.140044710
mov rbx, rax
or esi, 1
mov dword [rsp + 0x30], esi
cmp dword [0x1404c4ab8], 0
je 0x14005b30f
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x1404c4ab8]
je 0x14005b30f
call fcn.140051d10
jmp 0x14005b316
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x14005b32b
mov rcx, rbx
call fcn.1400518b0
cmp eax, 1
jb 0x14005b32b
mov bl, 1
jmp 0x14005b32d
xor bl, bl
test sil, 1
je 0x14005b353
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0xb0]
call fcn.140020db0
test bl, bl
je 0x14005c29c
mov rax, qword [0x1404c4808]
test rax, rax
jne 0x14005b373
call fcn.14004c0f0
mov qword [0x1404c4808], rax
mov r9, rax
mov r8, qword [0x14033b570]
lea rdx, str.Thread_module_initialization_failed:_impossible_to_allocate_index_in_thread_local_storage
lea rcx, [rbp - 0x80]
call fcn.140043df0
nop
mov rbx, qword [rax]
mov qword [rsp + 0x70], rbx
call fcn.140044e20
cmp rbx, rax
je 0x14005b3a4
inc word [rbx + 0x10]
or esi, 4
mov dword [rsp + 0x30], esi
call fcn.140044e20
mov rcx, qword [rbp - 0x80]
cmp rcx, rax
je 0x14005b3f2
add word [rcx + 0x10], di
jne 0x14005b3e9
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x14005b3e4
cmp byte [rdi + 0x12], 0
je 0x14005b3d7
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.14003b258
mov edi, 0xffff
call fcn.140044e20
mov qword [rbp - 0x80], rax
mov rdx, qword [rbx]
lea rcx, [rbp + 0xb0]
call fcn.1400476b0
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
call fcn.140044e20
cmp rbx, rax
je 0x14005b43e
add word [rbx + 0x10], di
jne 0x14005b434
cmp byte [rbx + 0x12], 0
je 0x14005b427
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x70], rax
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r13w
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], r13
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r13w
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
call fcn.14007be90
test rax, rax
je 0x14005b4b2
lea r9, [rbp + 0x50]
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0xb0]
mov rcx, rax
call fcn.14007c2d0
mov rbx, rax
test rax, rax
jne 0x14005b4c1
lea rcx, [rbp + 0xb0]
call fcn.14007d380
mov rbx, rax
call fcn.140044e20
mov qword [rsp + 0x40], rax
call fcn.140044e20
mov qword [rsp + 0x48], rax
call fcn.140044e20
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], r13
mov rax, qword [0x1404c4808]
test rax, rax
jne 0x14005b501
call fcn.14004c0f0
mov qword [0x1404c4808], rax
mov r9, rax
mov r8, qword [0x14033b570]
lea rdx, str.wx.sys_error
lea rcx, [rbp - 0x70]
call fcn.140043df0
nop
mov rbx, qword [rax]
mov qword [rsp + 0x78], rbx
call fcn.140044e20
cmp rbx, rax
je 0x14005b532
inc word [rbx + 0x10]
or esi, 8
mov dword [rsp + 0x30], esi
call fcn.140044e20
mov rcx, qword [rbp - 0x70]
cmp rcx, rax
je 0x14005b580
add word [rcx + 0x10], di
jne 0x14005b577
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x14005b572
cmp byte [rdi + 0x12], 0
je 0x14005b565
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.14003b258
mov edi, 0xffff
call fcn.140044e20
mov qword [rbp - 0x70], rax
mov rdx, qword [rbx]
lea rcx, [rbp + 0x80]
call fcn.1400476b0
and esi, 0xfffffff7
mov dword [rsp + 0x30], esi
call fcn.140044e20
cmp rbx, rax
je 0x14005b5cc
add word [rbx + 0x10], di
jne 0x14005b5c2
cmp byte [rbx + 0x12], 0
je 0x14005b5b5
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x78], rax
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], r13
mov dword [rbp - 0x60], 1
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r12
mov dword [rbp - 0x50], 0x5a4
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp - 0x28], eax
mov qword [rbp - 0x20], r13
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r13
mov qword [rbp], 7
mov word [rbp - 0x18], r13w
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], r13
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
cmp qword [rbp - 8], 0
je 0x14005b67e
cmp qword [0x1404b3060], 0
je 0x14005b67e
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:LibrarieswxWidgets3.2.4includewxlog.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x14005b67e
mov byte [0x1404c47a8], 0
int3
lea r12, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r12, qword [rbp + 0x80]
mov r15, qword [rbp + 0x90]
mov r14, qword [rbp]
cmp r15, r14
ja 0x14005b6d5
lea rdi, [rbp - 0x18]
cmp r14, 8
cmovae rdi, qword [rbp - 0x18]
mov qword [rbp - 8], r15
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
xor r15d, r15d
mov word [rdi + rbx], r15w
jmp 0x14005b78c
movabs rdx, 0x7ffffffffffffffe
cmp r15, rdx
ja 0x14005c331
mov rbx, r15
or rbx, 7
cmp rbx, rdx
jbe 0x14005b6f9
mov rbx, rdx
jmp 0x14005b71a
mov rcx, r14
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r14, rax
jbe 0x14005b70f
mov rbx, rdx
jmp 0x14005b71a
lea rax, [r14 + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x18]
call fcn.140011b20
mov rdi, rax
mov qword [rbp - 8], r15
mov qword [rbp], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor r15d, r15d
mov word [rdi + rbx], r15w
cmp r14, 8
jb 0x14005b788
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b783
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ba97
call fcn.14003b258
mov qword [rbp - 0x18], rdi
mov rdi, qword [rbp - 0x20]
test rdi, rdi
jne 0x14005b7f6
lea ecx, [rdi + 0x40]
call fcn.14003b21c
mov rdi, rax
mov qword [rsp + 0x38], rax
mov ecx, 0x64
call fcn.1400595d0
mov ecx, eax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r15
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 + 0x68], rbx
mov ecx, 0x64
call fcn.1400595d0
mov ecx, eax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], r15
mov edx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx], rax
mov qword [rbp - 0x20], rdi
lea rdx, [rbp + 0x80]
mov rcx, rdi
call fcn.14005a060
mov qword [rax], r13
lea rcx, [rsp + 0x40]
call fcn.140055070
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14003f190
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14005b869
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b864
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ba9e
call fcn.14003b258
xor r13d, r13d
mov qword [rbp - 8], r13
mov qword [rbp], 7
mov word [rbp - 0x18], r13w
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x14005b8d7
lea r8, [0x14003f090]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.140059540
mov qword [rbx + 0x30], r13
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x14003f050]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.140059540
mov qword [rbx + 0x10], r13
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea edx, [r13 + 0x40]
mov rcx, rbx
call fcn.14003b258
nop
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x80]
call fcn.140020db0
nop
call fcn.140044e20
mov rcx, qword [rsp + 0x50]
mov edi, 0xffff
cmp rcx, rax
je 0x14005b93b
add word [rcx + 0x10], di
jne 0x14005b931
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14005b931
cmp byte [rbx + 0x12], 0
je 0x14005b924
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x50], rax
call fcn.140044e20
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
je 0x14005b980
add word [rcx + 0x10], di
jne 0x14005b976
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14005b976
cmp byte [rbx + 0x12], 0
je 0x14005b969
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x48], rax
call fcn.140044e20
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x14005b9c5
add word [rcx + 0x10], di
jne 0x14005b9bb
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14005b9bb
cmp byte [rbx + 0x12], 0
je 0x14005b9ae
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14005ba0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ba0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005baa5
call fcn.14003b258
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r13w
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x14005ba66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ba61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005baac
call fcn.14003b258
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r13w
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0xb0]
call fcn.140020db0
mov al, 1
jmp 0x14005b2bf
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
xor edx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14005c2a0
mov ecx, dword [0x1404b32e0]
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x1404b32e0], 0xffffffff
xor al, al
mov edi, 0xffff
lea r12, str.wxThreadModule::OnInit
lea r15, str.C:LibrarieswxWidgets3.2.4_srcmsw_thread.cpp
lea r14, [0x14033a5f8]
test al, al
jne 0x14005bb4e
mov rdx, r14
lea rcx, [rbp + 0xb0]
call fcn.140044710
mov rbx, rax
or esi, 2
mov dword [rsp + 0x30], esi
cmp dword [0x1404c4ab8], 0
je 0x14005bb32
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x1404c4ab8]
je 0x14005bb32
call fcn.140051d10
jmp 0x14005bb39
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x14005bb4e
mov rcx, rbx
call fcn.1400518b0
cmp eax, 1
jb 0x14005bb4e
mov bl, 1
jmp 0x14005bb50
xor bl, bl
test sil, 2
je 0x14005bb76
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0xb0]
call fcn.140020db0
test bl, bl
je 0x14005c29c
mov rax, qword [0x1404c4808]
test rax, rax
jne 0x14005bb96
call fcn.14004c0f0
mov qword [0x1404c4808], rax
mov r9, rax
mov r8, qword [0x14033b570]
lea rdx, str.Thread_module_initialization_failed:_cannot_store_value_in_thread_local_storage
lea rcx, [rbp - 0x70]
call fcn.140043df0
nop
mov rbx, qword [rax]
mov qword [rsp + 0x78], rbx
call fcn.140044e20
cmp rbx, rax
je 0x14005bbc7
inc word [rbx + 0x10]
or esi, 0x10
mov dword [rsp + 0x30], esi
call fcn.140044e20
mov rcx, qword [rbp - 0x70]
cmp rcx, rax
je 0x14005bc15
add word [rcx + 0x10], di
jne 0x14005bc0c
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x14005bc07
cmp byte [rdi + 0x12], 0
je 0x14005bbfa
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.14003b258
mov edi, 0xffff
call fcn.140044e20
mov qword [rbp - 0x70], rax
mov rdx, qword [rbx]
lea rcx, [rbp + 0xb0]
call fcn.1400476b0
and esi, 0xffffffef
mov dword [rsp + 0x30], esi
call fcn.140044e20
cmp rbx, rax
je 0x14005bc61
add word [rbx + 0x10], di
jne 0x14005bc57
cmp byte [rbx + 0x12], 0
je 0x14005bc4a
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x78], rax
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r13w
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r13w
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], r13
call fcn.14007be90
test rax, rax
je 0x14005bcd5
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0xb0]
mov rcx, rax
call fcn.14007c2d0
mov rbx, rax
test rax, rax
jne 0x14005bce4
lea rcx, [rbp + 0xb0]
call fcn.14007d380
mov rbx, rax
call fcn.140044e20
mov qword [rsp + 0x40], rax
call fcn.140044e20
mov qword [rsp + 0x48], rax
call fcn.140044e20
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], r13
mov rax, qword [0x1404c4808]
test rax, rax
jne 0x14005bd24
call fcn.14004c0f0
mov qword [0x1404c4808], rax
mov r9, rax
mov r8, qword [0x14033b570]
lea rdx, str.wx.sys_error
lea rcx, [rbp - 0x80]
call fcn.140043df0
nop
mov rbx, qword [rax]
mov qword [rsp + 0x70], rbx
call fcn.140044e20
cmp rbx, rax
je 0x14005bd55
inc word [rbx + 0x10]
or esi, 0x20
mov dword [rsp + 0x30], esi
call fcn.140044e20
mov rcx, qword [rbp - 0x80]
cmp rcx, rax
je 0x14005bda3
add word [rcx + 0x10], di
jne 0x14005bd9a
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x14005bd95
cmp byte [rdi + 0x12], 0
je 0x14005bd88
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.14003b258
mov edi, 0xffff
call fcn.140044e20
mov qword [rbp - 0x80], rax
mov rdx, qword [rbx]
lea rcx, [rbp + 0x80]
call fcn.1400476b0
and esi, 0xffffffdf
mov dword [rsp + 0x30], esi
call fcn.140044e20
cmp rbx, rax
je 0x14005bdef
add word [rbx + 0x10], di
jne 0x14005bde5
cmp byte [rbx + 0x12], 0
je 0x14005bdd8
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x70], rax
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], r13
mov dword [rbp - 0x60], 1
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r12
mov dword [rbp - 0x50], 0x5b0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp - 0x28], eax
mov qword [rbp - 0x20], r13
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r13
mov qword [rbp], 7
mov word [rbp - 0x18], r13w
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], r13
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
cmp qword [rbp - 8], 0
je 0x14005bea1
cmp qword [0x1404b3060], 0
je 0x14005bea1
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:LibrarieswxWidgets3.2.4includewxlog.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x14005bea1
mov byte [0x1404c47a8], 0
int3
lea r12, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r12, qword [rbp + 0x80]
mov r15, qword [rbp + 0x90]
mov r14, qword [rbp]
cmp r15, r14
ja 0x14005bef8
lea rdi, [rbp - 0x18]
cmp r14, 8
cmovae rdi, qword [rbp - 0x18]
mov qword [rbp - 8], r15
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
xor r15d, r15d
mov word [rbx + rdi], r15w
jmp 0x14005bfaf
movabs rdx, 0x7ffffffffffffffe
cmp r15, rdx
ja 0x14005c32b
mov rbx, r15
or rbx, 7
cmp rbx, rdx
jbe 0x14005bf1c
mov rbx, rdx
jmp 0x14005bf3d
mov rcx, r14
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r14, rax
jbe 0x14005bf32
mov rbx, rdx
jmp 0x14005bf3d
lea rax, [r14 + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x18]
call fcn.140011b20
mov rdi, rax
mov qword [rbp - 8], r15
mov qword [rbp], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor r15d, r15d
mov word [rbx + rdi], r15w
cmp r14, 8
jb 0x14005bfab
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bfa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c280
call fcn.14003b258
mov qword [rbp - 0x18], rdi
mov rdi, qword [rbp - 0x20]
test rdi, rdi
jne 0x14005c019
lea ecx, [rdi + 0x40]
call fcn.14003b21c
mov rdi, rax
mov qword [rsp + 0x68], rax
mov ecx, 0x64
call fcn.1400595d0
mov ecx, eax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r15
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 + 0x38], rbx
mov ecx, 0x64
call fcn.1400595d0
mov ecx, eax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], r15
mov edx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx], rax
mov qword [rbp - 0x20], rdi
lea rdx, [rbp + 0x80]
mov rcx, rdi
call fcn.14005a060
mov qword [rax], r13
lea rcx, [rsp + 0x40]
call fcn.140055070
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14003f190
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14005c08c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c087
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c287
call fcn.14003b258
xor r13d, r13d
mov qword [rbp - 8], r13
mov qword [rbp], 7
mov word [rbp - 0x18], r13w
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x14005c0fa
lea r8, [0x14003f090]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.140059540
mov qword [rbx + 0x30], r13
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x14003f050]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.140059540
mov qword [rbx + 0x10], r13
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea edx, [r13 + 0x40]
mov rcx, rbx
call fcn.14003b258
nop
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x80]
call fcn.140020db0
nop
call fcn.140044e20
mov rcx, qword [rsp + 0x50]
mov edi, 0xffff
cmp rcx, rax
je 0x14005c15e
add word [rcx + 0x10], di
jne 0x14005c154
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14005c154
cmp byte [rbx + 0x12], 0
je 0x14005c147
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x50], rax
call fcn.140044e20
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
je 0x14005c1a3
add word [rcx + 0x10], di
jne 0x14005c199
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14005c199
cmp byte [rbx + 0x12], 0
je 0x14005c18c
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x40]
call fcn.1400111c0
nop
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x14005c1f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c1f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c28e
call fcn.14003b258
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r13w
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14005c24f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c24a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c295
call fcn.14003b258
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r13w
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0xb0]
call fcn.140020db0
mov al, 1
jmp 0x14005bae2
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
xor al, al
jmp 0x14005c2fb
mov ecx, Ordinal_41
call fcn.14003b21c
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [0x1404c4ac8], rbx
mov ecx, Ordinal_41
call fcn.14003b21c
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [0x1404c4ac0], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1404c4ab8], eax
mov al, 1
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14003b100
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
call fcn.140011a10
nop
call fcn.140011a10
int3