Function at 0x4c8d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503953
mov eax, dword fs:[0]
push eax
sub esp, 0xbbc
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 - 0xb88], 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 - 0xbb0], eax
mov ecx, dword [ebp - 0xbb0]
mov dword [ebp - 0xbb4], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xbb4]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0xb8c]
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 0x524770
lea edx, [ebp - 0xb8c]
push edx
call fcn.0040d100
add esp, 8
movzx eax, al
test eax, eax
je 0x4c8e35
mov ecx, dword [ebp - 0xb88]
call fcn.004caf70
mov dword [ebp - 0xb9c], eax
cmp dword [ebp - 0xb9c], 0
jne 0x4c8e1e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8c]
call fcn.004036f0
jmp 0x4c9242
mov ecx, dword [ebp - 0xb9c]
push ecx
mov ecx, dword [ebp - 0xb88]
call fcn.004ca6d0
jmp 0x4c9230
push 0x524758
lea edx, [ebp - 0xb8c]
push edx
call fcn.0040d100
add esp, 8
movzx eax, al
test eax, eax
je 0x4c8ec3
push str.msg_rule_remove.xml
mov ecx, dword [ebp - 0xb88]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0xb84]
call fcn.004338b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb84]
call fcn.00431550
cmp eax, 1
je 0x4c8ea4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb84]
call fcn.004316c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8c]
call fcn.004036f0
jmp 0x4c9242
mov ecx, dword [ebp - 0xb88]
call fcn.004ca800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb84]
call fcn.004316c0
jmp 0x4c9230
push str.btn_add_policy
lea eax, [ebp - 0xb8c]
push eax
call fcn.0040d100
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4c8ef0
push 0
mov ecx, dword [ebp - 0xb88]
call fcn.004ca6d0
jmp 0x4c9230
push str.btn_import
lea edx, [ebp - 0xb8c]
push edx
call fcn.0040d100
add esp, 8
movzx eax, al
test eax, eax
je 0x4c900e
push 0
push 2
push 1
push 0
lea ecx, [ebp - 0xb98]
push ecx
mov ecx, 0x55add0
call fcn.004a0370
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb98]
call fcn.004037d0
movzx edx, al
test edx, edx
je 0x4c8f64
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb98]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8c]
call fcn.004036f0
jmp 0x4c9242
lea eax, [ebp - 0xb98]
push eax
mov ecx, dword [ebp - 0xb88]
add ecx, 0x3bc
call fcn.00410ec0
push 0
push 0
mov ecx, dword [ebp - 0xb88]
push ecx
push 0x4cb3a0
mov edx, dword [ebp - 0xb88]
mov eax, dword [edx + 4]
push eax
call fcn.0048e420
add esp, 0x14
cmp eax, 1
jne 0x4c8ffa
push 1
push 0x7f02
push 1
lea ecx, [ebp - 0xbc8]
call fcn.004314e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xb88]
mov edx, dword [ecx + 0x3a4]
or edx, 1
mov eax, dword [ebp - 0xb88]
mov dword [eax + 0x3a4], edx
push 0
push 0x38
mov ecx, 0x55add0
call fcn.0041a390
mov ecx, eax
call fcn.00492510
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xbc8]
call fcn.00431430
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb98]
call fcn.004036f0
jmp 0x4c9230
push 0x5247cc
lea ecx, [ebp - 0xb8c]
push ecx
call fcn.0040d100
add esp, 8
movzx edx, al
test edx, edx
je 0x4c9230
push 0
push 2
push 0
push 0
lea eax, [ebp - 0xb94]
push eax
mov ecx, 0x55add0
call fcn.004a0370
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb94]
call fcn.004037d0
movzx ecx, al
test ecx, ecx
je 0x4c9082
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb94]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8c]
call fcn.004036f0
jmp 0x4c9242
push 0x10
call fcn.004d1f00
add esp, 4
mov dword [ebp - 0xba0], eax
xor edx, edx
mov eax, dword [ebp - 0xba0]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0xba0]
call fcn.004c9260
mov dword [ebp - 0xba4], eax
jmp 0x4c90c2
mov ecx, dword [ebp - 0xba4]
mov dword [ebp - 0xb90], ecx
cmp dword [ebp - 0xb90], 0
jne 0x4c90fd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb94]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8c]
call fcn.004036f0
jmp 0x4c9242
mov edx, dword [ebp - 0xb88]
mov eax, dword [edx + 0x3b4]
push eax
call dword [sym.imp.jansson.dll_json_deep_copy]
add esp, 4
mov ecx, dword [ebp - 0xb90]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xb88]
mov eax, dword [edx + 0x3b8]
push eax
call dword [sym.imp.jansson.dll_json_deep_copy]
add esp, 4
mov ecx, dword [ebp - 0xb90]
mov dword [ecx + 8], eax
lea edx, [ebp - 0xb94]
push edx
mov ecx, dword [ebp - 0xb90]
add ecx, 0xc
call fcn.00410ec0
mov eax, dword [ebp - 0xb90]
mov ecx, dword [ebp - 0xb88]
mov dword [eax], ecx
push 0
push 0
mov edx, dword [ebp - 0xb90]
push edx
push 0x4cb4b0
push 0
push 0
call fcn.004dd348
add esp, 0x18
mov dword [ebp - 0xbac], eax
cmp dword [ebp - 0xbac], 0
jne 0x4c9214
mov eax, dword [ebp - 0xb90]
mov ecx, dword [eax + 4]
push ecx
call fcn.00419ed0
add esp, 4
mov edx, dword [ebp - 0xb90]
mov eax, dword [edx + 8]
push eax
call fcn.00419ed0
add esp, 4
mov ecx, dword [ebp - 0xb90]
mov dword [ebp - 0xbb8], ecx
mov edx, dword [ebp - 0xbb8]
mov dword [ebp - 0xba8], edx
cmp dword [ebp - 0xba8], 0
je 0x4c91e7
push 1
mov ecx, dword [ebp - 0xba8]
call fcn.004c9280
mov dword [ebp - 0xbbc], eax
jmp 0x4c91f1
mov dword [ebp - 0xbbc], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb94]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8c]
call fcn.004036f0
jmp 0x4c9242
mov eax, dword [ebp - 0xbac]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb94]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8c]
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