Function at 0x48a0a6
Capabilities:
Check if file exists

Disassembly:
push 0xa8
mov eax, 0x5e35db
call fcn.00592017
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x74], 7
xor ecx, ecx
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], cx
mov esi, str.popdialog
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004045aa
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.0052f9f0
mov ecx, eax
call fcn.0052fea0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00404812
test bl, bl
je 0x48a147
push esi
lea ecx, [ebp - 0x40]
call fcn.004045aa
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0052f9f0
mov ecx, eax
call fcn.0052fd40
push eax
lea ecx, [ebp - 0x88]
call fcn.0040b0ac
lea ecx, [ebp - 0x28]
call fcn.0040b67b
xor ebx, ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00404812
jmp 0x48a149
xor ebx, ebx
push 0x61ce3e
lea ecx, [ebp - 0xa0]
call fcn.004045aa
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp - 0x88]
lea esi, [ebp - 0xa0]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x28]
call fcn.00430a1c
add esp, 0x18
mov edx, esi
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.00416758
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404812
sub esp, 0x18
mov eax, esi
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404267
lea ecx, [ebp - 0x28]
call fcn.00430aaf
add esp, 0x18
lea esi, [edi + 0x1a8]
mov ecx, esi
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0x28]
call fcn.0040b67b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x48a1dc
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48a22f
push 0xac
push str.HuabaoActivateMainWnd::ParsePushMsg
push str.__s__d__file_path_is_not_exists
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x40]
push 0x6284b4
call fcn.0040b0d5
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
mov edx, dword [edi + 0x1c0]
push eax
push 0xa
pop ecx
call fcn.004cebc7
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0040b67b
jmp 0x48a50a
mov dword [ebp - 0x34], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 6
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0xa4], ebx
jb 0x48a250
mov eax, dword [esi]
push eax
push 0xb3
push str.HuabaoActivateMainWnd::ParsePushMsg
push str.__s__d__OnReadingConfig__s
call fcn.0040a649
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x48a270
mov esi, dword [esi]
lea eax, [ebp - 0xa4]
mov ecx, esi
push eax
lea edx, [ebp - 0x30]
call fcn.0041e235
pop ecx
test eax, eax
je 0x48a4bf
cmp dword [ebp - 0xa4], 0
je 0x48a4bf
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
push dword [ebp - 0x30]
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], bl
call fcn.0040464f
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
lea eax, [ebp - 0x58]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404267
lea ecx, [ebp - 0x28]
call fcn.00430aaf
add esp, 0x18
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x48a2e4
mov eax, dword [eax]
push eax
push 0xbb
mov esi, str.HuabaoActivateMainWnd::ParsePushMsg
push esi
push str.__s__d__OnReadingConfig__s
call fcn.0040a649
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.0040b67b
lea eax, [ebp - 0x58]
push eax
lea ecx, [edi + 0x1dc]
call fcn.00404698
push 0x61ce3e
lea ecx, [ebp - 0x70]
call fcn.004045aa
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
call fcn.00416758
push ebx
lea ecx, [ebp - 0xb4]
call fcn.00404ba6
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xb4]
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
push eax
call fcn.004368f0
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.004056d7
test al, al
jne 0x48a39d
push 0xc4
push esi
push str.__s__d__Value_is_not_object
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
push 0x6284b4
call fcn.0040b0d5
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
push 0xa
jmp 0x48a45d
mov esi, str._msg_id_
lea ecx, [ebp - 0xb4]
push esi
call fcn.00405597
test al, al
je 0x48a3e2
push esi
lea ecx, [ebp - 0xb4]
call fcn.00405401
mov ecx, eax
call fcn.00405683
test al, al
je 0x48a3e2
push esi
lea ecx, [ebp - 0xb4]
call fcn.00405401
lea edx, [edi + 0x1c0]
mov ecx, eax
call fcn.00436e83
mov esi, str.turl
lea ecx, [ebp - 0xb4]
push esi
call fcn.00405597
test al, al
je 0x48a427
push esi
lea ecx, [ebp - 0xb4]
call fcn.00405401
mov ecx, eax
call fcn.004056be
test al, al
je 0x48a427
push esi
lea ecx, [ebp - 0xb4]
call fcn.00405401
lea edx, [edi + 0x1c4]
mov ecx, eax
call fcn.00436f27
cmp dword [edi + 0x1d4], ebx
jne 0x48a474
push 0xd1
push str.HuabaoActivateMainWnd::ParsePushMsg
push str.__s__d__url_is_empty
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
push 0x6284b4
call fcn.0040b0d5
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
push 0xb
mov edx, dword [edi + 0x1c0]
pop ecx
call fcn.004cebc7
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0040b67b
jmp 0x48a4a2
lea eax, [edi + 0x1c4]
cmp dword [eax + 0x14], 8
jb 0x48a482
mov eax, dword [eax]
push eax
push dword [edi + 0x1c0]
push 0xd7
push str.HuabaoActivateMainWnd::ParsePushMsg
push str.__s__d__ParsePushMsg_finished__m_msgId_d__m_url_s
call fcn.0040a649
add esp, 0x14
mov bl, 1
lea ecx, [ebp - 0xb4]
call fcn.00404dbc
lea ecx, [ebp - 0x70]
call fcn.00404812
lea ecx, [ebp - 0x58]
call fcn.00404812
jmp 0x48a502
push 0xb5
push str.HuabaoActivateMainWnd::ParsePushMsg
push str.__s__d__Read_file_error
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
push 0x6284b4
call fcn.0040b0d5
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
mov edx, dword [edi + 0x1c0]
push eax
push 0xa
pop ecx
call fcn.004cebc7
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0040b67b
lea ecx, [ebp - 0x34]
call fcn.0041e3ba
lea ecx, [ebp - 0xa0]
call fcn.00404812
lea ecx, [ebp - 0x88]
call fcn.0040b67b
mov al, bl
call fcn.00591fc1
ret