Function at 0x406d30
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x439333
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x44a680]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a680]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0xc0]
push ebp
push edi
push esi
push eax
mov dword [esp + 0xb4], ebx
call fcn.00405f10
mov esi, eax
cmp esi, ebx
je 0x40707f
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x406dd1
call fcn.00401e80
mov ecx, dword [esi]
mov eax, dword [ecx + 0x38]
lea edx, [esp + 0x28]
push edx
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1f], bl
call eax
test eax, eax
jl 0x406e6a
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
call fcn.00404230
mov byte [esp + 0xa4], 1
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x20]
mov edi, 1
cmp dword [eax - 4], edi
jle 0x406e2e
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x24]
call fcn.00401e00
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push 0x43fddc
push ecx
call fcn.0042445f
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406e6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406e6f
mov edi, 1
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x30]
push ecx
call ebp
push str.INPUT
lea edx, [esp + 0x34]
push edx
call fcn.00401160
cmp eax, ebx
je 0x406f1e
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push 0x43f55c
push esi
call edx
cmp eax, ebx
jl 0x406f1e
cmp dword [esp + 0x1c], ebx
je 0x406f1e
push str.Input_mo_rong
call ebp
mov eax, dword [esp + 0xb0]
cmp dword [eax - 4], edi
mov byte [esp + 0x17], 1
jle 0x406edd
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0xb4]
call fcn.00401e00
mov eax, dword [esp + 0xb0]
mov edi, eax
call fcn.00401200
test al, al
jbe 0x406efc
mov ecx, dword [esi]
mov edx, dword [ecx + 0x114]
push esi
call edx
push str.Click_dang_INPUT
call ebp
jmp 0x406f0d
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, 1
push str.BUTTON
lea eax, [esp + 0x34]
push eax
call fcn.00401160
cmp eax, ebx
je 0x406ff2
push str.day_la_button
call ebp
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
push 0x43f56c
push esi
call eax
cmp eax, ebx
jl 0x406ff2
cmp dword [esp + 0x18], ebx
je 0x406ff2
push str.BUTTON_mo_rong
call ebp
mov eax, dword [esp + 0xb0]
cmp dword [eax - 4], edi
jle 0x406f89
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0xb4]
call fcn.00401e00
mov eax, dword [esp + 0xb0]
mov edi, eax
call fcn.00401200
test al, al
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
jbe 0x406fd9
push str.click
push eax
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push str.onclick
push eax
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 0x114]
push esi
call ecx
push str.Click_dang_BUTON
call ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x40706c
mov ecx, dword [esp + 0x24]
mov edx, dword [edx + 0x20]
push ecx
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x40706c
cmp byte [esp + 0x17], bl
jne 0x40706c
mov eax, dword [esp + 0xb0]
cmp dword [eax - 4], edi
mov byte [esp + 0x17], 1
jle 0x407020
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0xb4]
call fcn.00401e00
mov eax, dword [esp + 0xb0]
mov edi, eax
call fcn.00401200
test al, al
jbe 0x407041
mov ecx, dword [esi]
mov edx, dword [ecx + 0x114]
push esi
call edx
push str.CLICK_DEFAULT
mov byte [esp + 0x1b], bl
call ebp
push str.data_bt_ben_duoi
call ebp
mov eax, dword [esp + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [esp + 0x17], bl
je 0x40706c
mov edx, dword [esp + 0x24]
mov ecx, dword [esi]
mov eax, dword [ecx + 0xec]
push edx
push esi
call eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff0
push eax
call fcn.00401cd0
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0xb4]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4070c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00424450
add esp, 0x94
ret 0x18