Function at 0x40cac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e4124
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x5134a8]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], 0
mov edi, dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
add esi, 0x30
push str.login_btn
mov ecx, esi
call edi
push str.username_edit
mov ecx, esi
call edi
push str.pwd_edit
mov ecx, esi
mov ebx, eax
call edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x1a0], 0
push 0x4f65d0
mov ecx, eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.LibDui.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
test al, al
jne 0x40cba6
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0xcc]
push edx
call eax
mov dword [esp + 0x1a0], 1
push 0x4f65d0
mov ecx, eax
mov dword [esp + 0x1c], 3
call dword [sym.imp.LibDui.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
mov byte [esp + 0x17], 0
test al, al
je 0x40cbab
mov byte [esp + 0x17], 1
mov dword [esp + 0x1a0], 0
test byte [esp + 0x18], 2
je 0x40cbcf
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0xcc]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov dword [esp + 0x1a0], 0xffffffff
test byte [esp + 0x18], 1
je 0x40cbeb
lea ecx, [esp + 0x48]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
push 0x4f7d70
mov ecx, esi
call edi
cmp byte [esp + 0x17], 0
je 0x40cc44
test eax, eax
je 0x40cc0d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push str._u7b_rT
call eax
push str.autodo_tips
mov ecx, esi
call edi
test eax, eax
je 0x40cc28
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push str._u7b_rT
call eax
push str.loginTab
mov ecx, esi
call edi
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x200]
push 0
call eax
jmp 0x40ceae
test eax, eax
je 0x40cc56
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push str.ck_WvU__f
call eax
push str.autodo_tips
mov ecx, esi
call edi
test eax, eax
je 0x40cc71
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push str.ck_WvU__f
call eax
push str.loginTab
mov ecx, esi
call edi
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x200]
push 0
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x1a0], 2
mov ebx, dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov ecx, eax
call ebx
lea ecx, [esp + 0x170]
push ecx
mov edi, eax
call fcn.004064c0
mov byte [esp + 0x1a0], 4
mov esi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [esp + 0x48]
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0xcc]
push eax
call edx
mov ecx, eax
mov byte [esp + 0x1a0], 5
call ebx
lea ecx, [esp + 0x150]
push ecx
mov edi, eax
call fcn.004064c0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1a0], 7
call esi
mov eax, dword [esp + 0x178]
mov ebx, 8
cmp dword [esp + 0x18c], ebx
jae 0x40cd29
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x28]
call fcn.00455320
add esp, 4
mov esi, dword [esp + 0x20]
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esi + 0x484]
mov byte [esp + 0x1ac], bl
call fcn.00401ff0
mov byte [esp + 0x1a0], 7
cmp dword [esp + 0x40], 0x10
jb 0x40cd6e
mov edx, dword [esp + 0x2c]
push edx
call fcn.00460940
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
call fcn.00401050
mov eax, dword [esp + 0x158]
cmp dword [esp + 0x16c], ebx
jae 0x40cd9f
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x28]
call fcn.00455320
add esp, 4
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x4a4]
mov byte [esp + 0x1ac], 9
call fcn.00401ff0
mov byte [esp + 0x1a0], 7
cmp dword [esp + 0x40], 0x10
jb 0x40cddf
mov eax, dword [esp + 0x2c]
push eax
call fcn.00460940
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
call fcn.00401050
push edi
mov eax, esi
call fcn.0040ba80
lea ecx, [esp + 0x44]
push ecx
push edi
push esi
push fcn.00427d50
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x1a0], 4
cmp dword [esp + 0x16c], ebx
jb 0x40ce3d
mov edx, dword [esp + 0x158]
push edx
call fcn.00460940
add esp, 4
xor eax, eax
mov esi, 7
lea ecx, [esp + 0x150]
mov dword [esp + 0x16c], esi
mov dword [esp + 0x168], edi
mov word [esp + 0x158], ax
call fcn.00401050
mov dword [esp + 0x1a0], 0xffffffff
cmp dword [esp + 0x18c], ebx
jb 0x40ce8a
mov ecx, dword [esp + 0x178]
push ecx
call fcn.00460940
add esp, 4
xor edx, edx
lea ecx, [esp + 0x170]
mov dword [esp + 0x18c], esi
mov dword [esp + 0x188], edi
mov word [esp + 0x178], dx
call fcn.00401050
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.00460640
mov esp, ebp
pop ebp
ret