Function at 0x40c0b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e27b4
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x5114a8]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x5114a8]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0
mov ebx, 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 ebx
push str.username_edit
mov ecx, esi
call ebx
push str.pwd_edit
mov ecx, esi
mov edi, eax
call ebx
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x198], 0
push 0x4f45d0
mov ecx, eax
mov dword [esp + 0x18], 1
call dword [sym.imp.LibDui.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
test al, al
jne 0x40c192
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0xc4]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x198], 1
push 0x4f45d0
mov ecx, eax
mov dword [esp + 0x18], 3
call dword [sym.imp.LibDui.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
mov byte [esp + 0x13], 0
test al, al
je 0x40c197
mov byte [esp + 0x13], 1
mov dword [esp + 0x198], 0
test byte [esp + 0x14], 2
je 0x40c1bb
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0xc4]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov dword [esp + 0x198], 0xffffffff
test byte [esp + 0x14], 1
je 0x40c1d7
lea ecx, [esp + 0x40]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
push 0x4f5d30
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
cmp byte [esp + 0x13], 0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
je 0x40c1fe
push str._u7b_rT
call eax
jmp 0x40c42b
push str.ck_WvU__f
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x198], 2
mov esi, dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov ecx, eax
call esi
lea ecx, [esp + 0x168]
push ecx
mov edi, eax
call fcn.00406490
lea ecx, [esp + 0x40]
mov byte [esp + 0x198], 4
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov edx, dword [ebx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0xc4]
push eax
mov ecx, ebx
call edx
mov ecx, eax
mov byte [esp + 0x198], 5
call esi
lea ecx, [esp + 0x148]
push ecx
mov edi, eax
call fcn.00406490
lea ecx, [esp + 0xc4]
mov byte [esp + 0x198], 7
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, dword [esp + 0x170]
mov ebx, 8
cmp dword [esp + 0x184], ebx
jae 0x40c2a6
lea eax, [esp + 0x170]
push eax
lea ecx, [esp + 0x20]
call fcn.00453de0
add esp, 4
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esi + 0x484]
mov byte [esp + 0x1a4], bl
call fcn.00401fb0
mov byte [esp + 0x198], 7
cmp dword [esp + 0x38], 0x10
jb 0x40c2eb
mov edx, dword [esp + 0x24]
push edx
call fcn.0045f220
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.00401050
mov eax, dword [esp + 0x150]
cmp dword [esp + 0x164], ebx
jae 0x40c31c
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x20]
call fcn.00453de0
add esp, 4
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x4a4]
mov byte [esp + 0x1a4], 9
call fcn.00401fb0
mov byte [esp + 0x198], 7
cmp dword [esp + 0x38], 0x10
jb 0x40c35c
mov eax, dword [esp + 0x24]
push eax
call fcn.0045f220
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.00401050
push edi
mov eax, esi
call fcn.0040b6b0
lea ecx, [esp + 0x3c]
push ecx
push edi
push esi
push fcn.00426750
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x198], 4
cmp dword [esp + 0x164], ebx
jb 0x40c3ba
mov edx, dword [esp + 0x150]
push edx
call fcn.0045f220
add esp, 4
xor eax, eax
mov esi, 7
lea ecx, [esp + 0x148]
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], edi
mov word [esp + 0x150], ax
call fcn.00401050
mov dword [esp + 0x198], 0xffffffff
cmp dword [esp + 0x184], ebx
jb 0x40c407
mov ecx, dword [esp + 0x170]
push ecx
call fcn.0045f220
add esp, 4
xor edx, edx
lea ecx, [esp + 0x168]
mov dword [esp + 0x184], esi
mov dword [esp + 0x180], edi
mov word [esp + 0x170], dx
call fcn.00401050
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.0045ef20
mov esp, ebp
pop ebp
ret