Function at 0x4253e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x499de8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4d01d4]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d01d4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf0]
push 1
call edx
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
push 1
call edx
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
push 0
call edx
mov ecx, dword [esi + 0xc]
push 0
call dword [sym.imp.DTLUI.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
mov ebx, dword [esi + 8]
push 1
call fcn.00437000
mov eax, dword [esi + 8]
lea ecx, [eax + 0x530]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
xor ebx, ebx
call edx
test eax, eax
jle 0x4254e3
mov ebp, dword [sym.imp.pcidrv.dll_PCIDrv_GetDeviceProperty]
mov eax, dword [esi + 8]
lea ecx, [eax + 0x530]
mov eax, dword [ecx]
mov edx, dword [eax]
push ebx
call edx
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0xd0]
mov ecx, edi
call edx
push 0
push 4
lea ecx, [esp + 0x1c]
push ecx
push 0x1a
push eax
mov dword [esp + 0x28], 0
call ebp
test eax, eax
je 0x4254ca
cmp dword [esp + 0x14], 0
jle 0x4254ca
push 0
mov ecx, edi
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CListContainerElementUI::SetCanSelect_bool_]
push 0
push str.drv_item_check
mov ecx, edi
call dword [sym.imp.DTLUI.dll_public:_bool___thiscall_DuiLib::CContainerUI::SetSubControlEnabled_wchar_t_const___bool_]
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x530]
lea ecx, [eax + 0x530]
mov eax, dword [edx + 0xc]
inc ebx
call eax
cmp ebx, eax
jl 0x425472
mov ecx, dword [esi + 8]
push 1
push 1
push 1
push ecx
call fcn.00436d70
mov ebx, dword [esi + 8]
call fcn.00436e70
call fcn.00403860
cmp byte [eax + 8], 0
je 0x425561
call fcn.00414190
mov edx, dword [eax + 0x1fc]
add edx, dword [eax + 0x1f8]
jne 0x42552b
call fcn.00414190
mov ecx, dword [eax + 0x200]
add ecx, dword [eax + 0x1e4]
je 0x425561
mov esi, str.STR_RESTORE_FINISH_NEEDREBOOT
lea edi, [esp + 0x34]
call fcn.0040ba70
mov esi, eax
mov dword [esp + 0x78], 0
call fcn.00403860
mov edi, dword [eax]
mov ecx, esi
call fcn.0048cdb0
push edi
mov ecx, eax
call fcn.00452970
add esp, 4
jmp 0x425764
lea ecx, [esp + 0x34]
call fcn.0048d000
mov dword [esp + 0x78], 1
lea ecx, [esp + 0x50]
call fcn.0048d000
mov bl, 2
mov byte [esp + 0x78], bl
call fcn.00414190
mov edx, dword [eax + 0x1fc]
add edx, dword [eax + 0x1f8]
je 0x4255ff
call fcn.00414190
mov ecx, dword [eax + 0x200]
add ecx, dword [eax + 0x1e4]
je 0x4255ff
mov esi, str.STR_RESTORE_RESULT1
lea edi, [esp + 0x18]
mov ebp, 0x30
call fcn.0040ba70
mov edi, eax
mov byte [esp + 0x78], 3
call fcn.00414190
mov esi, dword [eax + 0x200]
add esi, dword [eax + 0x1e4]
call fcn.00414190
mov ecx, dword [eax + 0x1fc]
add ecx, dword [eax + 0x1f8]
push esi
push ecx
mov ecx, edi
call fcn.0048cdd0
push eax
lea edx, [esp + 0x40]
push edx
call fcn.0048d0b0
add esp, 0x10
jmp 0x4256b3
call fcn.00414190
mov ecx, dword [eax + 0x1fc]
add ecx, dword [eax + 0x1f8]
je 0x425655
mov esi, str.STR_RESTORE_RESULT2
lea edi, [esp + 0x18]
mov ebp, 0x80
call fcn.0040ba70
mov esi, eax
mov byte [esp + 0x78], 4
call fcn.00414190
mov ecx, dword [eax + 0x1fc]
add ecx, dword [eax + 0x1f8]
push ecx
mov ecx, esi
call fcn.0048cdd0
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.0048d0b0
add esp, 0xc
jmp 0x4256b3
call fcn.00414190
mov ecx, dword [eax + 0x200]
add ecx, dword [eax + 0x1e4]
lea edi, [esp + 0x18]
je 0x425695
mov esi, str.STR_RESTORE_RESULT3
mov ebp, 0x10
call fcn.0040ba70
mov esi, eax
mov byte [esp + 0x78], 5
call fcn.00414190
mov ecx, dword [eax + 0x200]
add ecx, dword [eax + 0x1e4]
jmp 0x42563d
mov esi, str.STR_RESTORE_NODRIVER
mov ebp, 0x30
call fcn.0040ba70
mov byte [esp + 0x78], 6
push eax
lea ecx, [esp + 0x38]
call fcn.0048d270
mov byte [esp + 0x78], bl
lea ecx, [esp + 0x18]
call fcn.0048cfe0
call fcn.00414190
cmp byte [eax + 0x1dc], 0
lea edi, [esp + 0x18]
je 0x4256e3
mov esi, str.STR_RESTORE_CANCEL
call fcn.0040ba70
mov byte [esp + 0x78], 7
jmp 0x4256f2
mov esi, str.STR_RESTORE_FINISH
call fcn.0040ba70
mov byte [esp + 0x78], 8
push eax
lea ecx, [esp + 0x54]
call fcn.0048d270
mov byte [esp + 0x78], bl
lea ecx, [esp + 0x18]
call fcn.0048cfe0
push 0x4a5600
lea ecx, [esp + 0x54]
call fcn.0048d1e0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
call fcn.0048d200
call fcn.00414190
cmp byte [eax + 0x1dc], 0
jne 0x425756
call fcn.00403860
mov esi, dword [eax]
lea ecx, [esp + 0x50]
call fcn.0048cdd0
push 0
push ebp
push 0
push 0
push 0
push eax
push esi
call fcn.004528c0
add esp, 0x1c
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x50]
call fcn.0048cfe0
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0048cfe0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00470f4c
add esp, 0x68
ret 8