Function at 0x404260
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53531f
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x586e90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x58ec74]
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x25c], eax
cmp dword [ecx - 0xc], edi
jl 0x4042db
push str.reader
push ecx
call fcn.005106f3
add esp, 8
cmp eax, edi
je 0x4042db
sub eax, dword [0x58ec74]
sar eax, 1
cmp eax, 0xffffffff
je 0x4042db
push ecx
mov ecx, esp
mov dword [ebp - 0x274], esp
push str.FoxitReader.exe
call fcn.00408db0
call fcn.004069c0
call fcn.0040f6aa
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4042f5
push 0x80004005
call fcn.004038b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x274], eax
mov dword [ebp - 4], edi
call fcn.0040f6aa
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404324
push 0x80004005
call fcn.004038b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 1
call fcn.00418905
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x280], edi
push 0x206
lea edx, [ebp - 0x21a]
xor ecx, ecx
push edi
mov byte [ebp - 4], 3
push edx
mov word [ebp - 0x21c], cx
call fcn.00511ac0
add esp, 0xc
lea ebx, [ebp - 0x238]
call fcn.00401040
mov ebx, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], ebx
jb 0x404394
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x270]
call fcn.00408db0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x224], ebx
jb 0x4043bb
mov eax, dword [ebp - 0x238]
push eax
call fcn.0040f643
add esp, 4
xor ecx, ecx
mov esi, 7
lea edi, [ebp - 0x254]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], cx
call fcn.00401370
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], ebx
jb 0x4043ef
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x278]
call fcn.00408db0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x240], ebx
jb 0x404416
mov edx, dword [ebp - 0x254]
push edx
call fcn.0040f643
add esp, 4
lea ecx, [ebp - 0x238]
xor eax, eax
xor edi, edi
push ecx
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], edi
mov word [ebp - 0x254], ax
call fcn.004011e0
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], ebx
jb 0x404447
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x268]
call fcn.00408db0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x224], ebx
jb 0x40446e
mov edx, dword [ebp - 0x238]
push edx
call fcn.0040f643
add esp, 4
mov ecx, dword [ebp - 0x268]
xor eax, eax
cmp dword [ecx - 0xc], 2
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], edi
mov word [ebp - 0x238], ax
jl 0x40492f
mov edx, dword [ebp - 0x270]
cmp dword [edx - 0xc], edi
je 0x40492f
push ecx
mov ecx, esp
mov dword [ebp - 0x260], esp
push str.FoxitReader.exe
call fcn.00408db0
call fcn.00404ca0
test al, al
je 0x40493c
push ecx
mov ecx, esp
mov dword [ebp - 0x260], esp
push str.Foxit_Mini.exe
call fcn.00408db0
call fcn.00404ca0
test al, al
je 0x40493c
push 0xffffffffffffffff
sub esp, 0x1c
mov eax, 0x565304
mov ecx, esp
mov dword [ebp - 0x260], esp
call fcn.00401480
push str.before.exe
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x258]
push ecx
mov byte [ebp - 4], 0xd
call fcn.004089e0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 0xe
mov eax, dword [edi]
mov esi, 1
cmp dword [eax - 4], esi
jle 0x404535
mov edx, dword [eax - 0xc]
push edx
mov ecx, edi
call fcn.00403580
mov eax, dword [edi]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x264], esp
call fcn.00401480
mov byte [ebp - 4], 0xf
call fcn.004092e0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404576
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x270]
push ecx
push str.StartUpdateWork:WorkPath_is_________s_
call fcn.00408e80
mov edx, dword [ebp - 0x268]
push edx
push str.StartUpdateWork:UpdatePath_is_________s_
call fcn.00408e80
mov eax, dword [ebp - 0x278]
push eax
push str.StartUpdateWork:noticeiniPath_is_________s_
call fcn.00408e80
push str.Install.zip
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.004089e0
add esp, 0x24
push eax
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0x10
call fcn.004087c0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Install
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.004089e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x11
call fcn.004087c0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40464b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Notice.ini
lea ecx, [ebp - 0x278]
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.004089e0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 0x12
mov eax, dword [edi]
cmp dword [eax - 4], esi
jle 0x40467e
mov eax, dword [eax - 0xc]
push eax
mov ecx, edi
call fcn.00403580
mov edi, dword [edi]
push edi
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x565304
push 0x5645a8
push str.INSTALL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4046c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
lea edx, [ebp - 0x21c]
mov ecx, esp
mov dword [ebp - 0x264], esp
push edx
call fcn.00408db0
push ecx
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x274]
mov dword [ebp - 0x260], esp
mov ecx, esp
push eax
call fcn.00408950
mov byte [ebp - 4], 0xc
call fcn.00406cc0
test eax, eax
jne 0x404721
push str.StartUpdateWork:CheckMD5_Fail
call fcn.00408e80
mov ecx, dword [ebp - 0x25c]
add esp, 4
push ecx
call fcn.00407190
jmp 0x40493c
mov ebx, dword [ebp - 0x274]
test ebx, ebx
je 0x404745
mov edi, dword [ebp - 0x26c]
lea edx, [ebp - 0x2a0]
push edx
mov edx, edi
mov ecx, ebx
call fcn.0040e930
test eax, eax
jne 0x404764
push ebx
push str.StartUpdateWork:UnZip_Fail_ZipPath_is_________s_
call fcn.00408e80
mov eax, dword [ebp - 0x25c]
add esp, 8
push eax
call fcn.00407190
jmp 0x40493c
push edi
push str.StartUpdateWork:UnZip_Success_FilePath_is_________s_
call fcn.00408e80
add esp, 8
lea ebx, [ebp - 0x26c]
call fcn.00407a70
push 0x561ea4
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x258]
push edx
lea edi, [ebp - 0x288]
call fcn.004089e0
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x264], esp
push 0x5646d8
push eax
push ecx
call fcn.004089e0
add esp, 0xc
mov ecx, edi
call fcn.00407710
mov bl, 0xc
lea ecx, [ebp - 0x258]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.00403890
test edi, edi
jne 0x4047f4
push str.StartUpdateWork:ReadFileLines_is_NULL
call fcn.00408e80
add esp, 4
mov edx, dword [ebp - 0x25c]
push edx
call fcn.00407190
jmp 0x40493c
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x264], esp
push eax
lea ecx, [ebp - 0x288]
call fcn.00407d30
push ecx
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x260], esp
mov ecx, esp
push edx
call fcn.00408950
mov byte [ebp - 4], bl
call fcn.00405ee0
test eax, eax
je 0x40493c
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x264], esp
push eax
lea ecx, [ebp - 0x288]
call fcn.00407d30
call fcn.004058c0
test eax, eax
je 0x40493c
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x264], esp
push ecx
lea ecx, [ebp - 0x288]
call fcn.00407d30
push ecx
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x260], esp
mov ecx, esp
push edx
call fcn.00408950
mov bl, 0xc
mov byte [ebp - 4], bl
call fcn.00403c40
test eax, eax
je 0x4047e3
push str.Notice.ini
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x258]
push ecx
call fcn.004089e0
mov eax, dword [eax]
add esp, 0xc
push eax
push 0x56474c
push str.UpdateOver
push str.INSTALL
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x258]
call fcn.00403890
push ecx
mov edx, esp
mov dword [ebp - 0x264], esp
push str.ContentSyndication.fpi
lea eax, [ebp - 0x270]
push eax
push edx
call fcn.004089e0
add esp, 0xc
lea ecx, [ebp - 0x25c]
push ecx
call fcn.00406b20
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x17
call fcn.00407d10
push eax
push str.StartUpdateWork:Update_Over_New_Version____s_
call fcn.00408e80
add esp, 8
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], bl
call fcn.00403890
jmp 0x40493c
push str.StartUpdateWork:Get_PpdatePath_Or_WorkPath_Fail
call fcn.00408e80
add esp, 4
push 0xffffffffffffffff
sub esp, 0x1c
mov esi, esp
xor ebx, ebx
xor eax, eax
mov edi, 7
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x264], esp
mov word [esi], ax
push ebx
mov eax, 0x565304
call fcn.00401950
push str.after.exe
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x258]
push edx
mov byte [ebp - 4], 0x18
call fcn.004089e0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x19
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x40499e
mov eax, dword [eax - 0xc]
push eax
mov ecx, esi
call fcn.00403580
mov eax, dword [esi]
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], cx
mov ecx, eax
mov dword [ebp - 0x260], esp
lea edi, [ecx + 2]
jmp 0x4049c0
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4049c0
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00401950
mov byte [ebp - 4], 0x1a
call fcn.004092e0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404a04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x58ec74]
cmp dword [eax - 0xc], ebx
jl 0x404c8b
push str.reader
push eax
call fcn.005106f3
add esp, 8
cmp eax, ebx
je 0x404c8b
sub eax, dword [0x58ec74]
sar eax, 1
cmp eax, 0xffffffff
je 0x404c8b
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00408950
mov byte [ebp - 4], 0x1b
mov esi, dword [ebp - 0x25c]
push 0x5c
push esi
call fcn.00510753
add esp, 8
cmp eax, ebx
jne 0x404a69
or eax, 0xffffffff
jmp 0x404a6d
sub eax, esi
sar eax, 1
push eax
push ebx
lea edx, [ebp - 0x258]
push edx
lea ecx, [ebp - 0x25c]
call fcn.00408710
push eax
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x1c
call fcn.004087c0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ab7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3e8
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x264], esp
mov edi, 7
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push ebx
mov eax, 0x565304
mov word [esi], cx
call fcn.00401950
push 0x561ea4
lea edx, [ebp - 0x25c]
push edx
lea eax, [ebp - 0x260]
push eax
mov byte [ebp - 4], 0x1d
call fcn.004089e0
add esp, 0xc
push str.FoxitReader.exe
push eax
lea ecx, [ebp - 0x258]
push ecx
mov byte [ebp - 4], 0x1e
call fcn.004089e0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x1f
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x404b33
mov edx, dword [eax - 0xc]
push edx
mov ecx, esi
call fcn.00403580
mov eax, dword [esi]
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], cx
mov ecx, eax
mov dword [ebp - 0x28c], esp
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x404b50
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00401950
mov byte [ebp - 4], 0x21
call fcn.004092e0
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404b94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404bba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x561ea4
lea ecx, [ebp - 0x25c]
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.004089e0
add esp, 0xc
push str.FoxitReader.exe
push eax
lea eax, [ebp - 0x260]
mov bl, 0x22
push eax
mov byte [ebp - 4], bl
call fcn.004089e0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x23
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x404c08
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, esi
call fcn.00403580
mov esi, dword [esi]
push esi
push str.Run_FoxitReader_path__s_
call fcn.00408e80
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404c3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x25c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
push ebx
call fcn.0050f893
int3