Function at 0x42e2e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb29b
mov eax, dword fs:[0]
push eax
mov eax, 0x2208
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 - 0x21c4], 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 - 0x21f0], eax
mov ecx, dword [ebp - 0x21f0]
mov dword [ebp - 0x21f4], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x21f4]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0x21c8]
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 0x5156ec
lea edx, [ebp - 0x21c8]
push edx
call fcn.0040d100
add esp, 8
movzx eax, al
test eax, eax
je 0x42e443
push 0x5156fc
mov ecx, dword [ebp - 0x21c4]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0x16c4]
call fcn.004338b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16c4]
call fcn.00431550
cmp eax, 1
je 0x42e3e9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c4]
call fcn.004316c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c8]
call fcn.004036f0
jmp 0x42e9c6
mov ecx, dword [ebp - 0x21c4]
call fcn.00430250
mov ecx, dword [ebp - 0x21c4]
call fcn.0042fe70
mov eax, dword [ebp - 0x21c4]
mov ecx, dword [eax + 0x3b8]
or ecx, 2
mov edx, dword [ebp - 0x21c4]
mov dword [edx + 0x3b8], ecx
push 0
push 0x32
mov ecx, 0x55add0
call fcn.0041a390
mov ecx, eax
call fcn.00492510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c4]
call fcn.004316c0
jmp 0x42e9b4
push 0x515724
lea eax, [ebp - 0x21c8]
push eax
call fcn.0040d100
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42e4c7
mov ecx, dword [ebp - 0x21c4]
call fcn.004303f0
movzx edx, al
test edx, edx
jne 0x42e487
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c8]
call fcn.004036f0
jmp 0x42e9c6
mov ecx, dword [ebp - 0x21c4]
call fcn.0042fe70
mov eax, dword [ebp - 0x21c4]
mov ecx, dword [eax + 0x3b8]
or ecx, 2
mov edx, dword [ebp - 0x21c4]
mov dword [edx + 0x3b8], ecx
push 0
push 0x32
mov ecx, 0x55add0
call fcn.0041a390
mov ecx, eax
call fcn.00492510
jmp 0x42e9b4
push str.btn_prot_set
lea eax, [ebp - 0x21c8]
push eax
call fcn.0040d100
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42e51a
lea ecx, [ebp - 0x21c0]
call fcn.00424b30
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x21c4]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x21c0]
call fcn.004309f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c0]
call fcn.00424bd0
jmp 0x42e9b4
push 0x515764
lea ecx, [ebp - 0x21c8]
push ecx
call fcn.0040d100
add esp, 8
movzx edx, al
test edx, edx
je 0x42e687
push 0
lea ecx, [ebp - 0xbd4]
call fcn.004212f0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x21c4]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0xbd4]
call fcn.00430a90
cmp eax, 1
je 0x42e58a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbd4]
call fcn.004213d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c8]
call fcn.004036f0
jmp 0x42e9c6
mov dword [ebp - 0x21d8], 0
lea ecx, [ebp - 0xd8]
call fcn.0041a480
mov dword [ebp - 0x21f8], eax
lea edx, [ebp - 0x21d8]
push edx
push 0x515774
lea eax, [ebp - 0x21fc]
push eax
push 0x51577c
push 0x515788
mov ecx, dword [ebp - 0x21f8]
push ecx
call dword [sym.imp.jansson.dll_json_unpack]
add esp, 0x18
test eax, eax
jge 0x42e5fc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbd4]
call fcn.004213d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c8]
call fcn.004036f0
jmp 0x42e9c6
cmp dword [ebp - 0x21d8], 0
jne 0x42e611
mov dword [ebp - 0x21dc], 1
jmp 0x42e61b
mov dword [ebp - 0x21dc], 0
mov edx, dword [ebp - 0x21dc]
push edx
mov eax, dword [ebp - 0x21fc]
push eax
mov ecx, dword [ebp - 0x21c4]
mov edx, dword [ecx + 0x3b4]
mov eax, dword [ebp - 0x21c4]
mov edx, dword [edx]
mov ecx, dword [eax + 0x3b4]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x42e673
mov ecx, dword [ebp - 0x21c4]
mov ecx, dword [ecx + 0x3a8]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CControlUI::NeedUpdate_void_]
push 0
push 0x32
mov ecx, 0x55add0
call fcn.0041a390
mov ecx, eax
call fcn.00492510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbd4]
call fcn.004213d0
jmp 0x42e9b4
push 0x515794
lea edx, [ebp - 0x21c8]
push edx
call fcn.0040d100
add esp, 8
movzx eax, al
test eax, eax
je 0x42e795
push 0
push 2
push 1
push 0
lea ecx, [ebp - 0x21d4]
push ecx
mov ecx, 0x55add0
call fcn.004a0370
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x21d4]
call fcn.004037d0
movzx edx, al
test edx, edx
je 0x42e6fb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21d4]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c8]
call fcn.004036f0
jmp 0x42e9c6
lea eax, [ebp - 0x21d4]
push eax
mov ecx, dword [ebp - 0x21c4]
add ecx, 0x3c8
call fcn.00410ec0
push 0
push 0
mov ecx, dword [ebp - 0x21c4]
push ecx
push 0x4305d0
mov edx, dword [ebp - 0x21c4]
mov eax, dword [edx + 4]
push eax
call fcn.0048e420
add esp, 0x14
cmp eax, 1
jne 0x42e781
push 1
push 0x7f02
push 1
lea ecx, [ebp - 0x2214]
call fcn.004314e0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x21c4]
call fcn.0042fe70
push 0
push 0x32
mov ecx, 0x55add0
call fcn.0041a390
mov ecx, eax
call fcn.00492510
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2214]
call fcn.00431430
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21d4]
call fcn.004036f0
jmp 0x42e9b4
push 0x5157ac
lea ecx, [ebp - 0x21c8]
push ecx
call fcn.0040d100
add esp, 8
movzx edx, al
test edx, edx
je 0x42e9b4
push 0
push 2
push 0
push 0
lea eax, [ebp - 0x21d0]
push eax
mov ecx, 0x55add0
call fcn.004a0370
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x21d0]
call fcn.004037d0
movzx ecx, al
test ecx, ecx
je 0x42e809
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21d0]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c8]
call fcn.004036f0
jmp 0x42e9c6
push 0x14
call fcn.004d1f00
add esp, 4
mov dword [ebp - 0x21e0], eax
mov byte [ebp - 4], 9
xor edx, edx
mov eax, dword [ebp - 0x21e0]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x21e0]
call fcn.0042e9f0
mov dword [ebp - 0x21e4], eax
jmp 0x42e850
mov ecx, dword [ebp - 0x21e4]
mov dword [ebp - 0x2200], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2200]
mov dword [ebp - 0x21cc], edx
cmp dword [ebp - 0x21cc], 0
jne 0x42e89b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21d0]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c8]
call fcn.004036f0
jmp 0x42e9c6
mov eax, dword [ebp - 0x21c4]
mov ecx, dword [eax + 0x3bc]
push ecx
call dword [sym.imp.jansson.dll_json_deep_copy]
add esp, 4
mov edx, dword [ebp - 0x21cc]
mov dword [edx + 4], eax
lea eax, [ebp - 0x21d0]
push eax
mov ecx, dword [ebp - 0x21cc]
add ecx, 0x10
call fcn.00410ec0
mov ecx, dword [ebp - 0x21c4]
add ecx, 0x3c0
push ecx
mov ecx, dword [ebp - 0x21cc]
add ecx, 8
call fcn.0041c100
mov edx, dword [ebp - 0x21cc]
mov eax, dword [ebp - 0x21c4]
mov dword [edx], eax
push 0
push 0
mov ecx, dword [ebp - 0x21cc]
push ecx
push 0x430730
push 0
push 0
call fcn.004dd348
add esp, 0x18
mov dword [ebp - 0x21ec], eax
cmp dword [ebp - 0x21ec], 0
jne 0x42e998
mov edx, dword [ebp - 0x21cc]
mov eax, dword [edx + 4]
push eax
call fcn.00419ed0
add esp, 4
mov ecx, dword [ebp - 0x21cc]
mov dword [ebp - 0x2204], ecx
mov edx, dword [ebp - 0x2204]
mov dword [ebp - 0x21e8], edx
cmp dword [ebp - 0x21e8], 0
je 0x42e96b
push 1
mov ecx, dword [ebp - 0x21e8]
call fcn.0042ea20
mov dword [ebp - 0x2208], eax
jmp 0x42e975
mov dword [ebp - 0x2208], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21d0]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c8]
call fcn.004036f0
jmp 0x42e9c6
mov eax, dword [ebp - 0x21ec]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21d0]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c8]
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