Function at 0x506930
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607a4b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x98]
push edx
mov ecx, dword [eax + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 4], 0
mov ecx, eax
mov edi, dword [sym.imp.ycomuiu.dll_public:_wchar_t_const____thiscall_DuiLib::CStdString::operator_wchar_t_const__void_const]
call edi
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040c380
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
mov esi, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
call esi
push 0
push dword [ebp - 0xa0]
lea eax, [ebp - 0x98]
mov ecx, ebx
push eax
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CStdString___thiscall_DuiLib::WindowImplBase::GetDlgItemTextW_wchar_t_const___bool_]
mov byte [ebp - 4], 3
mov ecx, eax
call edi
push eax
lea ecx, [ebp - 0xa8]
call fcn.0040c380
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x98]
call esi
mov eax, dword [ebp - 0xa8]
or edi, 0xffffffff
mov esi, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
cmp dword [eax - 0xc], 4
jne 0x506b9c
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x506c6d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 7
mov edx, 0x65c944
mov eax, dword [ebp - 0xa0]
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x506a48
test si, si
je 0x506a44
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x506a48
add ecx, 4
add edx, 4
test si, si
jne 0x506a22
xor ecx, ecx
jmp 0x506a4d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x506a5d
push 3
push 0x65c93c
jmp 0x506ad7
mov edx, 0x65c93c
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x506a8a
test si, si
je 0x506a86
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x506a8a
add ecx, 4
add edx, 4
test si, si
jne 0x506a64
xor ecx, ecx
jmp 0x506a8f
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x506a9c
push 3
push 0x65c934
jmp 0x506ad7
mov ecx, 0x65c934
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x506ac7
test dx, dx
je 0x506ac3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x506ac7
add eax, 4
add ecx, 4
test dx, dx
jne 0x506aa1
xor eax, eax
jmp 0x506acc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x506ae2
push 3
push 0x65c92c
lea ecx, [ebp - 0x9c]
call fcn.0040c9d0
push dword [ebp - 0x9c]
lea ecx, [ebx + 0x34]
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x506aff
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x15c]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x9c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x506b20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
lea eax, [ebp - 0xa4]
mov ecx, ebx
push eax
call fcn.00506c80
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xa4]
cmp dword [eax - 0xc], 0x10
jne 0x506bc6
mov eax, dword [ebx + 0x948]
test eax, eax
je 0x506b79
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x506beb
push dword [ebx + 0x948]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x948], 0
lea eax, [ebp - 0x9c]
push eax
push 0
push ebx
push 0x507320
push 0
push 0
call fcn.005b6ff3
add esp, 0x18
mov dword [ebx + 0x948], eax
jmp 0x506beb
push 0
push str.btnDiscountPay
mov ecx, ebx
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::EnableWindow_wchar_t_const___bool_]
push 0
push str.imgOK
mov ecx, ebx
call esi
push 0
push str.imgNO
mov ecx, ebx
call esi
jmp 0x506b26
push 0
push str.btnDiscountPay
mov ecx, ebx
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::EnableWindow_wchar_t_const___bool_]
push 0
push str.imgOK
mov ecx, ebx
call esi
push 0
push str.imgNO
mov ecx, ebx
call esi
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x506c0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x506c2d
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 0x506c4f
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 4
push 0x80004005
call fcn.0040b250
int3