Function at 0x4168a0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434303
mov eax, dword fs:[0]
push eax
sub esp, 0xbf0
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xabc], ecx
mov dword [ebp - 0xaf4], 0
mov dword [ebp - 0xaec], 3
mov dword [ebp - 0xaf8], 0x1000
mov dword [ebp - 0xafc], 0
lea ecx, [ebp - 0xbfc]
call fcn.00407310
mov dword [ebp - 4], 0
mov dword [ebp - 0xac0], 0
mov dword [ebp - 0xacc], 0
mov dword [ebp - 0xad0], 0
mov dword [ebp - 0xad4], 0
mov dword [ebp - 0xad8], 0
mov dword [ebp - 0xae0], 0
mov dword [ebp - 0xae4], 0
push 0xfc
push 0
lea eax, [ebp - 0x298]
push eax
call fcn.0041b4b0
add esp, 0xc
lea ecx, [ebp - 0xae8]
call fcn.00406a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xadc]
call fcn.00406a40
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xaec]
mov dword [ebp - 0xb00], ecx
mov edx, dword [ebp - 0xaec]
sub edx, 1
mov dword [ebp - 0xaec], edx
cmp dword [ebp - 0xb00], 0
je 0x416a1c
mov eax, dword [ebp - 0xaf8]
push eax
mov ecx, dword [ebp - 0xaf8]
push ecx
lea ecx, [ebp - 0xae8]
call fcn.00406250
push eax
call dword [sym.imp.ConnectHlp.dll_public:_static_int___cdecl_CServerConnect::GetPopInfo_wchar_t___int_]
add esp, 8
mov dword [ebp - 0xaf4], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xae8]
call fcn.00405e50
cmp dword [ebp - 0xaf4], 0
je 0x4169ea
jmp 0x416a1c
cmp dword [ebp - 0xaec], 1
jne 0x416a17
mov ecx, 0x44a5e8
call fcn.004129c0
push eax
mov ecx, 0x44a5e8
call fcn.004129e0
test eax, eax
je 0x416a17
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x416985
push 0xfde9
lea ecx, [ebp - 0xae8]
call fcn.00402bf0
push eax
lea ecx, [ebp - 0x94]
call fcn.00417e60
mov dword [ebp - 0xb04], eax
lea edx, [ebp - 0x298]
push edx
push 0x20
mov ecx, dword [ebp - 0xb04]
call fcn.00402bf0
push eax
call dword [sym.imp.jansson.dll_json_loads]
add esp, 0xc
mov dword [ebp - 0xac0], eax
lea ecx, [ebp - 0x94]
call fcn.00410a00
lea eax, [ebp - 0xb1c]
push eax
call fcn.00414dd0
add esp, 4
mov dword [ebp - 0xb08], eax
mov ecx, dword [ebp - 0xb08]
mov dword [ebp - 0xb0c], ecx
mov byte [ebp - 4], 3
push str.CfgPop.json
mov edx, dword [ebp - 0xb0c]
push edx
lea eax, [ebp - 0xb18]
push eax
call fcn.00417db0
add esp, 0xc
mov dword [ebp - 0xb10], eax
mov ecx, dword [ebp - 0xb10]
mov dword [ebp - 0xb14], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xb14]
push edx
lea ecx, [ebp - 0xadc]
call fcn.00402ba0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb18]
call fcn.00406270
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb1c]
call fcn.00406270
cmp dword [ebp - 0xaf4], 0
je 0x416b10
cmp dword [ebp - 0xac0], 0
je 0x416b10
mov eax, dword [ebp - 0xac0]
cmp dword [eax], 0
je 0x416b7f
mov ecx, dword [ebp - 0xac0]
push ecx
call fcn.00418400
add esp, 4
mov dword [ebp - 0xac0], 0
push 0xfde9
lea ecx, [ebp - 0xadc]
call fcn.00402bf0
push eax
lea ecx, [ebp - 0x19c]
call fcn.00417e60
mov dword [ebp - 0xb20], eax
lea edx, [ebp - 0x298]
push edx
push 0x20
mov ecx, dword [ebp - 0xb20]
call fcn.00402bf0
push eax
call dword [sym.imp.jansson.dll_json_load_file]
add esp, 0xc
mov dword [ebp - 0xac0], eax
lea ecx, [ebp - 0x19c]
call fcn.00410a00
jmp 0x416d4b
lea ecx, [ebp - 0xac4]
call fcn.00406a40
mov byte [ebp - 4], 5
lea eax, [ebp - 0xadc]
push eax
lea ecx, [ebp - 0xac4]
call fcn.00402ba0
push 0x5c
lea ecx, [ebp - 0xac4]
call fcn.00402b30
add eax, 1
push eax
lea ecx, [ebp - 0xb2c]
push ecx
lea ecx, [ebp - 0xac4]
call fcn.00402ab0
mov dword [ebp - 0xb24], eax
mov edx, dword [ebp - 0xb24]
mov dword [ebp - 0xb28], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xb28]
push eax
lea ecx, [ebp - 0xac4]
call fcn.00402ba0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb2c]
call fcn.00406270
lea ecx, [ebp - 0xac4]
call fcn.00402bf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416cf1
mov dword [ebp - 0xac8], 0
mov ecx, dword [ebp - 0xac8]
push ecx
push 0x5c
lea ecx, [ebp - 0xac4]
call fcn.00413010
mov dword [ebp - 0xac8], eax
cmp dword [ebp - 0xac8], 0xffffffff
je 0x416cf1
lea ecx, [ebp - 0xaf0]
call fcn.00406a40
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xac8]
add edx, 1
mov dword [ebp - 0xac8], edx
mov eax, dword [ebp - 0xac8]
push eax
lea ecx, [ebp - 0xb38]
push ecx
lea ecx, [ebp - 0xac4]
call fcn.00402ab0
mov dword [ebp - 0xb30], eax
mov edx, dword [ebp - 0xb30]
mov dword [ebp - 0xb34], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xb34]
push eax
lea ecx, [ebp - 0xaf0]
call fcn.00402ba0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb38]
call fcn.00406270
lea ecx, [ebp - 0xaf0]
call fcn.00402bf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416cdd
lea ecx, [ebp - 0xaf0]
call fcn.00402bf0
push eax
call fcn.00420e4d
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xaf0]
call fcn.00406270
jmp 0x416c1e
push 0xfde9
lea ecx, [ebp - 0xadc]
call fcn.00402bf0
push eax
lea ecx, [ebp - 0x118]
call fcn.00417e60
mov dword [ebp - 0xb3c], eax
push 0x20
mov ecx, dword [ebp - 0xb3c]
call fcn.00402bf0
push eax
mov ecx, dword [ebp - 0xac0]
push ecx
call dword [sym.imp.jansson.dll_json_dump_file]
add esp, 0xc
lea ecx, [ebp - 0x118]
call fcn.00410a00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac4]
call fcn.00406270
cmp dword [ebp - 0xac0], 0
je 0x416d5f
mov edx, dword [ebp - 0xac0]
cmp dword [edx], 0
je 0x416da4
mov dword [ebp - 0xbe0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xadc]
call fcn.00406270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xae8]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbfc]
call fcn.00407460
mov eax, dword [ebp - 0xbe0]
jmp 0x4177ba
push str.mini
mov eax, dword [ebp - 0xac0]
push eax
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
mov dword [ebp - 0xacc], eax
cmp dword [ebp - 0xacc], 0
je 0x416f16
mov ecx, dword [ebp - 0xacc]
cmp dword [ecx], 0
jne 0x416f16
push 0xfde9
push 0x43e340
mov edx, dword [ebp - 0xacc]
push edx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
lea ecx, [ebp - 0xab8]
call fcn.00413130
mov dword [ebp - 0xbdc], eax
mov eax, dword [ebp - 0xbdc]
mov dword [ebp - 0xbd8], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xbd8]
call fcn.00402bf0
push eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x3f0
call fcn.00405d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xab8]
call fcn.00410a00
push 0x43e344
mov ecx, dword [ebp - 0xacc]
push ecx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
call fcn.00420665
add esp, 4
mov edx, dword [ebp - 0xabc]
mov dword [edx + 0x3f4], eax
push 0x43e34c
mov eax, dword [ebp - 0xacc]
push eax
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
call fcn.00420665
add esp, 4
mov ecx, dword [ebp - 0xabc]
mov dword [ecx + 0x3f8], eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x3f0
call fcn.00402bf0
push eax
lea edx, [ebp - 0xbcc]
push edx
mov ecx, dword [ebp - 0xabc]
call fcn.00417a70
mov dword [ebp - 0xbd4], eax
mov eax, dword [ebp - 0xbd4]
mov dword [ebp - 0xbd0], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xbd0]
push ecx
mov ecx, dword [ebp - 0xabc]
add ecx, 0x3f0
call fcn.00402ba0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbcc]
call fcn.00406270
push str.mini2
mov edx, dword [ebp - 0xac0]
push edx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
mov dword [ebp - 0xad0], eax
cmp dword [ebp - 0xad0], 0
je 0x417088
mov eax, dword [ebp - 0xad0]
cmp dword [eax], 0
jne 0x417088
push 0xfde9
push 0x43e35c
mov ecx, dword [ebp - 0xad0]
push ecx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
lea ecx, [ebp - 0x9b4]
call fcn.00413130
mov dword [ebp - 0xbc8], eax
mov edx, dword [ebp - 0xbc8]
mov dword [ebp - 0xbc4], edx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xbc4]
call fcn.00402bf0
push eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x3fc
call fcn.00405d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9b4]
call fcn.00410a00
push 0x43e360
mov eax, dword [ebp - 0xad0]
push eax
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
call fcn.00420665
add esp, 4
mov ecx, dword [ebp - 0xabc]
mov dword [ecx + 0x400], eax
push 0x43e368
mov edx, dword [ebp - 0xad0]
push edx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
call fcn.00420665
add esp, 4
mov ecx, dword [ebp - 0xabc]
mov dword [ecx + 0x404], eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x3fc
call fcn.00402bf0
push eax
lea edx, [ebp - 0xb90]
push edx
mov ecx, dword [ebp - 0xabc]
call fcn.00417a70
mov dword [ebp - 0xbc0], eax
mov eax, dword [ebp - 0xbc0]
mov dword [ebp - 0xbbc], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xbbc]
push ecx
mov ecx, dword [ebp - 0xabc]
add ecx, 0x3fc
call fcn.00402ba0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb90]
call fcn.00406270
push str.southeast
mov edx, dword [ebp - 0xac0]
push edx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
mov dword [ebp - 0xad4], eax
cmp dword [ebp - 0xad4], 0
je 0x4171fa
mov eax, dword [ebp - 0xad4]
cmp dword [eax], 0
jne 0x4171fa
push 0xfde9
push 0x43e37c
mov ecx, dword [ebp - 0xad4]
push ecx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
lea ecx, [ebp - 0x8b0]
call fcn.00413130
mov dword [ebp - 0xbb8], eax
mov edx, dword [ebp - 0xbb8]
mov dword [ebp - 0xb40], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xb40]
call fcn.00402bf0
push eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x408
call fcn.00405d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8b0]
call fcn.00410a00
push 0x43e380
mov eax, dword [ebp - 0xad4]
push eax
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
call fcn.00420665
add esp, 4
mov ecx, dword [ebp - 0xabc]
mov dword [ecx + 0x40c], eax
push 0x43e388
mov edx, dword [ebp - 0xad4]
push edx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
call fcn.00420665
add esp, 4
mov ecx, dword [ebp - 0xabc]
mov dword [ecx + 0x410], eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x408
call fcn.00402bf0
push eax
lea edx, [ebp - 0xb4c]
push edx
mov ecx, dword [ebp - 0xabc]
call fcn.00417a70
mov dword [ebp - 0xb44], eax
mov eax, dword [ebp - 0xb44]
mov dword [ebp - 0xb48], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xb48]
push ecx
mov ecx, dword [ebp - 0xabc]
add ecx, 0x408
call fcn.00402ba0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4c]
call fcn.00406270
push str.southeast2
mov edx, dword [ebp - 0xac0]
push edx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
mov dword [ebp - 0xad8], eax
cmp dword [ebp - 0xad8], 0
je 0x41736c
mov eax, dword [ebp - 0xad8]
cmp dword [eax], 0
jne 0x41736c
push 0xfde9
push 0x43e39c
mov ecx, dword [ebp - 0xad8]
push ecx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
lea ecx, [ebp - 0x7ac]
call fcn.00413130
mov dword [ebp - 0xb50], eax
mov edx, dword [ebp - 0xb50]
mov dword [ebp - 0xb54], edx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xb54]
call fcn.00402bf0
push eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x414
call fcn.00405d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7ac]
call fcn.00410a00
push str.width
mov eax, dword [ebp - 0xad8]
push eax
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
call fcn.00420665
add esp, 4
mov ecx, dword [ebp - 0xabc]
mov dword [ecx + 0x418], eax
push str.height
mov edx, dword [ebp - 0xad8]
push edx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
call fcn.00420665
add esp, 4
mov ecx, dword [ebp - 0xabc]
mov dword [ecx + 0x41c], eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x414
call fcn.00402bf0
push eax
lea edx, [ebp - 0xb60]
push edx
mov ecx, dword [ebp - 0xabc]
call fcn.00417a70
mov dword [ebp - 0xb58], eax
mov eax, dword [ebp - 0xb58]
mov dword [ebp - 0xb5c], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xb5c]
push ecx
mov ecx, dword [ebp - 0xabc]
add ecx, 0x414
call fcn.00402ba0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb60]
call fcn.00406270
push str.titleurl
mov edx, dword [ebp - 0xac0]
push edx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
mov dword [ebp - 0xae0], eax
cmp dword [ebp - 0xae0], 0
je 0x417534
mov eax, dword [ebp - 0xae0]
cmp dword [eax], 0
jne 0x417534
push 0xfde9
push 0x43e3bc
mov ecx, dword [ebp - 0xae0]
push ecx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
lea ecx, [ebp - 0x6a8]
call fcn.00413130
mov dword [ebp - 0xb64], eax
mov edx, dword [ebp - 0xb64]
mov dword [ebp - 0xb68], edx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xb68]
call fcn.00402bf0
push eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x420
call fcn.00405d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a8]
call fcn.00410a00
lea eax, [ebp - 0xb74]
push eax
call fcn.00414d00
add esp, 4
mov dword [ebp - 0xb6c], eax
mov ecx, dword [ebp - 0xb6c]
mov dword [ebp - 0xb70], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xb70]
push edx
mov ecx, dword [ebp - 0xabc]
add ecx, 0x424
call fcn.00402ba0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb74]
call fcn.00406270
push 0xfde9
push 0x43e3c0
mov eax, dword [ebp - 0xae0]
push eax
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
lea ecx, [ebp - 0x5a4]
call fcn.00413130
mov dword [ebp - 0xb78], eax
mov ecx, dword [ebp - 0xb78]
mov dword [ebp - 0xb7c], ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xb7c]
call fcn.00402bf0
push eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x428
call fcn.00405d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5a4]
call fcn.00410a00
mov ecx, dword [ebp - 0xabc]
add ecx, 0x420
call fcn.00402bf0
push eax
lea edx, [ebp - 0xb88]
push edx
mov ecx, dword [ebp - 0xabc]
call fcn.00417a70
mov dword [ebp - 0xb80], eax
mov eax, dword [ebp - 0xb80]
mov dword [ebp - 0xb84], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xb84]
push ecx
mov ecx, dword [ebp - 0xabc]
add ecx, 0x420
call fcn.00402ba0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb88]
call fcn.00406270
push str.trayurl
mov edx, dword [ebp - 0xac0]
push edx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
mov dword [ebp - 0xae4], eax
cmp dword [ebp - 0xae4], 0
je 0x4176fc
mov eax, dword [ebp - 0xae4]
cmp dword [eax], 0
jne 0x4176fc
push 0xfde9
push 0x43e3d0
mov ecx, dword [ebp - 0xae4]
push ecx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
lea ecx, [ebp - 0x39c]
call fcn.00413130
mov dword [ebp - 0xb8c], eax
mov edx, dword [ebp - 0xb8c]
mov dword [ebp - 0xbe4], edx
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xbe4]
call fcn.00402bf0
push eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x42c
call fcn.00405d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x39c]
call fcn.00410a00
lea eax, [ebp - 0xb9c]
push eax
call fcn.00414d00
add esp, 4
mov dword [ebp - 0xb94], eax
mov ecx, dword [ebp - 0xb94]
mov dword [ebp - 0xb98], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0xb98]
push edx
mov ecx, dword [ebp - 0xabc]
add ecx, 0x430
call fcn.00402ba0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb9c]
call fcn.00406270
push 0xfde9
push str.icon
mov eax, dword [ebp - 0xae4]
push eax
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
lea ecx, [ebp - 0x4a0]
call fcn.00413130
mov dword [ebp - 0xba0], eax
mov ecx, dword [ebp - 0xba0]
mov dword [ebp - 0xba4], ecx
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0xba4]
call fcn.00402bf0
push eax
mov ecx, dword [ebp - 0xabc]
add ecx, 0x434
call fcn.00405d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4a0]
call fcn.00410a00
mov ecx, dword [ebp - 0xabc]
add ecx, 0x42c
call fcn.00402bf0
push eax
lea edx, [ebp - 0xbb0]
push edx
mov ecx, dword [ebp - 0xabc]
call fcn.00417a70
mov dword [ebp - 0xba8], eax
mov eax, dword [ebp - 0xba8]
mov dword [ebp - 0xbac], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0xbac]
push ecx
mov ecx, dword [ebp - 0xabc]
add ecx, 0x42c
call fcn.00402ba0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbb0]
call fcn.00406270
push 0x43e3dc
mov edx, dword [ebp - 0xac0]
push edx
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
test eax, eax
je 0x41775f
push str.no_pop_time
mov eax, dword [ebp - 0xac0]
push eax
call dword [sym.imp.jansson.dll_json_object_get]
add esp, 8
push eax
call dword [sym.imp.jansson.dll_json_string_value]
add esp, 4
push eax
call fcn.00420665
add esp, 4
mov dword [ebp - 0xafc], eax
mov ecx, dword [ebp - 0xafc]
push ecx
lea ecx, [ebp - 0xbfc]
call fcn.00415210
mov edx, dword [ebp - 0xac0]
push edx
call fcn.00418400
add esp, 4
mov dword [ebp - 0xac0], 0
mov eax, dword [ebp - 0xaf4]
mov dword [ebp - 0xbb4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xadc]
call fcn.00406270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xae8]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbfc]
call fcn.00407460
mov eax, dword [ebp - 0xbb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419340
mov esp, ebp
pop ebp
ret