Function at 0x465e60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62ae88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6d45e0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov edi, dword [ebp + 0xc]
push str.nick
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edi
call fcn.005d625b
push str.customer
mov ecx, ebx
mov esi, eax
call fcn.005d625b
push str.mode1
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.005d625b
mov ecx, dword [esp + 0x18]
mov ebx, eax
push str.mode2
call fcn.005d625b
mov ecx, dword [esp + 0x18]
push str.mode3
mov dword [esp + 0x30], eax
call fcn.005d625b
mov ecx, dword [esp + 0x18]
push str.agent
mov dword [esp + 0x24], eax
call fcn.005d625b
mov ecx, dword [esp + 0x18]
push str.state
mov dword [esp + 0x3c], eax
call fcn.005d625b
mov ecx, dword [esp + 0x18]
push str.model
mov dword [esp + 0x18], eax
call fcn.005d625b
mov dword [esp + 0x24], eax
mov ecx, edi
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
call fcn.00419920
mov dword [esp + 0x50], 0
mov ecx, ebx
mov edi, dword [esp + 0x3c]
push edi
call fcn.005d82ea
mov ecx, dword [esp + 0x2c]
push edi
call fcn.005d82ea
mov ecx, dword [esp + 0x20]
push edi
call fcn.005d82ea
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
call fcn.00419980
mov byte [esp + 0x50], 1
mov ecx, esi
mov edx, dword [esi]
push dword [eax]
call dword [edx + 0x2c]
mov byte [esp + 0x50], 0
or eax, 0xffffffff
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x465faa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00419920
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x50], 2
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov byte [esp + 0x50], 0
or ecx, 0xffffffff
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x465fed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x1c]
cmp eax, 1
jne 0x465ffb
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x46601d
cmp eax, 2
jne 0x466012
mov esi, dword [esp + 0x2c]
mov ecx, esi
push 1
mov eax, dword [esi]
call dword [eax + 0x198]
jmp 0x466029
cmp eax, 3
jne 0x466025
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
push 1
call dword [eax + 0x198]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
cmp ecx, 1
jne 0x46603c
push str.kefuzhuangtai_zaixain.png
jmp 0x466051
test ecx, ecx
jne 0x466047
push str.kefuzhuangtai_manglu.png
jmp 0x466051
cmp ecx, 3
jne 0x46605e
push str.kefuzhuangtai_lixian.png
mov ecx, dword [esp + 0x18]
call fcn.005da603
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], eax
cmp eax, 1
je 0x466074
cmp eax, 2
je 0x466074
cmp eax, 4
jne 0x4660b3
mov ecx, dword [esp + 0x24]
push 1
mov eax, dword [ecx]
call dword [eax + 0xf0]
cmp dword [esp + 0x14], 1
jne 0x46610e
mov ecx, dword [esp + 0x20]
push 0
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov eax, dword [ebx]
mov ecx, ebx
push 0x69f370
call dword [eax + 0x2c]
mov eax, dword [esi]
mov ecx, esi
push 0x69f368
call dword [eax + 0x2c]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov al, byte [eax + 0x20]
test al, al
mov eax, dword [esp + 0x38]
jne 0x46621d
test eax, eax
je 0x4660de
push str.lianjiezhuangtai_weishouquan.png
mov ecx, eax
call fcn.005da603
cmp ebx, 4
jne 0x466299
lea ebx, [esi + 0x30]
push str.btn_state
mov ecx, ebx
call fcn.005cad8c
mov esi, eax
push 0x46
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x80]
push str.device_false.png
jmp 0x466254
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
push ecx
add eax, 0xf4
movq qword [esp + 0x34], xmm0
push eax
lea ecx, [esp + 0x38]
call fcn.00468eb0
mov byte [esp + 0x50], 3
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0
test eax, eax
jle 0x4661cc
mov edi, dword [esp + 0x20]
lea esp, [esp]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
call fcn.004334c0
lea ecx, [esp + 0x30]
cmp dword [eax + 0x1c], 1
lea eax, [esp + 0x2c]
push eax
jne 0x466178
call fcn.004334c0
mov edx, dword [ebx]
mov ecx, ebx
jmp 0x4661b4
call fcn.004334c0
lea ecx, [esp + 0x30]
cmp dword [eax + 0x1c], 2
lea eax, [esp + 0x2c]
push eax
jne 0x466197
call fcn.004334c0
mov edx, dword [esi]
mov ecx, esi
jmp 0x4661b4
call fcn.004334c0
cmp dword [eax + 0x1c], 3
jne 0x4661b9
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
call fcn.004334c0
mov edx, dword [edi]
mov ecx, edi
push dword [eax]
call dword [edx + 0x2c]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x24]
jl 0x466150
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
cmp ebx, 4
jne 0x4661f2
push str.btn_device
lea ecx, [esi + 0x30]
call fcn.005cad8c
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xf0]
mov byte [esp + 0x50], 0
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x30]
push eax
push dword [eax]
lea eax, [esp + 0x2c]
push eax
call fcn.00433d40
push dword [esp + 0x30]
call fcn.004c41b0
add esp, 4
jmp 0x4660bb
test eax, eax
je 0x46622d
push str.lianjiezhuangtai_lianjiechenggong.png
mov ecx, eax
call fcn.005da603
cmp ebx, 4
jne 0x466299
lea ebx, [esi + 0x30]
push str.btn_state
mov ecx, ebx
call fcn.005cad8c
mov esi, eax
push 0x3c
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x80]
push str.device_pass.png
mov ecx, esi
call fcn.005da603
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx + 0xf0]
push str.btn_state
mov ecx, ebx
call fcn.005cad8c
mov esi, eax
push 0x3c
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x80]
push str.device_pass.png
mov ecx, esi
call fcn.005da603
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx + 0xf0]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 0
call fcn.00419490
mov byte [esp + 0x50], 4
mov esi, dword [esp + 0x38]
cmp dword [esi - 0xc], 0
je 0x4662e7
mov ecx, dword [esp + 0x18]
push str.lab_store
call fcn.005d625b
mov ebx, eax
push esi
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x2c]
cmp dword [esi - 0xc], 0xa
jle 0x4662e7
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0xb8]
add esi, 0xfffffff0
mov byte [esp + 0x50], 0
or ebx, 0xffffffff
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x466308
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [esp + 0x50], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x466327
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004c392d
mov esp, ebp
pop ebp
ret 8