Function at 0x4028e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8dd0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x408
mov eax, dword [0x53f084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3e0], edi
xor esi, esi
push esi
push esi
push 1
push esi
mov dword [ebp - 0x3d4], esi
mov dword [ebp - 0x3dc], esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0x7d0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [ebp - 4], esi
push 8
mov dword [ebp - 0x400], esi
mov dword [ebp - 0x3fc], esi
mov dword [ebp - 0x3f8], esi
mov dword [ebp - 0x3f4], esi
mov dword [ebp - 0x3f0], esi
call fcn.004d1720
mov dword [ebp - 0x400], eax
lea ecx, [ebp - 0x400]
add esp, 4
mov dword [eax], esi
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x400]
mov dword [eax], ecx
mov byte [ebp - 4], 1
cmp dword [0x543fdc], 1
jne 0x4029e3
cmp dword [0x54476c], esi
je 0x4029e3
push 3
push 0xf
push str.f:my_lab_tabexplorerextab_masterlibrary_base_at_exit.cpp
lea ecx, [ebp - 0xd0]
call fcn.0040eda0
mov byte [ebp - 4], 2
lea ecx, [eax + 8]
mov esi, 0x100
mov edx, str.Check_failed:__g_top_manager.
mov dword [ebp - 0x3d4], esi
mov dword [ebp - 0x3dc], esi
call fcn.00405a30
test esi, 0x100
je 0x402a02
and esi, 0xfffffeff
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x3d4], esi
call fcn.0040f1c0
lea eax, [ebp - 0x418]
mov dword [0x54476c], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
mov byte [ebp - 4], 4
call fcn.0042e210
push ecx
lea ecx, [ebp - 0x3d0]
call fcn.00411b50
mov byte [ebp - 4], 5
cmp dword [0x543fdc], 1
jne 0x402a9c
cmp dword [edi + 0xc], 0
je 0x402a9c
push 3
push 0xab
push str.f:my_lab_tabexplorerextab_master_srcmini_installerinstall_ui.cpp
lea ecx, [ebp - 0xd0]
call fcn.0040eda0
mov byte [ebp - 4], 6
lea ecx, [eax + 8]
or esi, 1
mov edx, str.Check_failed:_contents___NULL.
mov dword [ebp - 0x3d4], esi
mov dword [ebp - 0x3dc], esi
call fcn.00405a30
mov edx, str.Run_called_more_than_once.
mov ecx, eax
call fcn.00405a30
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x3d4]
test al, 1
je 0x402ac1
and eax, 0xfffffffe
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x3d4], eax
call fcn.0040f1c0
push 0x84
call fcn.004d1720
add esp, 4
mov dword [ebp - 0x22c], eax
mov ecx, eax
call fcn.00432780
push 0xc
mov dword [edi + 0xc], eax
call fcn.004d1720
mov esi, eax
add esp, 4
mov dword [ebp - 0x22c], esi
push 0
mov dword [esi + 8], 0
mov dword [esi], vtable.view::SolidBackground.0
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 8], 0
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x3d8], eax
mov ecx, dword [eax + 0x4c]
cmp esi, ecx
je 0x402b36
test ecx, ecx
je 0x402b33
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x3d8]
mov dword [eax + 0x4c], esi
push 0x14
call fcn.004d1720
mov esi, eax
add esp, 4
mov dword [ebp - 0x22c], esi
mov dword [esi], vtable.view::BoxLayout.0
mov dword [esi + 4], 1
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov edi, dword [edi + 0xc]
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x402b7a
mov eax, dword [ecx]
push edi
call dword [eax + 8]
mov ecx, dword [edi + 0x48]
cmp esi, ecx
je 0x402b8e
test ecx, ecx
je 0x402b8b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x48], esi
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x402b9b
mov eax, dword [ecx]
push edi
call dword [eax + 4]
push 0xe0
call fcn.004d1720
mov esi, eax
add esp, 4
mov dword [ebp - 0x22c], esi
xor eax, eax
mov byte [ebp - 4], 7
push eax
push 0x513480
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
call fcn.00405110
mov eax, dword [ebp - 0x3d4]
mov ecx, esi
or eax, 2
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3dc], eax
call fcn.00432780
mov dword [ebp - 4], 9
xor eax, eax
mov dword [esi], vtable.view::Label.0
mov dword [esi + 4], vtable.view::Label.1.0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 7
mov word [esi + 0x84], ax
lea eax, [esi + 0x9c]
mov byte [ebp - 4], 0xa
push 0xc
mov dword [ebp - 0x3d8], eax
call fcn.004d1720
mov edi, eax
add esp, 4
mov dword [ebp - 0x3d8], edi
mov dword [edi + 4], 0
mov byte [ebp - 4], 0xc
mov dword [edi], vtable.gfx::PlatformFontWin.0
call fcn.004bd710
mov dword [edi + 8], eax
test eax, eax
je 0x402c70
inc dword [eax]
mov dword [esi + 0x9c], edi
inc dword [edi + 4]
mov dword [esi + 0xa4], 0
xor eax, eax
mov dword [esi + 0xa8], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 7
mov word [esi + 0xb4], ax
mov dword [esi + 0xd0], eax
mov byte [ebp - 4], 0xf
call fcn.0042e3e0
mov edi, eax
mov esi, dword [edi]
push esi
mov dword [ebp - 0x3d8], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.0042e830
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x20]
mov esi, dword [esi]
mov dword [ebp - 0x3d8], esi
test esi, esi
je 0x402cee
inc dword [esi + 4]
mov eax, dword [ebp - 0x3d4]
or eax, 0x400
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x3d8]
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x22c]
mov ecx, edi
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00439520
mov byte [ebp - 4], 0x12
test esi, esi
je 0x402d3f
add dword [esi + 4], 0xffffffff
jne 0x402d3f
mov ecx, esi
test ecx, ecx
je 0x402d3f
mov eax, dword [ecx]
push 1
call dword [eax + 0x28]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x258]
and dword [ebp - 0x3d4], 0xfffffffd
call fcn.00405080
mov esi, dword [ebp - 0x3e0]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
sar eax, 2
push eax
push edi
call fcn.004329f0
push 0x84
call fcn.004d1720
add esp, 4
mov dword [ebp - 0x22c], eax
mov ecx, eax
call fcn.00432780
mov edi, eax
mov dword [ebp - 0x22c], 0
lea esi, [ebp - 0x3dc]
mov dword [ebp - 0x3d8], edi
lea ecx, [ebp - 0x22c]
mov edx, dword [edi + 0x30]
test edx, edx
mov eax, dword [edi + 0x2c]
mov edi, dword [edi + 0x28]
cmovg ecx, esi
mov dword [ebp - 0x3dc], edx
mov esi, dword [ecx]
xor ecx, ecx
test eax, eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], edi
cmovle eax, ecx
lea ecx, [ebp - 0x230]
push eax
call fcn.0042d150
xor eax, eax
test esi, esi
cmovns eax, esi
mov esi, dword [ebp - 0x3d8]
mov dword [ebp - 0x22c], eax
mov ecx, esi
lea eax, [ebp - 0x238]
push eax
call fcn.00432dd0
push 0x14
call fcn.004d1720
mov edi, eax
add esp, 4
mov dword [ebp - 0x22c], edi
mov dword [edi], vtable.view::BoxLayout.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0xaf
mov dword [edi + 0xc], 0x3c
mov dword [edi + 0x10], 5
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x402e40
mov eax, dword [ecx]
push esi
call dword [eax + 8]
mov ecx, dword [esi + 0x48]
cmp edi, ecx
je 0x402e54
test ecx, ecx
je 0x402e51
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x48], edi
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x402e61
mov eax, dword [ecx]
push esi
call dword [eax + 4]
push 0x1f8
call fcn.004d1720
mov esi, eax
add esp, 4
mov dword [ebp - 0x22c], esi
mov edi, dword [ebp - 0x3e0]
lea ecx, [ebp - 0x258]
mov edx, 0x67
mov byte [ebp - 4], 0x14
call fcn.0042f7e0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x3d4]
or ecx, 4
mov dword [ebp - 0x3dc], ecx
lea ecx, [ebp - 0x2a0]
push eax
call fcn.00404020
mov dword [ebp - 4], 0x16
lea ecx, [edi + 8]
mov eax, dword [ebp - 0x3d4]
or eax, 0x100c
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x2a0]
push eax
push ecx
mov ecx, esi
call fcn.00430e40
lea ecx, [ebp - 0x2a0]
mov dword [edi + 0x18], eax
call fcn.00405080
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x258]
and dword [ebp - 0x3d4], 0xfffffff3
call fcn.00405080
push 0xc
call fcn.004d1720
mov esi, eax
add esp, 4
mov dword [ebp - 0x22c], esi
push 0
mov dword [esi + 8], 0
mov dword [esi], vtable.view::SolidBackground.0
mov dword [esi + 4], 0xff0091fa
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 8], 0
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x22c], eax
mov ecx, dword [eax + 0x4c]
cmp esi, ecx
je 0x402f5e
test ecx, ecx
je 0x402f5b
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x22c]
mov dword [eax + 0x4c], esi
mov eax, dword [edi + 0x18]
mov dword [eax + 0x14c], 5
mov dword [eax + 0x150], 2
mov eax, dword [edi + 0x18]
mov byte [eax + 0x74], 1
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov dword [ecx + 0x128], 0xffffffff
call dword [eax + 0x1a4]
call fcn.0042e3e0
mov edi, eax
mov esi, dword [edi]
push esi
mov dword [ebp - 0x22c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
mov byte [ebp - 4], 0x19
call fcn.0042e830
push esi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x2c]
mov esi, dword [ebp - 0x3e0]
mov edi, dword [eax]
mov edx, dword [esi + 0x18]
mov dword [ebp - 0x22c], edx
test edi, edi
je 0x402fd8
inc dword [edi + 4]
mov eax, dword [edx + 0x120]
test eax, eax
je 0x402ffb
add dword [eax + 4], 0xffffffff
jne 0x402ffb
mov ecx, eax
test ecx, ecx
je 0x402ffb
mov eax, dword [ecx]
push 1
call dword [eax + 0x28]
mov edx, dword [ebp - 0x22c]
mov ecx, edx
mov dword [edx + 0x120], edi
call fcn.004305b0
mov edi, dword [ebp - 0x3d8]
mov ecx, edi
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x18]
sar eax, 2
push eax
push dword [esi + 0x18]
call fcn.004329f0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
sar eax, 2
push eax
push edi
call fcn.004329f0
push 0x110
call fcn.004d1720
mov edi, eax
add esp, 4
mov dword [ebp - 0x3d8], edi
mov ecx, edi
call fcn.00432780
mov byte [ebp - 4], 0x1b
lea eax, [edi + 0x90]
push 0xc
mov dword [edi], vtable.view::Textfield.0
mov dword [edi + 4], vtable.view::Textfield.1.0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [ebp - 0x22c], eax
call fcn.004d1720
add esp, 4
mov dword [ebp - 0x22c], eax
mov dword [eax + 4], 0
mov byte [ebp - 4], 0x1d
mov dword [eax], vtable.gfx::PlatformFontWin.0
call fcn.004bd710
mov ecx, eax
mov eax, dword [ebp - 0x22c]
mov dword [eax + 8], ecx
test ecx, ecx
je 0x4030c3
inc dword [ecx]
mov dword [edi + 0x90], eax
inc dword [eax + 4]
xor eax, eax
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 7
mov word [edi + 0x94], ax
mov byte [edi + 0xac], al
mov byte [edi + 0xb4], 1
mov dword [edi + 0xb8], 0xff000000
mov byte [edi + 0xbc], 1
mov dword [edi + 0xc0], 0xffffffff
mov word [edi + 0xc4], 1
mov dword [edi + 0xc8], eax
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd4], eax
mov word [edi + 0xd8], ax
mov dword [edi + 0xec], eax
mov dword [edi + 0xf0], 7
mov word [edi + 0xdc], ax
mov dword [edi + 0x104], eax
mov dword [edi + 0x108], 7
mov word [edi + 0xf4], ax
mov dword [edi + 0x10c], 1
mov byte [edi + 0x74], 1
mov byte [ebp - 4], 5
mov dword [esi + 0x20], edi
mov dword [edi + 0xb0], 0x3c
call fcn.0042e3e0
mov edi, eax
mov esi, dword [edi]
push esi
mov dword [ebp - 0x22c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
mov byte [ebp - 4], 0x1e
call fcn.0042e830
push esi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x20]
mov edi, dword [ebp - 0x3e0]
mov eax, dword [eax]
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x4031cd
inc dword [eax + 4]
mov eax, dword [esi + 0x90]
test eax, eax
je 0x4031ea
add dword [eax + 4], 0xffffffff
jne 0x4031ea
mov ecx, eax
test ecx, ecx
je 0x4031ea
mov eax, dword [ecx]
push 1
call dword [eax + 0x28]
mov eax, dword [ebp - 0x22c]
mov dword [esi + 0x90], eax
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x403205
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x114]
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 0x84]
mov dword [eax + 0xb8], 0xff888888
mov byte [eax + 0xbc], 0
test ecx, ecx
je 0x403232
mov eax, dword [ecx]
call dword [eax + 0x20]
push 0x84
call fcn.004d1720
add esp, 4
mov dword [ebp - 0x22c], eax
mov ecx, eax
call fcn.00432780
push 0x14
mov esi, eax
call fcn.004d1720
mov dword [ebp - 0x3d8], eax
add esp, 4
mov dword [eax], vtable.view::BoxLayout.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0xf0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x403293
mov eax, dword [ecx]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x3d8]
mov ecx, dword [esi + 0x48]
cmp eax, ecx
je 0x4032ad
test ecx, ecx
je 0x4032aa
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x3d8]
mov dword [esi + 0x48], eax
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4032ba
mov eax, dword [ecx]
push esi
call dword [eax + 4]
push 0xb8
call fcn.004d1720
mov dword [ebp - 0x3d8], eax
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.004399e0
mov byte [ebp - 4], 0x20
cmp byte [0x548d15], 0
mov ecx, dword [ebp - 0x3d8]
mov dword [ecx], vtable.view::CheckmarkThrobber.0
mov dword [ecx + 4], vtable.view::CheckmarkThrobber.1.0
mov byte [ecx + 0xb0], 0
jne 0x403329
call fcn.0042e3e0
push 0
push 0x1596
mov ecx, eax
call fcn.0042e4b0
mov ecx, eax
call fcn.0042d590
mov ecx, dword [ebp - 0x3d8]
mov dword [0x5444b4], eax
mov byte [0x548d15], 1
mov byte [ebp - 4], 5
mov dword [edi + 0x2c], ecx
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
sar eax, 2
push eax
push ecx
mov ecx, esi
call fcn.004329f0
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
sar eax, 2
push eax
push esi
call fcn.004329f0
push 0x84
call fcn.004d1720
add esp, 4
mov dword [ebp - 0x22c], eax
mov ecx, eax
call fcn.00432780
push 0x14
mov dword [edi + 0x30], eax
call fcn.004d1720
mov dword [ebp - 0x3d8], eax
add esp, 4
mov dword [eax], vtable.view::BoxLayout.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x1e
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov esi, dword [edi + 0x30]
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4033ba
mov eax, dword [ecx]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x3d8]
mov ecx, dword [esi + 0x48]
cmp eax, ecx
je 0x4033d4
test ecx, ecx
je 0x4033d1
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x3d8]
mov dword [esi + 0x48], eax
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4033e1
mov eax, dword [ecx]
push esi
call dword [eax + 4]
push 0x1f8
call fcn.004d1720
mov esi, eax
add esp, 4
mov dword [ebp - 0x22c], esi
mov edx, 0x68
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x258]
call fcn.0042f7e0
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x3d4]
or ecx, 0x10
mov dword [ebp - 0x3dc], ecx
lea ecx, [ebp - 0x2a0]
push eax
call fcn.00404020
mov dword [ebp - 4], 0x23
mov ecx, esi
mov eax, dword [ebp - 0x3d4]
or eax, 0x8030
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [edi + 8]
push eax
call fcn.00430e40
lea ecx, [ebp - 0x2a0]
mov dword [edi + 0x1c], eax
call fcn.00405080
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x258]
and dword [ebp - 0x3d4], 0xffffffcf
call fcn.00405080
call fcn.0042e3e0
mov edi, eax
mov esi, dword [edi]
push esi
mov dword [ebp - 0x22c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
mov byte [ebp - 4], 0x26
call fcn.0042e830
push esi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x20]
mov edi, dword [ebp - 0x3e0]
mov esi, dword [eax]
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0x22c], edx
test esi, esi
je 0x4034c7
inc dword [esi + 4]
mov eax, dword [edx + 0x120]
test eax, eax
je 0x4034ea
add dword [eax + 4], 0xffffffff
jne 0x4034ea
mov ecx, eax
test ecx, ecx
je 0x4034ea
mov eax, dword [ecx]
push 1
call dword [eax + 0x28]
mov edx, dword [ebp - 0x22c]
mov ecx, edx
mov dword [edx + 0x120], esi
call fcn.004305b0
mov eax, dword [edi + 0x1c]
mov dword [eax + 0x15c], 2
mov eax, dword [edi + 0x1c]
mov byte [eax + 0x74], 1
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [ecx + 0x128], 0xff000000
call dword [eax + 0x1a4]
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
sar eax, 2
push eax
push dword [edi + 0x20]
call fcn.004329f0
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
sar eax, 2
push eax
push dword [edi + 0x1c]
call fcn.004329f0
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
sar eax, 2
push eax
push dword [edi + 0x30]
call fcn.004329f0
xor eax, eax
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x2a0]
push 0xb
push str.DisplayIcon
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
call fcn.00405110
lea edx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x288]
call fcn.00411060
mov esi, dword [ebp - 0x3d4]
lea ecx, [ebp - 0x2a0]
or esi, 0x10000
mov dword [ebp - 0x3d4], esi
call fcn.00405080
push 0x513480
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x29
call fcn.004083c0
test al, al
jne 0x4038c8
cmp dword [ebp - 0x274], 8
lea eax, [ebp - 0x288]
cmovae eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4038c8
mov esi, dword [ebp - 0x278]
push esi
push ecx
lea ecx, [ebp - 0x288]
call fcn.00403f30
mov ecx, eax
mov dword [ebp - 0x230], 0
xor eax, eax
mov dword [ebp - 0x22c], 7
cmp esi, ecx
mov word [ebp - 0x240], ax
lea eax, [ebp - 0x288]
cmovb ecx, esi
cmp dword [ebp - 0x274], 8
push ecx
cmovae eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x240]
push eax
call fcn.00405110
lea ecx, [ebp - 0x270]
call fcn.00405080
movups xmm0, xmmword [ebp - 0x240]
xor eax, eax
lea ecx, [ebp - 0x240]
mov word [ebp - 0x240], ax
movups xmmword [ebp - 0x270], xmm0
movq xmm0, qword [ebp - 0x230]
movq qword [ebp - 0x260], xmm0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
call fcn.00405080
push dword [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x270]
call fcn.00403f30
mov edx, eax
mov dword [ebp - 0x230], 0
xor eax, eax
mov dword [ebp - 0x22c], 7
cmp dword [ebp - 0x278], edx
lea ecx, [ebp - 0x240]
mov word [ebp - 0x240], ax
lea eax, [ebp - 0x288]
cmovb edx, dword [ebp - 0x278]
cmp dword [ebp - 0x274], 8
push edx
cmovae eax, dword [ebp - 0x288]
push eax
call fcn.00405110
lea ecx, [ebp - 0x270]
call fcn.00405080
movups xmm0, xmmword [ebp - 0x240]
xor eax, eax
lea ecx, [ebp - 0x240]
mov word [ebp - 0x240], ax
movups xmmword [ebp - 0x270], xmm0
movq xmm0, qword [ebp - 0x230]
movq qword [ebp - 0x260], xmm0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
call fcn.00405080
cmp dword [ebp - 0x25c], 8
lea edx, [ebp - 0x270]
mov dword [ebp - 0x230], 0
cmovae edx, dword [ebp - 0x270]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4037b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x240]
call fcn.00405110
mov byte [ebp - 4], 0x2a
lea eax, [ebp - 0x240]
mov esi, dword [edi + 0x20]
lea ecx, [esi + 0x94]
cmp ecx, eax
je 0x4037fd
cmp dword [ebp - 0x22c], 8
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
push eax
call fcn.00405110
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x40380c
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x29
call fcn.00405080
mov esi, dword [edi + 0x20]
mov ecx, dword [esi + 0x84]
mov byte [esi + 0xac], 1
test ecx, ecx
je 0x40384a
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [edi + 0x1c]
cmp byte [ecx + 0x35], 0
je 0x40385f
mov eax, dword [ecx]
mov byte [ecx + 0x35], 0
call dword [eax + pe_nt_image_headers32]
mov edx, 0xd2
lea ecx, [ebp - 0x240]
call fcn.0042f7e0
push eax
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x2b
call fcn.00404020
or dword [ebp - 0x3d4], 0x160000
mov byte [ebp - 4], 0x2c
lea edx, [ebp - 0x258]
mov ecx, dword [edi + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x19c]
lea ecx, [ebp - 0x258]
call fcn.00405080
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x29
call fcn.00405080
mov esi, dword [ebp - 0x3d4]
mov byte [edi + 0x14], 1
jmp 0x4039dd
push 0x20a
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.004d43f0
add esp, 0xc
lea eax, [ebp - 0x228]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403900
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.00405110
cmp dword [ebp - 0x25c], 8
lea edx, [ebp - 0x270]
mov dword [ebp - 0x248], 0
cmovae edx, dword [ebp - 0x270]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x258], ax
mov dword [ebp - 0x244], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x22c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403960
sub ecx, dword [ebp - 0x22c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x258]
call fcn.00405110
mov byte [ebp - 4], 0x2d
lea edx, [ebp - 0x258]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x22c], eax
lea ecx, [eax + 0x94]
cmp ecx, edx
je 0x4039bf
cmp dword [ebp - 0x244], 8
mov eax, edx
push dword [ebp - 0x248]
cmovae eax, dword [ebp - 0x258]
push eax
call fcn.00405110
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x84]
test ecx, ecx
je 0x4039ce
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x29
call fcn.00405080
push 0x84
mov dword [ebp - 0x22c], esi
call fcn.004d1720
add esp, 4
mov dword [ebp - 0x3d8], eax
mov ecx, eax
call fcn.00432780
push 0x14
mov dword [edi + 0x38], eax
call fcn.004d1720
mov dword [ebp - 0x3d8], eax
add esp, 4
mov dword [eax], vtable.view::BoxLayout.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x19
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov ecx, dword [edi + 0x38]
mov dword [ebp - 0x3dc], ecx
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x403a56
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 8]
mov eax, dword [ebp - 0x3d8]
mov ecx, dword [ebp - 0x3dc]
mov edx, dword [ecx + 0x48]
cmp eax, edx
je 0x403a78
test edx, edx
je 0x403a75
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov eax, dword [ebp - 0x3d8]
mov ecx, dword [ebp - 0x3dc]
mov dword [ecx + 0x48], eax
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x403a87
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 4]
push 0x164
call fcn.004d1720
add esp, 4
mov dword [ebp - 0x3d4], eax
mov edx, 0x6a
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x2e0]
call fcn.0042f7e0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x258]
or esi, 0x40
push eax
mov dword [ebp - 0x3dc], esi
call fcn.00404020
mov dword [ebp - 4], 0x30
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x3d4]
or eax, 0x4000c0
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x258]
push eax
push 0
call fcn.00430160
mov dword [ebp - 4], 0x31
mov eax, dword [ebp - 0x3d4]
lea esi, [eax + 0xf0]
mov dword [esi], vtable.view::Checkbox.3.0
push 8
mov dword [eax], vtable.view::Checkbox.1.0
mov dword [eax + 4], vtable.view::Checkbox.2.0
mov dword [eax + 0xd8], vtable.view::Checkbox.0
mov byte [eax + 0x160], 0
call fcn.004d1720
mov dword [ebp - 0x22c], eax
add esp, 4
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x3d4]
mov dword [eax], vtable.view::TextButtonNativeThemeBorder.0
mov ecx, dword [esi + 0x50]
cmp eax, ecx
je 0x403b63
test ecx, ecx
je 0x403b60
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x22c]
mov dword [esi + 0x50], eax
mov byte [esi + 0x74], 1
lea ecx, [ebp - 0x258]
mov dword [edi + 0x28], esi
call fcn.00405080
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 4], 0x29
call fcn.00405080
mov eax, dword [edi + 0x28]
lea ecx, [edi + 8]
push 1
mov dword [eax + 0x84], ecx
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x1b0]
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov dword [ecx + 0x128], 0xff888888
call dword [eax + 0x1a4]
call fcn.0042e3e0
mov edi, eax
mov esi, dword [edi]
push esi
mov dword [ebp - 0x22c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
mov byte [ebp - 4], 0x34
call fcn.0042e830
push esi
mov byte [ebp - 4], 0x29
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x20]
mov esi, dword [ebp - 0x3e0]
mov edi, dword [eax]
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x22c], edx
test edi, edi
je 0x403bfc
inc dword [edi + 4]
mov eax, dword [edx + 0x120]
test eax, eax
je 0x403c1f
add dword [eax + 4], 0xffffffff
jne 0x403c1f
mov ecx, eax
test ecx, ecx
je 0x403c1f
mov eax, dword [ecx]
push 1
call dword [eax + 0x28]
mov edx, dword [ebp - 0x22c]
mov ecx, edx
mov dword [edx + 0x120], edi
call fcn.004305b0
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
sar eax, 2
push eax
push dword [esi + 0x28]
call fcn.004329f0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
sar eax, 2
push eax
push dword [esi + 0x38]
call fcn.004329f0
push 0
lea eax, [ebp - 0x2b0]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x2a8]
sub eax, dword [ebp - 0x2b0]
sub eax, 0x190
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x2a4]
sub eax, dword [ebp - 0x2ac]
sub eax, 0x12c
sar ecx, 1
cdq
sub eax, edx
mov dword [ebp - 0x238], ecx
sar eax, 1
lea ecx, [ebp - 0x230]
push 0x190
mov dword [ebp - 0x234], eax
call fcn.0042d150
lea eax, [ebp - 0x238]
mov dword [ebp - 0x22c], 0x12c
push eax
mov ecx, esi
call fcn.00437060
mov dword [esi + 0x10], eax
add esp, 4
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push 0x190
lea ecx, [ebp - 0x230]
call fcn.0042d150
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0x230]
mov dword [ebp - 0x22c], 0x12c
push edx
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x94]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x84]
mov byte [ebp - 4], 0x35
mov dword [ebp - 0x3ec], 0x51d310
mov dword [ebp - 0x3e8], 0
mov dword [ebp - 0x3e4], 0
call fcn.00431550
mov dword [ebp - 0x3e8], eax
lea eax, [ebp - 0x3ec]
mov byte [ebp - 4], 0x36
push eax
call fcn.004023b0
mov ecx, eax
call fcn.004145b0
mov esi, dword [0x5444a8]
test esi, esi
je 0x403d7d
mov ecx, esi
call fcn.0042eec0
push 0x3c
push esi
call fcn.004d1750
add esp, 8
mov dword [0x5444a8], 0
lea ecx, [ebp - 0x3ec]
call fcn.00403de0
lea ecx, [ebp - 0x288]
call fcn.00405080
lea ecx, [ebp - 0x270]
call fcn.00405080
lea ecx, [ebp - 0x3d0]
call fcn.00412400
lea ecx, [ebp - 0x2c8]
call fcn.00405080
lea ecx, [ebp - 0x418]
call fcn.004100a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d170a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret