Function at 0x461c40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdb29
mov eax, dword fs:[0]
push eax
mov eax, 0x16a8
call fcn.004d2a50
mov eax, dword [0x550070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1684], ecx
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp + 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x108]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x1698], eax
mov ecx, dword [ebp - 0x1698]
mov dword [ebp - 0x169c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x169c]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0x1688]
call fcn.004050b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
push str.btn_add
lea edx, [ebp - 0x1688]
push edx
call fcn.0040d100
add esp, 8
movzx eax, al
test eax, eax
je 0x461d15
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1684]
call fcn.00464560
movzx ecx, al
test ecx, ecx
je 0x461d10
mov ecx, dword [ebp - 0x1684]
call fcn.00463440
jmp 0x462191
push 0x519bd8
lea edx, [ebp - 0x1688]
push edx
call fcn.0040d100
add esp, 8
movzx eax, al
test eax, eax
je 0x461d40
mov ecx, dword [ebp - 0x1684]
call fcn.00464810
jmp 0x462191
push 0x519bec
lea ecx, [ebp - 0x1688]
push ecx
call fcn.0040d100
add esp, 8
movzx edx, al
test edx, edx
je 0x461dce
push 0x519bfc
mov eax, dword [ebp - 0x1684]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0xb84]
call fcn.004338b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb84]
call fcn.00431550
cmp eax, 1
je 0x461daf
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb84]
call fcn.004316c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1688]
call fcn.004036f0
jmp 0x4621a3
mov ecx, dword [ebp - 0x1684]
call fcn.00464320
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb84]
call fcn.004316c0
jmp 0x462191
push 0x519c24
lea edx, [ebp - 0x1688]
push edx
call fcn.0040d100
add esp, 8
movzx eax, al
test eax, eax
je 0x461e34
mov ecx, dword [ebp - 0x1684]
cmp dword [ecx + 0x3c4], 0
jne 0x461e0f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1688]
call fcn.004036f0
jmp 0x4621a3
mov ecx, dword [ebp - 0x1684]
call fcn.004637c0
push 0
push 0x19
mov ecx, 0x55add0
call fcn.0041a390
mov ecx, eax
call fcn.00492510
jmp 0x462191
push str.btn_set
lea edx, [ebp - 0x1688]
push edx
call fcn.0040d100
add esp, 8
movzx eax, al
test eax, eax
je 0x461e87
lea ecx, [ebp - 0x1680]
call fcn.00466c50
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1684]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0x1680]
call fcn.00465a60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1680]
call fcn.00466cf0
jmp 0x462191
push 0x519c58
lea eax, [ebp - 0x1688]
push eax
call fcn.0040d100
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x461fa1
lea ecx, [ebp - 0x168c]
call fcn.00403790
mov byte [ebp - 4], 5
push 0
push 2
push 1
push 0
lea edx, [ebp - 0x16a8]
push edx
mov ecx, 0x55add0
call fcn.004a0370
mov dword [ebp - 0x16a0], eax
mov eax, dword [ebp - 0x16a0]
mov dword [ebp - 0x16a4], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x16a4]
push ecx
lea ecx, [ebp - 0x168c]
call fcn.00410ec0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x16a8]
call fcn.004036f0
lea ecx, [ebp - 0x168c]
call fcn.004037d0
movzx edx, al
test edx, edx
jne 0x461f76
lea eax, [ebp - 0x168c]
push eax
mov ecx, dword [ebp - 0x1684]
add ecx, 0x3c8
call fcn.00410ec0
push 0
push 0
mov ecx, dword [ebp - 0x1684]
push ecx
push 0x465670
mov edx, dword [ebp - 0x1684]
mov eax, dword [edx + 4]
push eax
call fcn.0048e420
add esp, 0x14
cmp eax, 1
jne 0x461f76
mov ecx, dword [ebp - 0x1684]
call fcn.00463440
push 0
push 0x19
mov ecx, 0x55add0
call fcn.0041a390
mov ecx, eax
call fcn.00492510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x168c]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1688]
call fcn.004036f0
jmp 0x4621a3
push 0x519c70
lea ecx, [ebp - 0x1688]
push ecx
call fcn.0040d100
add esp, 8
movzx edx, al
test edx, edx
je 0x462090
lea ecx, [ebp - 0x1690]
call fcn.00403790
mov byte [ebp - 4], 7
push 0
push 2
push 0
push 0
lea eax, [ebp - 0x16b4]
push eax
mov ecx, 0x55add0
call fcn.004a0370
mov dword [ebp - 0x16ac], eax
mov ecx, dword [ebp - 0x16ac]
mov dword [ebp - 0x16b0], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x16b0]
push edx
lea ecx, [ebp - 0x1690]
call fcn.00410ec0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x16b4]
call fcn.004036f0
lea ecx, [ebp - 0x1690]
call fcn.004037d0
movzx eax, al
test eax, eax
jne 0x462065
lea ecx, [ebp - 0x1690]
push ecx
mov ecx, dword [ebp - 0x1684]
add ecx, 0x3c8
call fcn.00410ec0
push 0
push 0
mov edx, dword [ebp - 0x1684]
push edx
push 0x4657d0
push 0
push 0
call fcn.004dd348
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1690]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1688]
call fcn.004036f0
jmp 0x4621a3
push 0x519c88
lea eax, [ebp - 0x1688]
push eax
call fcn.0040d100
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4620c6
push 0x519ca0
lea edx, [ebp - 0x1688]
push edx
call fcn.0040d100
add esp, 8
movzx eax, al
test eax, eax
je 0x4620d8
push 1
mov ecx, dword [ebp - 0x1684]
call fcn.00464a60
jmp 0x462191
push 0x519cc4
lea ecx, [ebp - 0x1688]
push ecx
call fcn.0040d100
add esp, 8
movzx edx, al
test edx, edx
je 0x462140
mov eax, dword [ebp - 0x1684]
mov ecx, dword [eax + 0x3b4]
mov dword [ebp - 0x1694], ecx
cmp dword [ebp - 0x1694], 0
je 0x46213e
push 0x519ce8
mov edx, dword [ebp - 0x1694]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1694]
mov edx, dword [eax + 0x2c]
call edx
mov ecx, dword [ebp - 0x1684]
call fcn.00464c00
push 0
mov ecx, dword [ebp - 0x1684]
call fcn.00464a60
jmp 0x462191
push str.btn_turnon
lea eax, [ebp - 0x1688]
push eax
call fcn.0040d100
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x462191
mov ecx, dword [ebp - 0x1684]
call fcn.00465280
push 1
push 0x19
mov ecx, 0x55add0
call fcn.004a0eb0
mov edx, dword [ebp - 0x1684]
mov ecx, dword [edx + 0x3a8]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CListMiddleUI____thiscall_DuiLib::CVListUI::GetMiddle_void_const]
push eax
mov ecx, 0x55add0
call fcn.004a0f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1688]
call fcn.004036f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d181f
mov esp, ebp
pop ebp
ret 4