Function at 0x4e4860
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6022a1
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x9c]
push edx
mov ecx, dword [eax + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
mov esi, dword [sym.imp.ycomuiu.dll_public:_bool___thiscall_DuiLib::CStdString::operator_wchar_t_const__const]
push str.userName
call esi
test al, al
je 0x4e4a50
push 0
push str.userName
lea eax, [ebp - 0x124]
mov ecx, edi
push eax
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CStdString___thiscall_DuiLib::WindowImplBase::GetDlgItemTextW_wchar_t_const___bool_]
mov byte [ebp - 4], 1
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 - 0x128]
call fcn.0040c380
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
mov eax, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
call eax
mov eax, dword [ebp - 0x128]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x4e4a4b
lea edx, [edi + 0x900]
lea ecx, [ebp - 0x128]
call fcn.0049a1f0
test al, al
je 0x4e4a4b
mov eax, dword [ebp - 0x128]
mov esi, dword [edi + 0x900]
sub esi, 0x10
lea edx, [eax - 0x10]
cmp edx, esi
je 0x4e4997
cmp dword [esi + 0xc], 0
jl 0x4e4988
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x4e4988
mov ecx, edx
call fcn.0040c950
mov dword [ebp - 0x12c], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e497d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x12c]
add eax, 0x10
mov dword [edi + 0x900], eax
jmp 0x4e4997
push dword [eax - 0xc]
lea ecx, [edi + 0x900]
push eax
call fcn.0040c9d0
lea eax, [ebp - 0x128]
push eax
lea ecx, [edi + 0x930]
call fcn.004c5800
cmp eax, 0xffffffff
je 0x4e49cc
mov esi, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
mov ecx, edi
push 1
push str.imgOK
call esi
push 0
push str.imgNO
mov ecx, edi
call esi
jmp 0x4e4a4b
lea eax, [ebp - 0x128]
push eax
lea ecx, [edi + 0x93c]
call fcn.004c5800
cmp eax, 0xffffffff
je 0x4e4a01
mov esi, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
mov ecx, edi
push 0
push str.imgOK
call esi
push 1
push str.imgNO
mov ecx, edi
call esi
jmp 0x4e4a4b
mov eax, dword [edi + 0x92c]
test eax, eax
je 0x4e4a2a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x92c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x92c], 0
lea eax, [ebp - 0x130]
push eax
push 0
push edi
push 0x4e4c60
push 0
push 0
call fcn.005b6ff3
add esp, 0x18
mov dword [edi + 0x92c], eax
jmp 0x4e4c0c
push 0x650edc
lea ecx, [ebp - 0x9c]
call esi
test al, al
je 0x4e4c2b
cmp dword [0x6b0c60], 0x3a8
je 0x4e4c2b
push 0
push 0x650edc
lea eax, [ebp - 0x124]
mov ecx, edi
push eax
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CStdString___thiscall_DuiLib::WindowImplBase::GetDlgItemTextW_wchar_t_const___bool_]
mov byte [ebp - 4], 7
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 - 0x128]
call fcn.0040c380
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x124]
mov eax, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
call eax
mov eax, dword [ebp - 0x128]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x4e4c0c
lea edx, [edi + 0x900]
lea ecx, [ebp - 0x128]
call fcn.0049a1f0
test al, al
je 0x4e4c0c
mov eax, dword [ebp - 0x128]
mov esi, dword [edi + 0x900]
sub esi, 0x10
lea ecx, [eax - 0x10]
cmp ecx, esi
je 0x4e4b43
cmp dword [esi + 0xc], 0
jl 0x4e4b34
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x4e4b34
call fcn.0040c950
mov dword [ebp - 0x12c], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e4b29
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x12c]
add eax, 0x10
mov dword [edi + 0x900], eax
jmp 0x4e4b43
push dword [eax - 0xc]
lea ecx, [edi + 0x900]
push eax
call fcn.0040c9d0
lea eax, [ebp - 0x128]
push eax
lea ecx, [edi + 0x930]
call fcn.004c5800
cmp eax, 0xffffffff
je 0x4e4b6f
mov esi, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
mov ecx, edi
push 1
push str.imgOK
call esi
push 0
jmp 0x4e4bb7
push ecx
mov esi, esp
mov dword [ebp - 0x130], esp
mov dword [ebp - 0x12c], esi
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx - 0x10]
call fcn.0040c950
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 9
call fcn.004df460
add esp, 4
test eax, eax
jne 0x4e4bc2
mov esi, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
mov ecx, edi
push eax
push str.imgOK
call esi
push 1
push str.imgNO
mov ecx, edi
call esi
jmp 0x4e4c0c
mov eax, dword [edi + 0x92c]
test eax, eax
je 0x4e4beb
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x92c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x92c], 0
lea eax, [ebp - 0x134]
push eax
push 0
push edi
push 0x4e4c60
push 0
push 0
call fcn.005b6ff3
add esp, 0x18
mov dword [edi + 0x92c], eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x128]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4e4c2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 4