Function at 0x4e52d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x602410
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x6b000c]
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
push 0
push 0
push ecx
push str.OnLogin
call fcn.00469e40
mov esi, dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CStdString___thiscall_DuiLib::WindowImplBase::GetDlgItemTextW_wchar_t_const___bool_]
lea eax, [ebp - 0x98]
push 0
push str.userNameLogin
push eax
mov ecx, ebx
call esi
mov dword [ebp - 4], 0
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_wchar_t_const____thiscall_DuiLib::CStdString::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040c380
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
mov eax, dword [ebp - 0xa0]
or edi, 0xffffffff
push 0
cmp dword [eax - 0xc], 0
jne 0x4e5387
mov edx, dword [ebx + 4]
mov ecx, str.InputUserName
push 0x40
call fcn.00495040
add esp, 8
mov ecx, ebx
push str.userNameLogin
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::SetFocus_wchar_t_const__]
jmp 0x4e5508
push str.PasswordLogin
lea eax, [ebp - 0x98]
mov ecx, ebx
push eax
call esi
mov byte [ebp - 4], 4
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_wchar_t_const____thiscall_DuiLib::CStdString::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0040c380
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x98]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
push 0
lea ecx, [ebp - 0xb0]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWaitCursor::constructor_struct_HWND____]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xa0]
mov esi, dword [ebx + 0x91c]
sub esi, 0x10
lea edx, [eax - 0x10]
mov dword [ebp - 0x9c], edx
cmp edx, esi
je 0x4e5440
cmp dword [esi + 0xc], 0
jl 0x4e5431
mov edx, dword [edx]
cmp edx, dword [esi]
jne 0x4e5431
mov ecx, dword [ebp - 0x9c]
call fcn.0040c950
mov dword [ebp - 0x9c], eax
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e5426
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x9c]
add eax, 0x10
mov dword [ebx + 0x91c], eax
jmp 0x4e5440
push dword [eax - 0xc]
lea ecx, [ebx + 0x91c]
push eax
call fcn.0040c9d0
mov eax, dword [ebp - 0xa4]
lea ecx, [ebx + 0x920]
mov esi, dword [ecx]
sub esi, 0x10
lea edx, [eax - 0x10]
mov dword [ebp - 0x9c], edx
cmp edx, esi
je 0x4e54ab
cmp dword [esi + 0xc], 0
jl 0x4e54a2
mov edx, dword [edx]
cmp edx, dword [esi]
jne 0x4e54a2
mov ecx, dword [ebp - 0x9c]
call fcn.0040c950
mov dword [ebp - 0x9c], eax
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e5491
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x9c]
add eax, 0x10
mov dword [ebx + 0x920], eax
jmp 0x4e54ab
push dword [eax - 0xc]
push eax
call fcn.0040c9d0
lea eax, [ebp - 0xa8]
mov dword [ebx + 0x950], 0
push eax
push 0
push ebx
push 0x4e4e80
push 0
push 0
call fcn.005b6ff3
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb0]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWaitCursor::destructor_void_]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e5508
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xa0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4e552a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0055f9be
mov esp, ebp
pop ebp
ret