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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ba58
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x578bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x1b8], ebx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x578584], eax
cmp eax, 0xffffffff
jne 0x463c52
xor al, al
mov edi, 0xffff
test al, al
jne 0x4633c4
lea eax, [ebp - 0x30]
push 0x52a774
push eax
call fcn.0043f490
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0x57c0e0], 0
mov dword [ebp - 0x1b8], ebx
je 0x4633a6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x57c0e0]
je 0x4633a6
call fcn.004667a0
jmp 0x4633ab
mov al, byte [0x5785ac]
test al, al
je 0x4633c4
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x1b1], 1
cmp eax, 1
jae 0x4633cb
mov byte [ebp - 0x1b1], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x463439
push dword [ebp - 0x18]
and ebx, 0xfffffffe
mov dword [ebp - 0x1b8], ebx
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x463425
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46341b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464598
push ecx
push edx
call fcn.004c8cae
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp byte [ebp - 0x1b1], 0
je 0x464528
mov eax, dword [0x57bfc0]
test eax, eax
jne 0x463459
call fcn.00445e00
mov dword [0x57bfc0], eax
push eax
push dword [0x52e46c]
lea eax, [ebp - 0x1d0]
mov dword [ebp - 4], 1
push str.Thread_module_initialization_failed:_impossible_to_allocate_index_in_thread_local_storage
push eax
call fcn.0043eb90
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c8], esi
call fcn.0043fb80
cmp esi, eax
je 0x463494
inc word [esi + 8]
or ebx, 4
mov dword [ebp - 0x1b8], ebx
mov byte [ebp - 4], 3
call fcn.0043fb80
mov ecx, dword [ebp - 0x1d0]
cmp ecx, eax
je 0x4634eb
add word [ecx + 8], di
jne 0x4634e0
mov edi, dword [ebp - 0x1d0]
test edi, edi
je 0x4634db
cmp byte [edi + 0xa], 0
je 0x4634d0
push dword [edi]
call fcn.004e0f9d
add esp, 4
push 0xc
push edi
call fcn.004c8cae
add esp, 8
mov edi, 0xffff
call fcn.0043fb80
mov dword [ebp - 0x1d0], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x30], 0
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x1bc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463517
sub ecx, dword [ebp - 0x1bc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00420000
and ebx, 0xfffffffb
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 4], 4
call fcn.0043fb80
cmp esi, eax
je 0x463579
add word [esi + 8], di
jne 0x46356e
cmp byte [esi + 0xa], 0
je 0x463563
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x110], 0
mov dword [ebp - 4], 5
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 7
call fcn.00467dd0
test eax, eax
je 0x463616
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.004681c0
mov esi, eax
test esi, esi
jne 0x463624
lea eax, [ebp - 0x30]
push eax
call fcn.00469180
add esp, 4
mov esi, eax
call fcn.0043fb80
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 8
call fcn.0043fb80
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 9
call fcn.0043fb80
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], esi
mov dword [ebp - 0x1e0], 0
mov eax, dword [0x57bfc0]
mov byte [ebp - 4], 0xa
test eax, eax
jne 0x463674
call fcn.00445e00
mov dword [0x57bfc0], eax
push eax
push dword [0x52e46c]
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 0xb
push str.wx.sys_error
push eax
call fcn.0043eb90
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x1c0], esi
call fcn.0043fb80
cmp esi, eax
je 0x4636ac
inc word [esi + 8]
or ebx, 8
mov dword [ebp - 0x1b8], ebx
mov byte [ebp - 4], 0xd
call fcn.0043fb80
mov ecx, dword [ebp - 0x1d8]
cmp ecx, eax
je 0x463703
add word [ecx + 8], di
jne 0x4636f8
mov edi, dword [ebp - 0x1d8]
test edi, edi
je 0x4636f3
cmp byte [edi + 0xa], 0
je 0x4636e8
push dword [edi]
call fcn.004e0f9d
add esp, 4
push 0xc
push edi
call fcn.004c8cae
add esp, 8
mov edi, 0xffff
call fcn.0043fb80
mov dword [ebp - 0x1d8], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x70], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x60], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x1bc], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463730
sub ecx, dword [ebp - 0x1bc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00420000
and ebx, 0xfffffff7
mov dword [ebp - 0x1b8], ebx
mov byte [ebp - 4], 0xe
call fcn.0043fb80
cmp esi, eax
je 0x46378f
add word [esi + 8], di
jne 0x463784
cmp byte [esi + 0xa], 0
je 0x463779
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
xorps xmm0, xmm0
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x158], str.D:wxWidgets_3.2.0_srcmsw_thread.cpp
mov dword [ebp - 0x150], str.wxThreadModule::OnInit
mov dword [ebp - 0x154], 0x52e
mov dword [ebp - 0x14c], 0x52a774
movlpd qword [ebp - 0x148], xmm0
movlpd qword [ebp - 0x140], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x138], eax
xor eax, eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 0x10
call sub.KERNEL32.dll_GetLastError
cmp dword [ebp - 0x120], 0
mov dword [ebp - 0x1bc], eax
je 0x46387e
cmp dword [0x57857c], 0
je 0x46387e
push str.can_only_have_one_optional_value
push str.m_optKey.empty__
push str.wxLogger::MaybeStore
push 0x39e
push str.D:wxWidgets_3.2.0includewxlog.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], 0
je 0x46387e
mov byte [0x57c0ac], 0
int3
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x130]
push eax
call fcn.00420000
mov edi, dword [ebp - 0x134]
test edi, edi
jne 0x463905
push 0x20
call fcn.004c8c7e
mov edi, eax
mov dword [ebp - 0x1dc], edi
push 0x64
mov byte [ebp - 4], 0x11
call fcn.00462ad0
push 4
push eax
mov dword [edi + 4], eax
mov dword [edi + 8], 0
call fcn.004e2542
mov dword [edi], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x12
push 0x64
mov dword [ebp - 0x1c4], esi
call fcn.00462ad0
push 4
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], 0
call fcn.004e2542
mov dword [esi], eax
add esp, 0x1c
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x134], edi
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.00447110
mov ecx, dword [ebp - 0x1bc]
mov dword [eax], ecx
lea ecx, [ebp - 0x1f0]
call fcn.00460dc0
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00429810
push dword [ebp - 0x118]
mov byte [ebp - 4], 0xf
call fcn.004e0f9d
mov ecx, dword [ebp - 0x11c]
add esp, 0xc
cmp ecx, 8
jb 0x463982
mov edx, dword [ebp - 0x130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x463978
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464598
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov esi, dword [ebp - 0x134]
xor eax, eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
test esi, esi
je 0x4639f8
push 0x429780
push dword [esi + 0x10]
mov byte [ebp - 4], 0x13
push dword [esi + 0x14]
call fcn.00462a80
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.004e0f9d
push 0x429750
push dword [esi]
mov byte [ebp - 4], 0x14
push dword [esi + 4]
call fcn.00462a80
push dword [esi]
mov dword [esi + 8], 0
call fcn.004e0f9d
push 0x20
push esi
call fcn.004c8cae
add esp, 0x28
push dword [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.004e0f9d
mov ecx, dword [ebp - 0x5c]
add esp, 4
cmp ecx, 8
jb 0x463a41
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x463a37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464598
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov byte [ebp - 4], 0x15
call fcn.0043fb80
mov ecx, dword [ebp - 0x1e8]
mov edi, 0xffff
cmp ecx, eax
je 0x463a8f
add word [ecx + 8], di
jne 0x463a84
mov esi, dword [ebp - 0x1e8]
test esi, esi
je 0x463a84
cmp byte [esi + 0xa], 0
je 0x463a79
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 4], 0x16
call fcn.0043fb80
mov ecx, dword [ebp - 0x1ec]
cmp ecx, eax
je 0x463ad8
add word [ecx + 8], di
jne 0x463acd
mov esi, dword [ebp - 0x1ec]
test esi, esi
je 0x463acd
cmp byte [esi + 0xa], 0
je 0x463ac2
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 0x17
call fcn.0043fb80
mov ecx, dword [ebp - 0x1f0]
cmp ecx, eax
je 0x463b21
add word [ecx + 8], di
jne 0x463b16
mov esi, dword [ebp - 0x1f0]
test esi, esi
je 0x463b16
cmp byte [esi + 0xa], 0
je 0x463b0b
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1f0], eax
push dword [ebp - 0xd8]
mov byte [ebp - 4], 6
call fcn.004e0f9d
mov ecx, dword [ebp - 0xdc]
add esp, 4
cmp ecx, 8
jb 0x463b73
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x463b69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464598
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0xf8]
xor eax, eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
mov byte [ebp - 4], 5
call fcn.004e0f9d
mov ecx, dword [ebp - 0xfc]
add esp, 4
cmp ecx, 8
jb 0x463be2
mov edx, dword [ebp - 0x110]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x463bd8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464598
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x463c4b
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x463c41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464598
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov al, 1
jmp 0x463361
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x46452c
push dword [0x578584]
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x578584], 0xffffffff
xor al, al
mov edi, 0xffff
test al, al
jne 0x463ce3
lea eax, [ebp - 0x30]
push 0x52a774
push eax
call fcn.0043f490
add esp, 8
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 0x18
cmp dword [0x57c0e0], 0
mov dword [ebp - 0x1b8], ebx
je 0x463cc5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x57c0e0]
je 0x463cc5
call fcn.004667a0
jmp 0x463cca
mov al, byte [0x5785ac]
test al, al
je 0x463ce3
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x1b1], 1
cmp eax, 1
jae 0x463cea
mov byte [ebp - 0x1b1], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x463d58
push dword [ebp - 0x18]
and ebx, 0xfffffffd
mov dword [ebp - 0x1b8], ebx
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x463d44
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x463d3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464598
push ecx
push edx
call fcn.004c8cae
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp byte [ebp - 0x1b1], 0
je 0x464528
mov eax, dword [0x57bfc0]
test eax, eax
jne 0x463d78
call fcn.00445e00
mov dword [0x57bfc0], eax
push eax
push dword [0x52e46c]
lea eax, [ebp - 0x1d8]
mov dword [ebp - 4], 0x19
push str.Thread_module_initialization_failed:_cannot_store_value_in_thread_local_storage
push eax
call fcn.0043eb90
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x1c8], esi
call fcn.0043fb80
cmp esi, eax
je 0x463db3
inc word [esi + 8]
or ebx, 0x10
mov dword [ebp - 0x1b8], ebx
mov byte [ebp - 4], 0x1b
call fcn.0043fb80
mov ecx, dword [ebp - 0x1d8]
cmp ecx, eax
je 0x463e0a
add word [ecx + 8], di
jne 0x463dff
mov edi, dword [ebp - 0x1d8]
test edi, edi
je 0x463dfa
cmp byte [edi + 0xa], 0
je 0x463def
push dword [edi]
call fcn.004e0f9d
add esp, 4
push 0xc
push edi
call fcn.004c8cae
add esp, 8
mov edi, 0xffff
call fcn.0043fb80
mov dword [ebp - 0x1d8], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x50], 0
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x40], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x1c0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463e36
sub ecx, dword [ebp - 0x1c0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00420000
and ebx, 0xffffffef
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 4], 0x1c
call fcn.0043fb80
cmp esi, eax
je 0x463e98
add word [esi + 8], di
jne 0x463e8d
cmp byte [esi + 0xa], 0
je 0x463e82
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 4], 0x1d
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0x1f
call fcn.00467dd0
test eax, eax
je 0x463f35
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.004681c0
mov esi, eax
test esi, esi
jne 0x463f43
lea eax, [ebp - 0x50]
push eax
call fcn.00469180
add esp, 4
mov esi, eax
call fcn.0043fb80
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 0x20
call fcn.0043fb80
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 0x21
call fcn.0043fb80
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], esi
mov dword [ebp - 0x1f4], 0
mov eax, dword [0x57bfc0]
mov byte [ebp - 4], 0x22
test eax, eax
jne 0x463f93
call fcn.00445e00
mov dword [0x57bfc0], eax
push eax
push dword [0x52e46c]
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 0x23
push str.wx.sys_error
push eax
call fcn.0043eb90
add esp, 0x10
mov esi, dword [eax]
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x1bc], esi
call fcn.0043fb80
cmp esi, eax
je 0x463fcb
inc word [esi + 8]
or ebx, 0x20
mov dword [ebp - 0x1b8], ebx
mov byte [ebp - 4], 0x25
call fcn.0043fb80
mov ecx, dword [ebp - 0x1d0]
cmp ecx, eax
je 0x464022
add word [ecx + 8], di
jne 0x464017
mov edi, dword [ebp - 0x1d0]
test edi, edi
je 0x464012
cmp byte [edi + 0xa], 0
je 0x464007
push dword [edi]
call fcn.004e0f9d
add esp, 4
push 0xc
push edi
call fcn.004c8cae
add esp, 8
mov edi, 0xffff
call fcn.0043fb80
mov dword [ebp - 0x1d0], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x90], 0
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x80], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x1c0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464054
sub ecx, dword [ebp - 0x1c0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.00420000
and ebx, 0xffffffdf
mov dword [ebp - 0x1b8], ebx
mov byte [ebp - 4], 0x26
call fcn.0043fb80
cmp esi, eax
je 0x4640b6
add word [esi + 8], di
jne 0x4640ab
cmp byte [esi + 0xa], 0
je 0x4640a0
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1b0], 1
mov dword [ebp - 0x1a8], str.D:wxWidgets_3.2.0_srcmsw_thread.cpp
mov dword [ebp - 0x1a0], str.wxThreadModule::OnInit
mov dword [ebp - 0x1a4], 0x53a
mov dword [ebp - 0x19c], 0x52a774
movlpd qword [ebp - 0x198], xmm0
movlpd qword [ebp - 0x190], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x188], eax
xor eax, eax
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 0x28
call sub.KERNEL32.dll_GetLastError
cmp dword [ebp - 0x170], 0
mov dword [ebp - 0x1c0], eax
je 0x4641a5
cmp dword [0x57857c], 0
je 0x4641a5
push str.can_only_have_one_optional_value
push str.m_optKey.empty__
push str.wxLogger::MaybeStore
push 0x39e
push str.D:wxWidgets_3.2.0includewxlog.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], 0
je 0x4641a5
mov byte [0x57c0ac], 0
int3
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
push dword [ebp - 0x80]
cmovae eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x180]
push eax
call fcn.00420000
mov edi, dword [ebp - 0x184]
test edi, edi
jne 0x464232
push 0x20
call fcn.004c8c7e
mov edi, eax
mov dword [ebp - 0x1c4], edi
push 0x64
mov byte [ebp - 4], 0x29
call fcn.00462ad0
push 4
push eax
mov dword [edi + 4], eax
mov dword [edi + 8], 0
call fcn.004e2542
mov dword [edi], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x2a
push 0x64
mov dword [ebp - 0x1dc], esi
call fcn.00462ad0
push 4
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], 0
call fcn.004e2542
mov dword [esi], eax
add esp, 0x1c
mov byte [ebp - 4], 0x28
mov dword [ebp - 0x184], edi
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.00447110
mov ecx, dword [ebp - 0x1c0]
mov dword [eax], ecx
lea ecx, [ebp - 0x204]
call fcn.00460dc0
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.00429810
push dword [ebp - 0x168]
mov byte [ebp - 4], 0x27
call fcn.004e0f9d
mov ecx, dword [ebp - 0x16c]
add esp, 0xc
cmp ecx, 8
jb 0x4642b2
mov edx, dword [ebp - 0x180]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4642a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464598
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov esi, dword [ebp - 0x184]
xor eax, eax
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
test esi, esi
je 0x464328
push 0x429780
push dword [esi + 0x10]
mov byte [ebp - 4], 0x2b
push dword [esi + 0x14]
call fcn.00462a80
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.004e0f9d
push 0x429750
push dword [esi]
mov byte [ebp - 4], 0x2c
push dword [esi + 4]
call fcn.00462a80
push dword [esi]
mov dword [esi + 8], 0
call fcn.004e0f9d
push 0x20
push esi
call fcn.004c8cae
add esp, 0x28
push dword [ebp - 0x78]
mov byte [ebp - 4], 0x22
call fcn.004e0f9d
mov ecx, dword [ebp - 0x7c]
add esp, 4
cmp ecx, 8
jb 0x464374
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46436a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464598
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov byte [ebp - 4], 0x2d
call fcn.0043fb80
mov ecx, dword [ebp - 0x1fc]
mov edi, 0xffff
cmp ecx, eax
je 0x4643c2
add word [ecx + 8], di
jne 0x4643b7
mov esi, dword [ebp - 0x1fc]
test esi, esi
je 0x4643b7
cmp byte [esi + 0xa], 0
je 0x4643ac
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 4], 0x2e
call fcn.0043fb80
mov ecx, dword [ebp - 0x200]
cmp ecx, eax
je 0x46440b
add word [ecx + 8], di
jne 0x464400
mov esi, dword [ebp - 0x200]
test esi, esi
je 0x464400
cmp byte [esi + 0xa], 0
je 0x4643f5
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 0x2f
call fcn.0043fb80
mov ecx, dword [ebp - 0x204]
cmp ecx, eax
je 0x464454
add word [ecx + 8], di
jne 0x464449
mov esi, dword [ebp - 0x204]
test esi, esi
je 0x464449
cmp byte [esi + 0xa], 0
je 0x46443e
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov dword [ebp - 0x204], eax
push dword [ebp - 0x98]
call fcn.004e0f9d
mov eax, dword [ebp - 0x9c]
add esp, 4
cmp eax, 8
jb 0x464480
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.004209e0
push dword [ebp - 0xb8]
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.004e0f9d
mov eax, dword [ebp - 0xbc]
add esp, 4
cmp eax, 8
jb 0x4644c9
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.004209e0
push dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004e0f9d
mov eax, dword [ebp - 0x3c]
add esp, 4
cmp eax, 8
jb 0x46450d
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.004209e0
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov al, 1
mov dword [ebp - 0x3c], 7
jmp 0x463c80
xor al, al
jmp 0x46457c
push 0x18
call fcn.004c8c7e
add esp, 4
mov esi, eax
mov dword [ebp - 0x1c4], esi
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push esi
call edi
push 0x18
mov dword [0x57c0e8], esi
call fcn.004c8c7e
add esp, 4
mov esi, eax
mov dword [ebp - 0x1c4], esi
push esi
call edi
push esi
mov dword [0x57c0e4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x57c0e0], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret
call fcn.004ce51f
int3