Function at 0x4d78f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x744534
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x8312b0]
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 ebx, ecx
mov dword [ebp - 0x40], ebx
call fcn.0045b8d0
push ecx
push 1
mov ecx, eax
call fcn.004e15d0
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffeffff
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, ebx
call fcn.004db740
lea ecx, [ebp - 0x38]
call fcn.0045baf0
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x4d798a
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4d798a
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4d798a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
sub esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t___const]
lea edi, [ebx + 0x34]
mov eax, esp
mov dword [ebp - 0x30], edi
mov ecx, edi
mov dword [eax], str.notice_tipwnd
mov dword [eax + 4], 0xd
call esi
mov dword [ebx + 0x5d4], eax
sub esp, 8
mov eax, esp
mov ecx, edi
mov dword [eax], str.tab_main
mov dword [eax + 4], 8
call esi
xor edi, edi
mov dword [ebp - 0x3c], eax
add ebx, 0x5a8
nop word [eax + eax]
test eax, eax
je 0x4d79f4
mov esi, dword [ebx]
lea ecx, [eax + 0x288]
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [esi + 0x1c], eax
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x3c]
inc edi
add ebx, 4
cmp edi, 0xa
jl 0x4d79e0
lea ecx, [ebp - 0x38]
call fcn.0045baf0
mov eax, dword [eax]
mov edi, dword [eax + 0x1cc]
mov dword [ebp - 4], 1
or ebx, 0xffffffff
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4d7a47
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4d7a47
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4d7a47
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
cmp edi, 2
ja 0x4d7a7f
mov ecx, dword [ebp - 0x30]
sub esp, 8
mov eax, esp
mov dword [eax], str.tab_homepage
mov dword [eax + 4], 0xc
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t___const]
mov ecx, eax
test ecx, ecx
je 0x4d7a7f
mov eax, dword [ecx]
push 1
push edi
call dword [eax + 0x29c]
lea ecx, [ebp - 0x38]
call fcn.0045b760
mov eax, dword [eax]
mov edi, dword [eax + 0x10]
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4d7ab9
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4d7ab9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4d7ab9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
cmp edi, 3
jne 0x4d7afb
call fcn.0045bc30
push 0
push 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x755e
push ecx
mov ecx, eax
call fcn.004be8f0
call fcn.0045bc30
push 0
push 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x7560
push ecx
mov ecx, eax
call fcn.004be8f0
lea ecx, [ebp - 0x38]
call fcn.004dcb20
mov eax, dword [eax]
mov cl, byte [eax + 0x220]
mov byte [ebp - 0x29], cl
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4d7b3e
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4d7b3e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4d7b3b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov cl, byte [ebp - 0x29]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
test cl, cl
je 0x4d7b65
push 0
push 0
push 0x7582
mov ecx, esi
call dword [sym.imp.DuiLib.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
test eax, eax
je 0x4d85df
lea ecx, [ebp - 0x38]
call fcn.004dcb20
mov eax, dword [eax]
mov cl, byte [eax + 0x221]
mov byte [ebp - 0x29], cl
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x4d7ba8
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x4d7ba8
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x4d7ba5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov cl, byte [ebp - 0x29]
mov dword [ebp - 4], 0xffffffff
test cl, cl
je 0x4d7bc4
push 0
push 0
push 0x7565
mov ecx, esi
call dword [sym.imp.DuiLib.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
lea ecx, [ebp - 0x38]
call fcn.0045b760
mov dword [ebp - 4], 5
mov ecx, dword [eax]
call fcn.004c2cb0
mov dword [ebp - 4], 6
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4d7c07
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4d7c07
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4d7c07
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [0x83ce4c]
test edi, edi
jne 0x4d7ce3
push 0x60
call fcn.006f4f3d
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 7
mov dword [edi], vtable.Singleton_class_CDataLoader_.0
lea eax, [edi + 0x18]
mov dword [edi + 4], vtable.CBaseThread.0
push eax
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0x3e8
mov dword [edi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi], vtable.CDataLoader.1.0
mov dword [edi + 4], vtable.CDataLoader.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov byte [ebp - 4], 0xc
lea esi, [edi + 0x58]
mov dword [edi + 0x54], 0
mov dword [ebp - 0x3c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0045b5d0
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
mov dword [0x83ce4c], edi
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [ebp - 0x40]
mov edx, dword [eax + 4]
lea eax, [esi + 0x54c]
push eax
call edx
call fcn.004dca80
add esi, 0x548
push esi
mov dword [ebp - 0x30], esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov ecx, eax
call edx
call fcn.0045aa80
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov ecx, eax
call edx
call fcn.0045a7e0
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov ecx, eax
call edx
call fcn.004850d0
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov ecx, eax
call edx
call fcn.00484fd0
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov ecx, eax
call edx
call fcn.00484f10
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov ecx, eax
call edx
mov edi, dword [0x83cea8]
test edi, edi
jne 0x4d7e02
push 0xdc
call fcn.006f4f3d
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
mov ecx, edi
mov dword [ebp - 4], 0xd
call fcn.004610c0
mov dword [edi + 0x70], vtable.Singleton_class_CPrinterDriverSearcher_.0
mov byte [ebp - 4], 0xf
lea esi, [edi + 0x74]
mov dword [edi], vtable.CPrinterDriverSearcher.1.0
mov dword [edi + 0x70], vtable.CPrinterDriverSearcher.0
mov dword [ebp - 0x34], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049a4c0
mov dword [esi], eax
mov byte [ebp - 4], 0x10
lea esi, [edi + 0x7c]
push 0
mov dword [ebp - 0x34], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049a550
mov dword [esi], eax
lea eax, [esi + 8]
push 2
push eax
call fcn.00517b28
lea eax, [esi + 0x38]
push eax
call fcn.00518ae7
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov esi, dword [ebp - 0x30]
mov dword [0x83cea8], edi
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x18]
mov edi, dword [0x83cea8]
test edi, edi
jne 0x4d7eb0
push 0xdc
call fcn.006f4f3d
mov edi, eax
add esp, 4
mov dword [ebp - 0x34], edi
mov ecx, edi
mov dword [ebp - 4], 0x11
call fcn.004610c0
mov dword [edi + 0x70], vtable.Singleton_class_CPrinterDriverSearcher_.0
mov byte [ebp - 4], 0x13
lea esi, [edi + 0x74]
mov dword [edi], vtable.CPrinterDriverSearcher.1.0
mov dword [edi + 0x70], vtable.CPrinterDriverSearcher.0
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049a4c0
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x7c]
push 0
mov dword [ebp - 0x30], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049a550
mov dword [esi], eax
lea eax, [esi + 8]
push 2
push eax
call fcn.00517b28
lea eax, [esi + 0x38]
push eax
call fcn.00518ae7
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov dword [0x83cea8], edi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov edi, dword [0x83ceac]
test edi, edi
jne 0x4d7f7b
push 0x138
call fcn.006f4f3d
mov edi, eax
add esp, 4
mov dword [ebp - 0x34], edi
mov ecx, edi
mov dword [ebp - 4], 0x15
call fcn.004610c0
mov dword [edi + 0x70], vtable.Singleton_class_CDownloadManager_.0
lea eax, [edi + 0x74]
mov dword [edi], vtable.CDownloadManager.1.0
push 2
push eax
mov dword [edi + 0x70], vtable.CDownloadManager.0
call fcn.00517b28
add esp, 8
mov byte [ebp - 4], 0x18
lea esi, [edi + 0xa4]
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048dce0
mov dword [esi], eax
mov byte [ebp - 4], 0x19
lea esi, [edi + 0xac]
push 0
mov dword [ebp - 0x30], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048dd90
mov dword [esi], eax
lea eax, [esi + 8]
push 2
push eax
call fcn.00517b28
lea eax, [esi + 0x38]
push eax
call fcn.00518ae7
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov dword [edi + 0x134], 0
mov dword [0x83ceac], edi
sub esp, 8
mov ecx, edi
call fcn.0044c640
mov edi, dword [0x83ceac]
test edi, edi
jne 0x4d8042
push 0x138
call fcn.006f4f3d
mov edi, eax
add esp, 4
mov dword [ebp - 0x34], edi
mov ecx, edi
mov dword [ebp - 4], 0x1a
call fcn.004610c0
mov dword [edi + 0x70], vtable.Singleton_class_CDownloadManager_.0
lea eax, [edi + 0x74]
mov dword [edi], vtable.CDownloadManager.1.0
push 2
push eax
mov dword [edi + 0x70], vtable.CDownloadManager.0
call fcn.00517b28
add esp, 8
mov byte [ebp - 4], 0x1d
lea esi, [edi + 0xa4]
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048dce0
mov dword [esi], eax
mov byte [ebp - 4], 0x1e
lea esi, [edi + 0xac]
push 0
mov dword [ebp - 0x30], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048dd90
mov dword [esi], eax
lea eax, [esi + 8]
push 2
push eax
call fcn.00517b28
lea eax, [esi + 0x38]
push eax
call fcn.00518ae7
add esp, 0xc
mov dword [edi + 0x134], 0
mov dword [0x83ceac], edi
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.std::_Func_impl_no_alloc_class__lambda_5f1b300e0b97e521587f580e2665918b___void__void___void___struct_DownTaskInfo__struct_STaskParam_.0
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x44], eax
push eax
lea ecx, [edi + 0x110]
mov dword [ebp - 4], 0x1f
call fcn.0048d820
mov dword [edi + 0x10c], esi
mov dword [ebp - 4], 0x20
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x4d8093
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [0x83ce4c]
test edi, edi
jne 0x4d8172
push 0x60
call fcn.006f4f3d
mov edi, eax
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0x21
mov dword [edi], vtable.Singleton_class_CDataLoader_.0
lea eax, [edi + 0x18]
mov dword [edi + 4], vtable.CBaseThread.0
push eax
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0x3e8
mov dword [edi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi], vtable.CDataLoader.1.0
mov dword [edi + 4], vtable.CDataLoader.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov byte [ebp - 4], 0x26
lea esi, [edi + 0x58]
mov dword [edi + 0x54], 0
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0045b5d0
mov dword [esi], eax
mov esi, dword [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
mov dword [0x83ce4c], edi
sub esp, 8
lea ecx, [edi + 4]
call fcn.0044c640
mov edi, dword [0x83ce48]
test edi, edi
jne 0x4d82c9
push 0x3a0
call fcn.006f4f3d
mov edi, eax
mov dword [ebp - 0x34], edi
push 2
mov dword [edi], vtable.XLDownloader.0
lea eax, [edi + 0x36c]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1e4], 0
mov dword [edi + 0x20c], 0
mov dword [edi + 0x234], 0
mov dword [edi + 0x25c], 0
mov dword [edi + 0x284], 0
mov dword [edi + 0x2ac], 0
mov dword [edi + 0x2d4], 0
mov dword [edi + 0x2fc], 0
mov dword [edi + 0x324], 0
mov dword [edi + 0x354], 0
push eax
mov dword [edi + 0x360], 0
mov dword [edi + 0x364], 0
mov dword [edi + 0x368], 0
call fcn.00517b28
add esp, 0xc
mov dword [edi + 0x358], 0
mov dword [edi + 0x32c], 0
lea edx, [edi + 0x35c]
mov dword [edi + 0x328], 0
mov eax, 1
xchg dword [edx], eax
mov dword [0x83ce48], edi
mov ecx, edi
call fcn.004f7ec0
mov edi, dword [0x83ce48]
test edi, edi
jne 0x4d841c
push 0x3a0
call fcn.006f4f3d
mov edi, eax
mov dword [ebp - 0x34], edi
push 2
mov dword [edi], vtable.XLDownloader.0
lea eax, [edi + 0x36c]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1e4], 0
mov dword [edi + 0x20c], 0
mov dword [edi + 0x234], 0
mov dword [edi + 0x25c], 0
mov dword [edi + 0x284], 0
mov dword [edi + 0x2ac], 0
mov dword [edi + 0x2d4], 0
mov dword [edi + 0x2fc], 0
mov dword [edi + 0x324], 0
mov dword [edi + 0x354], 0
push eax
mov dword [edi + 0x360], 0
mov dword [edi + 0x364], 0
mov dword [edi + 0x368], 0
call fcn.00517b28
add esp, 0xc
mov dword [edi + 0x358], 0
mov dword [edi + 0x32c], 0
lea eax, [edi + 0x35c]
mov dword [edi + 0x328], 0
mov ecx, 1
xchg dword [eax], ecx
mov dword [0x83ce48], edi
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.std::_Func_impl_no_alloc_class__lambda_00079e4e42870015d7c780d903ccf1c2___void__void___void___struct_DownTaskInfo__struct_STaskParam_.0
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x44], eax
push eax
lea ecx, [edi + 0x330]
mov dword [ebp - 4], 0x27
call fcn.0048d820
mov dword [edi + 0x32c], esi
mov dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x4d8463
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
push eax
call edx
push 0
sub esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [esi + 4]
lea ecx, [esi + 0x5d8]
mov eax, esp
push 0x6b
push edx
mov dword [eax], 0x7f8128
mov dword [eax + 4], 7
call dword [sym.imp.DuiLib.dll_public:_bool___thiscall_DuiLib::CTrayIcon::CreateTrayIcon_struct_HWND_____unsigned_int__class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t____unsigned_int_]
lea ecx, [ebp - 0x70]
call fcn.0045baf0
mov ecx, dword [eax]
mov eax, dword [esi + 4]
mov dword [ecx + 0x1d0], eax
mov dword [ebp - 4], 0x29
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x4d84cf
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x4d84cf
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x4d84cf
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d84f7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0044bdc0
mov dword [ebp - 4], 0x2a
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push 6
push 0x7f8138
push 0
call fcn.004634e0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4d8542
mov byte [esi + 0x9ac], 1
mov edi, dword [0x83ce58]
test edi, edi
jne 0x4d8573
push 0xb8
call fcn.006f4f3d
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, eax
mov byte [ebp - 4], 0x2b
call fcn.004dee10
mov edi, eax
mov byte [ebp - 4], 0x2a
mov dword [0x83ce58], edi
mov ecx, dword [edi + 0x30]
or ecx, dword [edi + 0x34]
je 0x4d8583
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
jne 0x4d858a
mov byte [esi + 0x9ac], 1
push 0
call fcn.00715b19
add esp, 4
mov ecx, edi
push edx
push eax
call fcn.004df660
sub esp, 8
lea ecx, [esi + 0x34]
mov eax, esp
mov dword [eax], 0x7f8148
mov dword [eax + 4], 0xb
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t___const]
mov edi, eax
test edi, edi
je 0x4d85d7
mov eax, dword [edi]
sub esp, 0x1c
mov ecx, esp
mov esi, dword [eax + 0x2c]
push ecx
push 0x7f8160
call fcn.004608e0
mov ecx, edi
call esi
lea ecx, [ebp - 0x28]
call fcn.0044bf40
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.006f4f1e
mov esp, ebp
pop ebp
ret