Function at 0x4e5b40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60261a
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
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 esi, ecx
mov dword [ebp - 0x9c], esi
push 0
push 0
push ecx
push str.OnRegister
call fcn.00469e40
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4e6127
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xbc], edi
mov dword [ebp - 4], 1
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4e6131
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 3
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4e613b
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x98]
push 0
push str.userName
push eax
mov ecx, esi
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CStdString___thiscall_DuiLib::WindowImplBase::GetDlgItemTextW_wchar_t_const___bool_]
mov byte [ebp - 4], 6
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_wchar_t_const____thiscall_DuiLib::CStdString::operator_wchar_t_const__void_const]
mov edx, eax
test edx, edx
jne 0x4e5c19
xor ecx, ecx
jmp 0x4e5c2f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e5c20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xb0]
call fcn.0040c9d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x98]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
mov esi, dword [ebp - 0xb0]
push 0
cmp dword [esi - 0xc], 0
jne 0x4e5c88
mov eax, dword [ebp - 0x9c]
mov ecx, str.InputUserName
push 0x40
mov edx, dword [eax + 4]
call fcn.00495040
mov ecx, dword [ebp - 0x9c]
add esp, 8
push str.userName
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::SetFocus_wchar_t_const__]
jmp 0x4e60b7
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
push str.Password
push eax
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CStdString___thiscall_DuiLib::WindowImplBase::GetDlgItemTextW_wchar_t_const___bool_]
mov byte [ebp - 4], 0xa
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 - 0xb4]
call fcn.0040c380
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x98]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
push 0
push str.PasswordOK
push eax
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CStdString___thiscall_DuiLib::WindowImplBase::GetDlgItemTextW_wchar_t_const___bool_]
mov byte [ebp - 4], 0xd
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 - 0xb8]
call fcn.0040c380
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x98]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x4e6145
mov ecx, dword [ebp - 0xb4]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4e5d46
test dx, dx
je 0x4e5d42
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4e5d46
add ecx, 4
add eax, 4
test dx, dx
jne 0x4e5d20
xor eax, eax
jmp 0x4e5d4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e5dc6
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa0], esp
push 0x6b0e48
call fcn.00420d90
mov byte [ebp - 4], 0x10
push 0
mov byte [ebp - 4], 0xf
mov edx, 0x40
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 4]
call fcn.004e0d20
mov ecx, dword [ebp - 0x9c]
add esp, 0x1c
push 0x639ee0
push str.Password
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::SetDlgItemTextW_wchar_t_const___wchar_t_const__]
mov ecx, dword [ebp - 0x9c]
push 0x639ee0
push str.PasswordOK
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::SetDlgItemTextW_wchar_t_const___wchar_t_const__]
mov ecx, dword [ebp - 0x9c]
push str.Password
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::SetFocus_wchar_t_const__]
jmp 0x4e6073
push 0
lea ecx, [ebp - 0xcc]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWaitCursor::constructor_struct_HWND____]
mov byte [ebp - 4], 0x16
lea ecx, [esi - 0x10]
mov eax, dword [ebp - 0x9c]
lea edx, [eax + 0x908]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [edx]
sub ecx, 0x10
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa8], ecx
cmp dword [ebp - 0xa4], ecx
je 0x4e5e6e
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0xa4], eax
jl 0x4e5e5d
mov eax, dword [esi - 0x10]
cmp eax, dword [ecx]
jne 0x4e5e5d
lea ecx, [esi - 0x10]
call fcn.0040c950
mov edx, dword [ebp - 0xa4]
or ecx, 0xffffffff
mov dword [ebp - 0xac], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e5e50
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa0]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4e5e68
push dword [esi - 0xc]
mov ecx, edx
push esi
call fcn.0040c9d0
mov eax, dword [ebp - 0x9c]
lea ecx, [eax + 0x90c]
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ecx]
sub ecx, 0x10
lea edx, [eax - 0x10]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa0], edx
cmp edx, ecx
je 0x4e5f06
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0xac], esi
mov esi, dword [ebp - 0xb0]
jl 0x4e5ef7
mov edx, dword [edx]
cmp edx, dword [ecx]
jne 0x4e5ef7
mov ecx, dword [ebp - 0xa0]
call fcn.0040c950
mov dword [ebp - 0xa0], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0xac]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e5ee4
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa0]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4e5f06
push dword [eax - 0xc]
mov ecx, dword [ebp - 0xa4]
push eax
call fcn.0040c9d0
mov eax, dword [ebp - 0x9c]
lea ecx, [edi - 0x10]
lea edx, [eax + 0x910]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [edx]
sub ecx, 0x10
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xac], ecx
cmp dword [ebp - 0xa0], ecx
je 0x4e5f9c
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0xa0], eax
jl 0x4e5f8b
mov eax, dword [edi - 0x10]
cmp eax, dword [ecx]
jne 0x4e5f8b
lea ecx, [edi - 0x10]
call fcn.0040c950
mov edx, dword [ebp - 0xa0]
or ecx, 0xffffffff
mov dword [ebp - 0xa8], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e5f7e
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4e5f96
push dword [edi - 0xc]
mov ecx, edx
push edi
call fcn.0040c9d0
mov eax, dword [ebp - 0x9c]
lea ecx, [eax + 0x914]
mov dword [ebp - 0xa4], ecx
lea eax, [ebx + 0x10]
mov ecx, dword [ecx]
lea edx, [eax - 0x10]
sub ecx, 0x10
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa8], ecx
cmp edx, ecx
je 0x4e6031
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [ebp - 0xac], esi
mov esi, dword [ebp - 0xb0]
jl 0x4e6022
mov edx, dword [edx]
cmp edx, dword [ecx]
jne 0x4e6022
mov ecx, dword [ebp - 0xa0]
call fcn.0040c950
mov dword [ebp - 0xa0], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0xac]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e600f
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa0]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4e6031
push dword [eax - 0xc]
mov ecx, dword [ebp - 0xa4]
push eax
call fcn.0040c9d0
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0xc4]
push ecx
push 0
push eax
push 0x4e5840
push 0
push 0
mov dword [eax + 0x950], 0
call fcn.005b6ff3
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xcc]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWaitCursor::destructor_void_]
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
mov edx, dword [ebp - 0xb8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e6095
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0xb4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e60b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e60d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4e60ef
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4e610b
mov ecx, dword [edi]
push edi
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
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
int3