Function at 0x456a10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd2d5
mov eax, dword fs:[0]
push eax
sub esp, 0xbc8
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
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xb88]
call fcn.00425260
push 0
push 0x553dac
push 0x553dec
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x108]
push edx
call fcn.004f944d
add esp, 0x14
mov dword [ebp - 0xb9c], eax
cmp dword [ebp - 0xb9c], 0
jne 0x456a84
jmp 0x457040
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0xb9c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb9c]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0xbb4], eax
mov ecx, dword [ebp - 0xbb4]
mov dword [ebp - 0xbb8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xbb8]
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 0x5189d8
lea edx, [ebp - 0xb8c]
push edx
call fcn.0040d100
add esp, 8
movzx eax, al
test eax, eax
je 0x456ba1
push 0x5189e8
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 0x456b52
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 0x457040
mov ecx, dword [ebp - 0xb88]
call fcn.00455970
push 0
push 0x29
mov ecx, 0x55add0
call fcn.0041a390
mov ecx, eax
call fcn.00492510
mov eax, dword [ebp - 0xb88]
mov ecx, dword [eax + 0xb08]
or ecx, 2
mov edx, dword [ebp - 0xb88]
mov dword [edx + 0xb08], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb84]
call fcn.004316c0
jmp 0x45702e
push 0x518a10
lea eax, [ebp - 0xb8c]
push eax
call fcn.0040d100
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x456c8c
mov dword [ebp - 0xbbc], 0
mov edx, dword [ebp - 0xbbc]
push edx
mov eax, dword [ebp - 0xb88]
mov ecx, dword [eax + 0xb00]
push ecx
call fcn.004536d0
add esp, 8
push eax
mov edx, dword [ebp - 0xb88]
mov eax, dword [edx + 0xb00]
mov ecx, dword [ebp - 0xb88]
mov ecx, dword [ecx + 0xb00]
add ecx, 0x808
mov edx, dword [eax + 0x808]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xba0], eax
cmp dword [ebp - 0xba0], 0
jne 0x456c35
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8c]
call fcn.004036f0
jmp 0x457040
mov ecx, dword [ebp - 0xba0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xba0]
mov eax, dword [edx + 0xc0]
call eax
push eax
mov ecx, dword [ebp - 0xb88]
call fcn.00455b90
push 0
push 0x29
mov ecx, 0x55add0
call fcn.0041a390
mov ecx, eax
call fcn.00492510
mov ecx, dword [ebp - 0xb88]
mov edx, dword [ecx + 0xb08]
or edx, 2
mov eax, dword [ebp - 0xb88]
mov dword [eax + 0xb08], edx
jmp 0x45702e
push 0x518a24
lea ecx, [ebp - 0xb8c]
push ecx
call fcn.0040d100
add esp, 8
movzx edx, al
test edx, edx
je 0x456ce7
mov ecx, dword [ebp - 0xb88]
call fcn.00455a70
push 0
push 0x29
mov ecx, 0x55add0
call fcn.0041a390
mov ecx, eax
call fcn.00492510
mov eax, dword [ebp - 0xb88]
mov ecx, dword [eax + 0xb08]
or ecx, 2
mov edx, dword [ebp - 0xb88]
mov dword [edx + 0xb08], ecx
jmp 0x45702e
push 0x518a34
lea eax, [ebp - 0xb8c]
push eax
call fcn.0040d100
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x456e0d
push 0
push 2
push 1
mov edx, dword [ebp - 0xb88]
mov eax, dword [edx + 4]
push eax
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 0x456d63
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 0x457040
lea eax, [ebp - 0xb98]
push eax
mov ecx, dword [ebp - 0xb88]
add ecx, 0xb10
call fcn.00410ec0
push 0
push 0
mov ecx, dword [ebp - 0xb88]
push ecx
push 0x4570f0
mov edx, dword [ebp - 0xb88]
mov eax, dword [edx + 4]
push eax
call fcn.0048e420
add esp, 0x14
cmp eax, 1
jne 0x456df9
push 1
push 0x7f02
push 1
lea ecx, [ebp - 0xbd4]
call fcn.004314e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xb88]
mov edx, dword [ecx + 0xb08]
or edx, 2
mov eax, dword [ebp - 0xb88]
mov dword [eax + 0xb08], edx
push 0
push 0x29
mov ecx, 0x55add0
call fcn.0041a390
mov ecx, eax
call fcn.00492510
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xbd4]
call fcn.00431430
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb98]
call fcn.004036f0
jmp 0x45702e
push 0x518a4c
lea ecx, [ebp - 0xb8c]
push ecx
call fcn.0040d100
add esp, 8
movzx edx, al
test edx, edx
je 0x45702e
push 0
push 2
push 0
mov eax, dword [ebp - 0xb88]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0xb94]
push edx
mov ecx, 0x55add0
call fcn.004a0370
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb94]
call fcn.004037d0
movzx eax, al
test eax, eax
je 0x456e89
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 0x457040
push 0x14
call fcn.004d1f00
add esp, 4
mov dword [ebp - 0xba4], eax
mov byte [ebp - 4], 7
xor ecx, ecx
mov edx, dword [ebp - 0xba4]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0xba4]
call fcn.00457060
mov dword [ebp - 0xba8], eax
jmp 0x456ed0
mov eax, dword [ebp - 0xba8]
mov dword [ebp - 0xbc0], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xbc0]
mov dword [ebp - 0xb90], ecx
cmp dword [ebp - 0xb90], 0
jne 0x456f1b
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 0x457040
mov edx, dword [ebp - 0xb90]
add edx, 8
push edx
mov ecx, dword [ebp - 0xb88]
call fcn.00455520
lea eax, [ebp - 0xb94]
push eax
mov ecx, dword [ebp - 0xb90]
add ecx, 0x10
call fcn.00410ec0
mov ecx, dword [ebp - 0xb88]
mov edx, dword [ecx + 0xb04]
push edx
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 - 0xb90]
mov eax, dword [ebp - 0xb88]
mov dword [edx], eax
push 0
push 0
mov ecx, dword [ebp - 0xb90]
push ecx
push 0x457250
push 0
push 0
call fcn.004dd348
add esp, 0x18
mov dword [ebp - 0xbb0], eax
cmp dword [ebp - 0xbb0], 0
jne 0x457012
mov edx, dword [ebp - 0xb90]
mov eax, dword [edx + 4]
push eax
call fcn.00419ed0
add esp, 4
mov ecx, dword [ebp - 0xb90]
mov dword [ebp - 0xbc4], ecx
mov edx, dword [ebp - 0xbc4]
mov dword [ebp - 0xbac], edx
cmp dword [ebp - 0xbac], 0
je 0x456fe5
push 1
mov ecx, dword [ebp - 0xbac]
call fcn.00457090
mov dword [ebp - 0xbc8], eax
jmp 0x456fef
mov dword [ebp - 0xbc8], 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 0x457040
mov eax, dword [ebp - 0xbb0]
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