Function at 0x4d52da
Capabilities:
Check if file exists

Disassembly:
push 0x1ac
mov eax, 0x5f5786
call fcn.0059bbd7
call fcn.0042709e
push 0x627e3e
lea ecx, [ebp - 0xa0]
mov esi, eax
call fcn.004045aa
xor ebx, ebx
cmp esi, 5
mov dword [ebp - 4], ebx
mov esi, str.http:__app.huabao.360.cn_hb_wreco
je 0x4d5314
mov esi, str.https:__app.huabao.360.cn_hb_wreco
push esi
call fcn.005b69b0
pop ecx
push eax
push esi
lea ecx, [ebp - 0xa0]
call fcn.0040464f
push 0x6335fc
lea ecx, [ebp - 0xb8]
call fcn.0040b0d5
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 1
push eax
push 0x642ce4
mov edx, str.Software360360huabaohuabao
mov ecx, reloc.WS2_32.dll_accept
call fcn.004261ea
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
push 0x642cf8
push eax
call fcn.00445efc
add esp, 0x14
lea ecx, [ebp - 0x1a0]
call fcn.0040ba47
push 0x170
mov byte [ebp - 4], 3
call fcn.0059a7c1
pop ecx
mov dword [ebp - 0x1a4], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040b6b1
mov edi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.0040b8cb
push 2
mov ecx, edi
call fcn.0040b945
push 5
call fcn.0040b8d4
sub esp, 0x18
mov dword [ebp - 0x1a4], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
call fcn.004cde44
mov ecx, esi
call fcn.00435a2c
mov ecx, esp
mov byte [ebp - 4], 5
push 0x636bdc
call fcn.004045aa
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040b952
sub esp, 0x18
mov dword [ebp - 0x1a8], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
call fcn.00421d56
mov ecx, esi
call fcn.00435a2c
mov ecx, esp
mov byte [ebp - 4], 6
push 0x642cdc
call fcn.004045aa
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040b952
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a8], esp
call fcn.004d4e73
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push 0x642cd8
call fcn.004045aa
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040b952
sub esp, 0x18
mov dword [ebp - 0x1a8], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
call fcn.004d4eb0
mov ecx, esi
call fcn.00435a2c
mov ecx, esp
mov byte [ebp - 4], 8
push 0x642ce0
call fcn.004045aa
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040b952
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a8], esp
call fcn.004d4f96
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
push 0x66c850
call fcn.004045aa
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040b952
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a8], esp
push 0x654804
call fcn.004045aa
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
push str.mark
call fcn.004045aa
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040b952
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x40]
call fcn.00435a2c
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.0040b939
lea ecx, [ebp - 0x40]
call fcn.00404812
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xc
push eax
push edi
call fcn.0040bc7f
mov esi, eax
push esi
push 0x164c
push str.GetHuabaoList
push str.__s__d___GetHuabaoList_return_ret:_d
call fcn.0040a649
lea ecx, [ebp - 0x28]
call fcn.004d6c63
mov edi, str._bkinfo_
mov byte [ebp - 4], 0xd
push edi
call fcn.005c2f90
add esp, 0x14
lea ecx, [ebp - 0x28]
push eax
push edi
call fcn.0040b220
push 8
pop edi
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d55ab
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.serviceconfig
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.00411559
pop ecx
mov byte [ebp - 4], 0xe
test esi, esi
jne 0x4d5746
lea ecx, [ebp - 0x160]
call fcn.00401c84
push ebx
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0xf
call fcn.00404ba6
push 1
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x160]
call fcn.00401d1d
test al, al
jne 0x4d5622
push 0x1657
push str.GetHuabaoList
push str.__s__d___reader_parse_failed
call fcn.0040a649
add esp, 0xc
jmp 0x4d572e
lea ecx, [ebp - 0x1b8]
call fcn.00405673
mov dl, al
test dl, dl
jne 0x4d56e8
call fcn.004056d7
test al, al
je 0x4d56e8
push str.data
call fcn.00405401
push eax
lea ecx, [ebp - 0x50]
call fcn.00404cc0
lea ecx, [ebp - 0xf0]
call fcn.00406b04
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406b1f
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x88]
push dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
cmp dword [ebp - 0x74], edi
cmovae ecx, dword [ebp - 0x88]
call fcn.0041e514
pop ecx
push dword [ebp - 0x30]
push 0x1664
push str.GetHuabaoList
push str.__s__d___strConfig_length_d
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00404812
lea ecx, [ebp - 0xf0]
call fcn.004065e4
lea ecx, [ebp - 0x50]
call fcn.00404dbc
lea ecx, [ebp - 0x1b8]
call fcn.00404dbc
lea ecx, [ebp - 0x160]
call fcn.00402bc3
jmp 0x4d575e
test dl, dl
mov ecx, str.root_is_not_object
mov eax, str.root_is_null
cmove eax, ecx
lea ecx, [ebp - 0x58]
push eax
call fcn.0040b0d5
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], edi
cmovae eax, dword [ebp - 0x58]
push eax
push 0x165c
push str.GetHuabaoList
push str.__s__d___root_failed_s
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x1b8]
call fcn.00404dbc
lea ecx, [ebp - 0x160]
call fcn.00402bc3
jmp 0x4d5763
push esi
push 0x1667
push str.GetHuabaoList
push str.__s__d___GetHuabaoList_return_ret:_d
call fcn.0040a649
add esp, 0x10
test esi, esi
sete bl
lea ecx, [ebp - 0x88]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
call fcn.00404812
lea ecx, [ebp - 0x1a0]
call fcn.0040ba62
lea ecx, [ebp - 0xd0]
call fcn.0040b67e
lea ecx, [ebp - 0xb8]
call fcn.0040b67e
lea ecx, [ebp - 0xa0]
call fcn.00404812
mov al, bl
call fcn.0059bb81
ret