Function at 0x40c450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4df3e8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5114a8]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push edi
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea ecx, [esi + 0x30]
push str.remeberbox
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
cmp dword [esi + 0x4a0], 0x10
mov dword [esp + 0xc], eax
jb 0x40c4a9
mov eax, dword [esi + 0x48c]
jmp 0x40c4af
lea eax, [esi + 0x48c]
push eax
lea ebx, [esp + 0x34]
call fcn.00453c20
add esp, 4
mov ebx, 8
mov dword [esp + 0x80], 0
cmp dword [eax + 0x1c], ebx
jb 0x40c4d6
mov eax, dword [eax + 8]
jmp 0x40c4d9
add eax, 8
push eax
mov edi, 0x4f5cbc
call fcn.00425db0
add esp, 4
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x4c], ebx
jb 0x40c505
mov eax, dword [esp + 0x38]
push eax
call fcn.0045f220
add esp, 4
xor ecx, ecx
mov word [esp + 0x38], cx
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
call fcn.00401050
mov ecx, dword [esp + 0xc]
call dword [sym.imp.LibDui.dll_public:_bool___thiscall_DuiLib::COptionUI::IsSelected_void_const]
mov edi, str.login_remepwd
test al, al
je 0x40c632
push 0x4f57c8
call fcn.00425db0
mov edi, 0x10
add esp, 4
cmp dword [esi + 0x4c0], edi
jb 0x40c55e
mov ecx, dword [esi + 0x4ac]
jmp 0x40c564
lea ecx, [esi + 0x4ac]
lea edx, [esp + 0x50]
push edx
call fcn.004536a0
add esp, 4
mov dword [esp + 0x80], 1
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x6c], edi
jae 0x40c58a
lea ebx, [esp + 0x58]
lea eax, [esp + 0x10]
push eax
call fcn.00454130
add esp, 4
mov ebx, 8
mov byte [esp + 0x80], 2
cmp dword [eax + 0x1c], ebx
jb 0x40c5ae
mov eax, dword [eax + 8]
jmp 0x40c5b1
add eax, 8
push eax
mov edi, str.login_userpwd
call fcn.00425db0
add esp, 4
mov byte [esp + 0x80], 1
cmp dword [esp + 0x2c], ebx
jb 0x40c5da
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0045f220
add esp, 4
xor edx, edx
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
call fcn.00401050
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x6c], 0x10
jb 0x40c617
mov eax, dword [esp + 0x58]
push eax
call fcn.0045f220
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00401050
jmp 0x40c651
push 0x4f57a4
call fcn.00425db0
add esp, 4
push 0x4f45d0
mov edi, str.login_userpwd
call fcn.00425db0
add esp, 4
lea ebx, [esi + 0x30]
push str.autologbox
mov ecx, ebx
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov ecx, eax
call dword [sym.imp.LibDui.dll_public:_bool___thiscall_DuiLib::COptionUI::IsSelected_void_const]
mov edi, 0x4f57a8
test al, al
je 0x40c679
push 0x4f57c8
jmp 0x40c67e
push 0x4f57a4
call fcn.00425db0
add esp, 4
push 0x4f5d30
mov ecx, ebx
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push 0x4f5d14
call eax
mov ecx, dword [esi + 0x480]
push 0
push 2
push 0xbb8
call dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0045ef20
mov esp, ebp
pop ebp
ret