Function at 0x4536d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519f1a
mov eax, dword fs:[0]
push eax
sub esp, 0x150
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
mov edx, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x158], edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], ebx
test ecx, ecx
je 0x453776
test eax, eax
je 0x453776
cmp dword [0x57857c], ebx
je 0x453776
push ebx
push str.fileTemp__0__ffileTemp__0
push str.wxCreateTempImpl
push 0x384
push str.D:wxWidgets_3.2.0_srccommon_filename.cpp
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], bl
je 0x453770
mov byte [0x57c0ac], bl
int3
mov edx, dword [ebp - 0x12c]
xor eax, eax
mov dword [edx], ebx
mov dword [edx + 0x10], ebx
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
or ebx, 1
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
xor al, al
mov byte [ebp - 4], 2
mov byte [ebp - 0x123], al
mov byte [ebp - 0x122], al
test edi, edi
je 0x453818
mov al, byte [edi]
mov byte [ebp - 0x123], al
mov byte [ebp - 0x122], al
mov byte [edi], 0
jmp 0x45381e
lea edi, [ebp - 0x122]
push 0
push 0
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x100]
push eax
push esi
call fcn.00452e60
add esp, 0x14
cmp dword [ebp - 0xf0], 0
jne 0x453881
lea eax, [ebp - 0x30]
push eax
call fcn.00451480
add esp, 4
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x453875
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x453866
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x100]
call fcn.00420000
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00418510
push 0x105
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x154]
call fcn.0044e380
cmp dword [ebp - 0x10c], 8
lea edx, [ebp - 0x120]
cmovae edx, dword [ebp - 0x120]
mov eax, dword [eax + 4]
cmp dword [ebp - 0xec], 8
mov ecx, dword [eax]
lea eax, [ebp - 0x100]
cmovae eax, dword [ebp - 0x100]
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x154]
mov esi, eax
call fcn.0043d600
test esi, esi
jne 0x453c01
xor al, al
test al, al
jne 0x453945
lea eax, [ebp - 0x30]
push 0x52a774
push eax
call fcn.0043f490
add esp, 8
mov esi, eax
or ebx, 2
mov byte [ebp - 4], 4
cmp dword [0x57c0e0], 0
mov dword [ebp - 0x144], ebx
je 0x453927
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x57c0e0]
je 0x453927
call fcn.004667a0
jmp 0x45392c
mov al, byte [0x5785ac]
test al, al
je 0x453945
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x121], 1
cmp eax, 6
jae 0x45394c
mov byte [ebp - 0x121], 0
mov dword [ebp - 4], 2
test bl, 2
je 0x4539ba
push dword [ebp - 0x18]
and ebx, 0xfffffffd
mov dword [ebp - 0x144], ebx
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x4539a6
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45399c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454a46
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 - 0x121], 0
je 0x453be3
call fcn.0043fb80
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 5
call fcn.0043fb80
mov dword [ebp - 0x13c], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 6
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00442110
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
sub esp, 0x14
mov byte [ebp - 4], 7
mov esi, esp
mov dword [ebp - 0x14c], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.004677a0
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 4], 8
mov dword [ebp - 0xc0], 6
mov dword [ebp - 0xb8], str.D:wxWidgets_3.2.0_srccommon_filename.cpp
mov dword [ebp - 0xb0], str.wxCreateTempImpl
mov dword [ebp - 0xb4], 0x3a1
mov dword [ebp - 0xac], 0x52a774
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 9
call sub.KERNEL32.dll_GetLastError
push eax
push str.GetTempFileName
push 0x3a1
push str.D:wxWidgets_3.2.0_srccommon_filename.cpp
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xc0]
call fcn.00446d40
lea ecx, [ebp - 0x90]
call fcn.00418510
lea ecx, [ebp - 0xb8]
call fcn.00429010
mov byte [ebp - 4], 0xb
call fcn.0043fb80
mov ecx, dword [ebp - 0x138]
cmp ecx, eax
je 0x453b42
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x453b37
mov esi, dword [ebp - 0x138]
test esi, esi
je 0x453b37
cmp byte [esi + 0xa], 0
je 0x453b2c
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 - 0x138], eax
mov byte [ebp - 4], 0xc
call fcn.0043fb80
mov ecx, dword [ebp - 0x13c]
cmp ecx, eax
je 0x453b90
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x453b85
mov esi, dword [ebp - 0x13c]
test esi, esi
je 0x453b85
cmp byte [esi + 0xa], 0
je 0x453b7a
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 - 0x13c], eax
mov byte [ebp - 4], 0xd
call fcn.0043fb80
mov ecx, dword [ebp - 0x140]
cmp ecx, eax
je 0x453bd8
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x453bd3
mov esi, dword [ebp - 0x140]
test esi, esi
je 0x453bd3
cmp byte [esi + 0xa], 0
je 0x453bc8
push dword [esi]
call fcn.004e0f9d
add esp, 4
push 0xc
push esi
call fcn.004c8cae
add esp, 8
call fcn.0043fb80
mov byte [ebp - 4], 2
mov al, 1
jmp 0x4538e6
mov esi, dword [ebp - 0x12c]
mov eax, esi
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x453bfa
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
jmp 0x453c07
mov esi, dword [ebp - 0x12c]
cmp dword [esi + 0x10], 0
jne 0x454326
xor al, al
test al, al
jne 0x453c72
lea eax, [ebp - 0x30]
push 0x52a774
push eax
call fcn.0043f490
add esp, 8
mov esi, eax
or ebx, 4
mov byte [ebp - 4], 0xe
cmp dword [0x57c0e0], 0
mov dword [ebp - 0x144], ebx
je 0x453c54
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x57c0e0]
je 0x453c54
call fcn.004667a0
jmp 0x453c59
mov al, byte [0x5785ac]
test al, al
je 0x453c72
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x121], 1
cmp eax, 1
jae 0x453c79
mov byte [ebp - 0x121], 0
mov dword [ebp - 4], 2
test bl, 4
je 0x453ce7
push dword [ebp - 0x18]
and ebx, 0xfffffffb
mov dword [ebp - 0x144], ebx
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x453cd3
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x453cc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454a46
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 - 0x121], 0
je 0x454a0c
mov eax, dword [0x57bfc0]
test eax, eax
jne 0x453d07
call fcn.00445e00
mov dword [0x57bfc0], eax
push eax
lea eax, [ebp - 0x148]
push str.Failed_to_create_a_temporary_file_name
push eax
call fcn.00429e90
add esp, 0xc
mov eax, dword [eax]
mov byte [ebp - 4], 0xf
mov edx, dword [eax]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453d44
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00420000
mov byte [ebp - 4], 0x10
call fcn.0043fb80
mov ecx, eax
mov edi, 0xffff
mov eax, dword [ebp - 0x148]
cmp eax, ecx
je 0x453dad
add word [eax + 8], di
jne 0x453da2
mov esi, dword [ebp - 0x148]
test esi, esi
je 0x453da2
cmp byte [esi + 0xa], 0
je 0x453d97
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 - 0x148], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x13
call fcn.00467dd0
test eax, eax
je 0x453e19
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.004681c0
mov esi, eax
test esi, esi
jne 0x453e27
lea eax, [ebp - 0x30]
push eax
call fcn.00469180
add esp, 4
mov esi, eax
call fcn.0043fb80
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0x14
call fcn.0043fb80
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0x15
call fcn.0043fb80
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x130], 0
mov eax, dword [0x57bfc0]
mov byte [ebp - 4], 0x16
test eax, eax
jne 0x453e77
call fcn.00445e00
mov dword [0x57bfc0], eax
push eax
lea eax, [ebp - 0x128]
push str.wx.sys_error
push eax
call fcn.00429e90
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0xe0], 0
mov byte [ebp - 4], 0x17
mov dword [ebp - 0xd0], 0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453ec0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.00420000
mov byte [ebp - 4], 0x18
call fcn.0043fb80
mov ecx, eax
mov eax, dword [ebp - 0x128]
cmp eax, ecx
je 0x453f27
add word [eax + 8], di
jne 0x453f1c
mov esi, dword [ebp - 0x128]
test esi, esi
je 0x453f1c
cmp byte [esi + 0xa], 0
je 0x453f11
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 - 0x128], eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x19
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0xb8], str.D:wxWidgets_3.2.0_srccommon_filename.cpp
mov dword [ebp - 0xb0], str.wxCreateTempImpl
mov dword [ebp - 0xb4], 0x409
mov dword [ebp - 0xac], 0x52a774
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0x1a
call sub.KERNEL32.dll_GetLastError
cmp dword [ebp - 0x80], 0
mov dword [ebp - 0x14c], eax
je 0x454010
cmp dword [0x57857c], 0
je 0x454010
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 0x454010
mov byte [0x57c0ac], 0
int3
cmp dword [ebp - 0xcc], 8
lea eax, [ebp - 0xe0]
push dword [ebp - 0xd0]
cmovae eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0x90]
push eax
call fcn.00420000
mov edi, dword [ebp - 0x94]
test edi, edi
jne 0x4540a3
push 0x20
call fcn.004c8c7e
mov edi, eax
mov dword [ebp - 0x15c], edi
push 0x64
mov byte [ebp - 4], 0x1b
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], 0x1c
push 0x64
mov dword [ebp - 0x150], 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], 0x1a
mov dword [ebp - 0x94], edi
lea eax, [ebp - 0xe0]
mov ecx, edi
push eax
call fcn.00447110
mov ecx, dword [ebp - 0x14c]
mov dword [eax], ecx
lea ecx, [ebp - 0x140]
call fcn.00460dc0
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00429810
add esp, 8
lea ecx, [ebp - 0x90]
call fcn.00418510
lea ecx, [ebp - 0xb8]
call fcn.00429010
push dword [ebp - 0xc8]
mov byte [ebp - 4], 0x16
call fcn.004e0f9d
mov ecx, dword [ebp - 0xcc]
add esp, 4
cmp ecx, 8
jb 0x45413c
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454132
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454a46
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov byte [ebp - 4], 0x1d
call fcn.0043fb80
mov ecx, dword [ebp - 0x138]
mov edi, 0xffff
cmp ecx, eax
je 0x45418a
add word [ecx + 8], di
jne 0x45417f
mov esi, dword [ebp - 0x138]
test esi, esi
je 0x45417f
cmp byte [esi + 0xa], 0
je 0x454174
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 - 0x138], eax
mov byte [ebp - 4], 0x1e
call fcn.0043fb80
mov ecx, dword [ebp - 0x13c]
cmp ecx, eax
je 0x4541d3
add word [ecx + 8], di
jne 0x4541c8
mov esi, dword [ebp - 0x13c]
test esi, esi
je 0x4541c8
cmp byte [esi + 0xa], 0
je 0x4541bd
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 - 0x13c], eax
mov byte [ebp - 4], 0x1f
call fcn.0043fb80
mov ecx, dword [ebp - 0x140]
cmp ecx, eax
je 0x45421c
add word [ecx + 8], di
jne 0x454211
mov esi, dword [ebp - 0x140]
test esi, esi
je 0x454211
cmp byte [esi + 0xa], 0
je 0x454206
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 - 0x140], eax
push dword [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.004e0f9d
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 8
jb 0x454265
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45425b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454a46
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 0x11
call fcn.004e0f9d
mov ecx, dword [ebp - 0x5c]
add esp, 4
cmp ecx, 8
jb 0x4542c2
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4542b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454a46
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 2
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x45431f
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454315
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454a46
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov al, 1
jmp 0x453c13
mov ecx, dword [ebp - 0x128]
mov al, 1
mov byte [ebp - 0x121], al
test ecx, ecx
je 0x454394
cmp dword [ecx], 0xffffffff
jne 0x454394
mov al, byte [ebp - 0x123]
push edi
push esi
mov byte [edi], al
call fcn.00455340
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x454384
mov ecx, dword [ebp - 0x128]
call fcn.0046e980
mov eax, dword [ebp - 0x128]
mov cl, byte [ebp - 0x122]
mov dword [eax], esi
mov esi, dword [ebp - 0x12c]
mov dword [eax + 4], 0
mov al, byte [ebp - 0x121]
jmp 0x45439a
mov cl, byte [ebp - 0x122]
xor al, al
mov esi, dword [ebp - 0x12c]
jmp 0x45439a
mov cl, byte [ebp - 0x123]
mov edx, dword [ebp - 0x148]
test edx, edx
je 0x45446d
cmp dword [edx], 0
jne 0x45446d
mov byte [edi], cl
mov eax, esi
test cl, cl
je 0x4543ec
cmp dword [esi + 0x14], 8
jb 0x4543c1
mov eax, dword [esi]
push 0
push 0x4000100
push 4
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x8000
push eax
call fcn.004e702b
add esp, 8
mov ecx, eax
jmp 0x454423
mov byte [edi], 0
cmp dword [esi + 0x14], 8
jb 0x4543f7
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x14c]
push ecx
push 0x180
push 0x40
push 0x8102
push eax
call fcn.004e7858
mov ecx, dword [ebp - 0x14c]
or edx, 0xffffffff
add esp, 0x18
test eax, eax
cmovne ecx, edx
cmp ecx, 0xffffffff
je 0x454475
push 0x52a76c
push ecx
call fcn.004e8577
mov edi, dword [ebp - 0x148]
add esp, 8
mov ecx, edi
mov esi, eax
call fcn.0047c6b0
mov dword [edi], esi
lea ecx, [edi + 4]
mov esi, dword [ebp - 0x12c]
cmp ecx, esi
je 0x454467
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45445e
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00420000
cmp dword [edi], 0
setne al
test al, al
jne 0x454a12
xor al, al
test al, al
jne 0x4544d6
lea eax, [ebp - 0x30]
push 0x52a774
push eax
call fcn.0043f490
add esp, 8
mov esi, eax
or ebx, 8
mov byte [ebp - 4], 0x20
cmp dword [0x57c0e0], 0
mov dword [ebp - 0x144], ebx
je 0x4544b8
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x57c0e0]
je 0x4544b8
call fcn.004667a0
jmp 0x4544bd
mov al, byte [0x5785ac]
test al, al
je 0x4544d6
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x121], 1
cmp eax, 1
jae 0x4544dd
mov byte [ebp - 0x121], 0
mov dword [ebp - 4], 2
test bl, 8
je 0x454537
push dword [ebp - 0x18]
and ebx, 0xfffffff7
mov dword [ebp - 0x144], ebx
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x454537
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45452d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454a46
push ecx
push edx
call fcn.004c8cae
add esp, 8
cmp byte [ebp - 0x121], 0
je 0x4549ee
mov eax, dword [0x57bfc0]
test eax, eax
jne 0x454557
call fcn.00445e00
mov dword [0x57bfc0], eax
push eax
lea eax, [ebp - 0x128]
push str.Failed_to_open_temporary_file.
push eax
call fcn.00429e90
add esp, 0xc
mov eax, dword [eax]
mov byte [ebp - 4], 0x21
mov edx, dword [eax]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454594
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00420000
mov byte [ebp - 4], 0x22
call fcn.0043fb80
mov ecx, eax
mov edi, 0xffff
mov eax, dword [ebp - 0x128]
cmp eax, ecx
je 0x4545fd
add word [eax + 8], di
jne 0x4545f2
mov esi, dword [ebp - 0x128]
test esi, esi
je 0x4545f2
cmp byte [esi + 0xa], 0
je 0x4545e7
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 - 0x128], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0x25
call fcn.00467dd0
test eax, eax
je 0x454669
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.004681c0
mov esi, eax
test esi, esi
jne 0x454677
lea eax, [ebp - 0x30]
push eax
call fcn.00469180
add esp, 4
mov esi, eax
call fcn.0043fb80
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0x26
call fcn.0043fb80
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0x27
call fcn.0043fb80
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x130], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x28
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0xb8], str.D:wxWidgets_3.2.0_srccommon_filename.cpp
mov dword [ebp - 0xb0], str.wxCreateTempImpl
mov dword [ebp - 0xb4], 0x42c
mov dword [ebp - 0xac], 0x52a774
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x29
call fcn.00460dc0
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00429810
push dword [ebp - 0x78]
mov byte [ebp - 4], 0x28
call fcn.004e0f9d
mov ecx, dword [ebp - 0x7c]
add esp, 0xc
cmp ecx, 8
jb 0x45479d
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454793
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454a46
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov esi, dword [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
test esi, esi
je 0x45480d
push 0x429780
push dword [esi + 0x10]
mov byte [ebp - 4], 0x2a
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], 0x2b
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
mov byte [ebp - 4], 0x2c
call fcn.0043fb80
mov ecx, dword [ebp - 0x138]
cmp ecx, eax
je 0x454856
add word [ecx + 8], di
jne 0x45484b
mov esi, dword [ebp - 0x138]
test esi, esi
je 0x45484b
cmp byte [esi + 0xa], 0
je 0x454840
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 - 0x138], eax
mov byte [ebp - 4], 0x2d
call fcn.0043fb80
mov ecx, dword [ebp - 0x13c]
cmp ecx, eax
je 0x45489f
add word [ecx + 8], di
jne 0x454894
mov esi, dword [ebp - 0x13c]
test esi, esi
je 0x454894
cmp byte [esi + 0xa], 0
je 0x454889
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 - 0x13c], eax
mov byte [ebp - 4], 0x2e
call fcn.0043fb80
mov ecx, dword [ebp - 0x140]
cmp ecx, eax
je 0x4548e8
add word [ecx + 8], di
jne 0x4548dd
mov esi, dword [ebp - 0x140]
test esi, esi
je 0x4548dd
cmp byte [esi + 0xa], 0
je 0x4548d2
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 - 0x140], eax
push dword [ebp - 0x58]
mov byte [ebp - 4], 0x24
call fcn.004e0f9d
mov ecx, dword [ebp - 0x5c]
add esp, 4
cmp ecx, 8
jb 0x454931
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454927
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454a46
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0x23
call fcn.004e0f9d
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 8
jb 0x45498e
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454984
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454a46
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 2
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x4549e7
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4549dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454a46
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov al, 1
jmp 0x454477
mov esi, dword [ebp - 0x12c]
mov eax, esi
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x454a05
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
jmp 0x454a12
mov esi, dword [ebp - 0x12c]
lea ecx, [ebp - 0x120]
call fcn.00418510
lea ecx, [ebp - 0x100]
call fcn.00418510
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 - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret
call fcn.004ce51f
int3