Function at 0x42b6e0
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575149
mov eax, dword fs:[0]
push eax
mov eax, 0x313ac
call fcn.00543c90
mov eax, dword [0x5f0bf8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 8
xor edi, edi
push edi
mov esi, ecx
push str.mts_lang
mov ecx, ebx
mov dword [ebp - 0x31378], ebx
call fcn.00401bc0
test eax, eax
jne 0x42c829
call fcn.0044e83a
mov eax, dword [eax + 4]
add eax, 0xb8
mov dword [ebp - 0x31394], edi
cmp eax, edi
je 0x42b771
mov ebx, dword [eax + 0x3c]
cmp ebx, edi
je 0x42b76b
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b76b
push ebx
call fcn.00447e8e
mov dword [ebp - 0x31394], eax
mov ebx, dword [ebp - 0x31378]
cmp dword [ebx + 0x14], 0x10
jb 0x42b77b
mov eax, dword [ebx]
jmp 0x42b77d
mov eax, ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push eax
call fcn.00403d20
mov dword [ebp - 4], edi
lea eax, [ebp - 0x31378]
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00425210
mov dword [ebp - 4], 1
mov eax, dword [eax]
cmp eax, edi
je 0x42b7b6
add eax, 0xc
jmp 0x42b7bb
mov eax, 0x587f8c
push eax
lea ecx, [ebp - 0x31374]
call fcn.00404420
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x31378]
call fcn.005685da
lea ecx, [ebp - 0x31370]
call fcn.0043daf0
mov byte [ebp - 4], 4
cmp dword [ebx + 0x14], 0x10
jb 0x42b7ef
mov eax, dword [ebx]
jmp 0x42b7f1
mov eax, ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push 0xffffffffffffffff
push eax
call fcn.00567811
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3138c]
push ecx
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.00428880
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x3138c]
push str.Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_6.0_
push 1
push edx
lea ecx, [ebp - 0x31370]
call fcn.0043e410
cmp eax, 2
jne 0x42c5d4
lea ecx, [ebp - 0x31370]
call fcn.0043d4b0
push eax
lea ecx, [ebp - 0x31384]
call fcn.00403d20
mov ebx, 7
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x31384]
call fcn.00403550
mov ecx, eax
call fcn.004035d0
mov ecx, dword [ebp - 0x31384]
cmp dword [ecx - 4], 1
jle 0x42b890
mov eax, dword [ecx - 0xc]
push eax
lea ecx, [ebp - 0x31384]
call fcn.004017e0
mov ecx, dword [ebp - 0x31384]
xor edx, edx
mov eax, ecx
mov word [ebp - 0x490], dx
lea edx, [eax + 2]
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x480], edi
mov dword [ebp - 0x31378], edx
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x42b8b0
sub eax, dword [ebp - 0x31378]
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x490]
call fcn.00403be0
mov byte [ebp - 4], 8
push 2
xor eax, eax
push 0x5882e8
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x448], edi
mov word [ebp - 0x458], ax
call fcn.00403be0
mov byte [ebp - 4], 9
xor ecx, ecx
push edi
mov word [ebp - 0x4ac], cx
push 0x587f8c
lea ecx, [ebp - 0x4ac]
mov dword [ebp - 0x498], ebx
mov dword [ebp - 0x49c], edi
call fcn.00403be0
mov byte [ebp - 4], 0xa
push edi
xor edx, edx
push 0x587f8c
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x464], edi
mov word [ebp - 0x474], dx
call fcn.00403be0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x444], 8
mov eax, dword [ebp - 0x458]
jae 0x42b968
lea eax, [ebp - 0x458]
mov ecx, dword [ebp - 0x448]
push ecx
push 0
push eax
lea ecx, [ebp - 0x490]
call fcn.00401c70
mov edi, eax
push edi
push 0
lea edx, [ebp - 0x43c]
push edx
lea ecx, [ebp - 0x490]
call fcn.00403f60
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x4ac]
call fcn.00404060
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x428], 8
jb 0x42b9c0
mov eax, dword [ebp - 0x43c]
push eax
call fcn.00440737
add esp, 4
add edi, dword [ebp - 0x448]
push 0xffffffffffffffff
xor ecx, ecx
push edi
lea edx, [ebp - 0x43c]
mov word [ebp - 0x43c], cx
push edx
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x42c], 0
call fcn.00403f60
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x474]
call fcn.00404060
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x428], 8
jb 0x42ba20
mov eax, dword [ebp - 0x43c]
push eax
call fcn.00440737
add esp, 4
xor edi, edi
xor ecx, ecx
push edi
mov word [ebp - 0x43c], cx
xor edx, edx
push 0x587f8c
lea ecx, [ebp - 0x4c8]
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x4b4], ebx
mov dword [ebp - 0x4b8], edi
mov word [ebp - 0x4c8], dx
call fcn.00403be0
mov byte [ebp - 4], 0xe
push edi
xor eax, eax
push 0x587f8c
lea ecx, [ebp - 0x4e4]
mov dword [ebp - 0x4d0], ebx
mov dword [ebp - 0x4d4], edi
mov word [ebp - 0x4e4], ax
call fcn.00403be0
mov byte [ebp - 4], 0xf
xor ecx, ecx
push 1
mov word [ebp - 0x500], cx
push 0x58d824
lea ecx, [ebp - 0x500]
mov dword [ebp - 0x4ec], ebx
mov dword [ebp - 0x4f0], edi
call fcn.00403be0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x4ec], 8
mov eax, dword [ebp - 0x500]
jae 0x42bacb
lea eax, [ebp - 0x500]
mov edx, dword [ebp - 0x4f0]
push edx
push 0
push eax
lea ecx, [ebp - 0x474]
call fcn.00401c70
mov edi, eax
push edi
push 0
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x474]
call fcn.00403f60
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x4c8]
call fcn.00404060
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x428], 8
jb 0x42bb23
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.00440737
add esp, 4
add edi, dword [ebp - 0x4f0]
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x43c]
xor edx, edx
push eax
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x42c], 0
mov word [ebp - 0x43c], dx
call fcn.00403f60
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x4e4]
call fcn.00404060
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x428], 8
jb 0x42bb83
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.00440737
add esp, 4
mov eax, dword [ebp - 0x31374]
xor edx, edx
push 0x5c
push eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x42c], 0
mov word [ebp - 0x43c], dx
call fcn.00543d95
add esp, 8
test eax, eax
jne 0x42bbb8
or edi, 0xffffffff
mov eax, edi
jmp 0x42bbc3
sub eax, dword [ebp - 0x31374]
sar eax, 1
or edi, 0xffffffff
push eax
lea ecx, [ebp - 0x31388]
push ecx
lea ecx, [ebp - 0x31374]
call fcn.00405f30
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x31388]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42bc01
push eax
mov eax, dword [ebp - 0x31388]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42bdb4
mov ecx, dword [ebp - 0x31374]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
jne 0x42bf58
mov edx, dword [ebp - 0x31374]
cmp dword [edx - 0xc], 0
je 0x42be6c
cmp dword [ebp - 0x4b8], 0
je 0x42be6c
cmp dword [ebp - 0x4d4], 0
je 0x42be6c
mov ecx, esi
call fcn.00422050
test eax, eax
je 0x42bda1
push 0x587f8c
lea ecx, [ebp - 0x538]
call fcn.00403ee0
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x31374]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42bc8b
push 0
lea ecx, [ebp - 0x31374]
call fcn.00401e20
mov edx, dword [ebp - 0x31374]
push edx
lea ecx, [ebp - 0x51c]
call fcn.00403ee0
mov bl, 0x19
mov byte [ebp - 4], bl
cmp dword [ebp - 0x498], 8
mov eax, dword [ebp - 0x4ac]
jae 0x42bcb1
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00403ee0
mov byte [ebp - 4], 0x1a
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x538]
push eax
push ecx
push esi
lea edx, [ebp - 0x51c]
push edx
lea eax, [ebp - 0x43c]
push eax
call fcn.00418180
add esp, 0x14
mov dword [esi + 0x90], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x43c]
call fcn.00402be0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x51c]
call fcn.00402be0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x538]
call fcn.00402be0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x31388]
call fcn.004023c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x500]
call fcn.00402be0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4e4]
call fcn.00402be0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4c8]
call fcn.00402be0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x474]
call fcn.00402be0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4ac]
call fcn.00402be0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x458]
call fcn.00402be0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x490]
call fcn.00402be0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x31384]
call fcn.004023c0
jmp 0x42c7e2
mov ecx, dword [esi + 8]
push 0
push 0
push 0x417
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x31388]
call fcn.004023c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x500]
call fcn.00402be0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4e4]
call fcn.00402be0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4c8]
call fcn.00402be0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x474]
call fcn.00402be0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4ac]
call fcn.00402be0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x458]
call fcn.00402be0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x490]
call fcn.00402be0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x31384]
call fcn.004023c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3138c]
call fcn.004023c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x31370]
call fcn.0043db70
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x31374]
call fcn.004023c0
jmp 0x42cba6
push 0x587f8c
lea ecx, [ebp - 0x31380]
call fcn.00404420
mov bl, 0x14
mov byte [ebp - 4], bl
push 0x2a57
push ecx
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push edi
push str.FoxitUpdater_DLL
call fcn.00567811
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x31378]
push edx
mov byte [ebp - 4], bl
call fcn.004337e0
add esp, 0xc
mov byte [ebp - 4], 0x16
mov eax, dword [eax]
test eax, eax
je 0x42bebf
add eax, 0xc
jmp 0x42bec4
mov eax, 0x587f8c
push eax
lea ecx, [ebp - 0x31380]
call fcn.00403dd0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x31378]
call fcn.005685da
lea eax, [ebp - 0x31378]
push eax
mov ecx, 0x5f60b0
call fcn.004085d0
mov byte [ebp - 4], 0x17
mov eax, dword [eax]
lea ecx, [eax + 0xc]
test eax, eax
jne 0x42bf01
mov ecx, 0x587f8c
mov eax, dword [ebp - 0x31394]
test eax, eax
je 0x42bf0e
mov eax, dword [eax + 0x20]
push 0x40
push ecx
mov ecx, dword [ebp - 0x31380]
push ecx
push eax
mov ecx, 0x5f60b0
call fcn.0040aed0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x31378]
call fcn.005685da
mov edx, dword [esi + 8]
push 0
push 0
push 0x417
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x31380]
call fcn.004023c0
jmp 0x42bdb4
cmp dword [ebp - 0x4b4], 8
mov eax, dword [ebp - 0x4c8]
jae 0x42bf6d
lea eax, [ebp - 0x4c8]
push ecx
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push eax
call fcn.00404420
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x31374]
push ecx
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x31378], esp
push eax
mov dword [ebp - 0x31390], edi
call fcn.00401e80
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x13
mov ecx, esi
call fcn.004255f0
test eax, eax
je 0x42c27a
mov eax, dword [ebp - 0x31374]
cmp dword [eax - 0xc], 0
je 0x42c18d
cmp dword [ebp - 0x4b8], 0
je 0x42c18d
cmp dword [ebp - 0x4d4], 0
je 0x42c18d
mov ecx, esi
call fcn.00422050
test eax, eax
je 0x42c0be
push 0x587f8c
lea ecx, [ebp - 0x43c]
call fcn.00403ee0
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x31374]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42c032
push 0
lea ecx, [ebp - 0x31374]
call fcn.00401e20
mov edx, dword [ebp - 0x31374]
push edx
lea ecx, [ebp - 0x51c]
call fcn.00403ee0
mov bl, 0x23
mov byte [ebp - 4], bl
cmp dword [ebp - 0x498], 8
mov eax, dword [ebp - 0x4ac]
jae 0x42c058
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x538]
call fcn.00403ee0
mov byte [ebp - 4], 0x24
mov edx, dword [esi + 8]
lea ecx, [ebp - 0x43c]
push ecx
push edx
push esi
lea eax, [ebp - 0x51c]
push eax
lea ecx, [ebp - 0x538]
push ecx
call fcn.00418180
add esp, 0x14
mov dword [esi + 0x90], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x538]
call fcn.00402be0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x51c]
call fcn.00402be0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x43c]
call fcn.00402be0
jmp 0x42c0d1
mov edx, dword [esi + 8]
push 0
push 0
push 0x417
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x31388]
call fcn.004023c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x500]
call fcn.00402be0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4e4]
call fcn.00402be0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4c8]
call fcn.00402be0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x474]
call fcn.00402be0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4ac]
call fcn.00402be0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x458]
call fcn.00402be0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x490]
call fcn.00402be0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x31384]
call fcn.004023c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3138c]
call fcn.004023c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x31370]
call fcn.0043db70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31374]
call fcn.004023c0
jmp 0x42cba6
push 0x587f8c
lea ecx, [ebp - 0x31380]
call fcn.00404420
mov bl, 0x1e
mov byte [ebp - 4], bl
push 0x2a57
push ecx
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.00567811
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x31378]
push eax
mov byte [ebp - 4], bl
call fcn.004337e0
add esp, 0xc
mov byte [ebp - 4], 0x20
mov eax, dword [eax]
test eax, eax
je 0x42c1e1
add eax, 0xc
jmp 0x42c1e6
mov eax, 0x587f8c
push eax
lea ecx, [ebp - 0x31380]
call fcn.00403dd0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x31378]
call fcn.005685da
lea ecx, [ebp - 0x31378]
push ecx
mov ecx, 0x5f60b0
call fcn.004085d0
mov byte [ebp - 4], 0x21
mov eax, dword [eax]
lea ecx, [eax + 0xc]
test eax, eax
jne 0x42c223
mov ecx, 0x587f8c
mov eax, dword [ebp - 0x31394]
test eax, eax
je 0x42c230
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x31380]
push 0x40
push ecx
push edx
push eax
mov ecx, 0x5f60b0
call fcn.0040aed0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x31378]
call fcn.005685da
mov eax, dword [esi + 8]
push 0
push 0
push 0x417
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x31380]
call fcn.004023c0
jmp 0x42c0d1
call fcn.0044e83a
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x31378]
push ecx
mov ecx, eax
call fcn.004085d0
mov byte [ebp - 4], 0x25
push 0x587f8c
lea ecx, [ebp - 0x31380]
call fcn.00404420
mov byte [ebp - 4], 0x26
push 0x2a55
push ecx
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.00567811
mov byte [ebp - 4], 0x27
lea edx, [ebp - 0x31390]
push edx
mov byte [ebp - 4], 0x26
call fcn.004337e0
add esp, 0xc
mov byte [ebp - 4], 0x28
mov eax, dword [eax]
test eax, eax
je 0x42c2e8
add eax, 0xc
jmp 0x42c2ed
mov eax, 0x587f8c
push eax
lea ecx, [ebp - 0x31380]
call fcn.00403dd0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x31390]
call fcn.005685da
mov eax, dword [ebp - 0x4e4]
mov edi, 8
cmp dword [ebp - 0x4d0], edi
jae 0x42c321
lea eax, [ebp - 0x4e4]
push ecx
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push eax
call fcn.00404420
mov byte [ebp - 4], 0x29
push ecx
lea eax, [ebp - 0x31374]
mov ecx, esp
mov dword [ebp - 0x31390], esp
push eax
call fcn.00402a10
mov byte [ebp - 4], 0x2a
mov byte [ebp - 4], 0x26
mov ecx, esi
call fcn.004253d0
test eax, eax
je 0x42c5b8
mov eax, dword [ebp - 0x31378]
lea ecx, [eax + 0xc]
test eax, eax
jne 0x42c372
mov ecx, 0x587f8c
mov eax, dword [ebp - 0x31394]
test eax, eax
je 0x42c37f
mov eax, dword [eax + 0x20]
push 4
push ecx
mov ecx, dword [ebp - 0x31380]
push ecx
push eax
mov ecx, 0x5f60b0
call fcn.0040aed0
cmp eax, 6
jne 0x42c59c
mov edx, dword [ebp - 0x31374]
cmp dword [edx - 0xc], 0
je 0x42c491
cmp dword [ebp - 0x4b8], 0
je 0x42c491
cmp dword [ebp - 0x4d4], 0
je 0x42c491
push 0x587f8c
lea ecx, [ebp - 0x43c]
call fcn.00403ee0
mov byte [ebp - 4], 0x2f
mov edx, dword [ebp - 0x31374]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42c403
push 0
lea ecx, [ebp - 0x31374]
call fcn.00401e20
mov edx, dword [ebp - 0x31374]
push edx
lea ecx, [ebp - 0x51c]
call fcn.00403ee0
mov bl, 0x30
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x4ac]
cmp dword [ebp - 0x498], edi
jae 0x42c428
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x538]
call fcn.00403ee0
mov byte [ebp - 4], 0x31
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x43c]
push eax
push ecx
push esi
lea edx, [ebp - 0x51c]
push edx
lea eax, [ebp - 0x538]
push eax
call fcn.00418180
add esp, 0x14
mov dword [esi + 0x90], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x538]
call fcn.00402be0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x51c]
call fcn.00402be0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x43c]
call fcn.00402be0
jmp 0x42c579
push 0x587f8c
lea ecx, [ebp - 0x31390]
call fcn.00404420
mov bl, 0x2b
mov byte [ebp - 4], bl
push 0x2a57
push ecx
mov ecx, esp
mov dword [ebp - 0x31398], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.00567811
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x3137c]
push ecx
mov byte [ebp - 4], bl
call fcn.004337e0
add esp, 0xc
mov byte [ebp - 4], 0x2d
mov eax, dword [eax]
test eax, eax
je 0x42c4e5
add eax, 0xc
jmp 0x42c4ea
mov eax, 0x587f8c
push eax
lea ecx, [ebp - 0x31390]
call fcn.00403dd0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3137c]
call fcn.005685da
lea edx, [ebp - 0x3137c]
push edx
mov ecx, 0x5f60b0
call fcn.004085d0
mov byte [ebp - 4], 0x2e
mov eax, dword [eax]
lea ecx, [eax + 0xc]
test eax, eax
jne 0x42c527
mov ecx, 0x587f8c
mov eax, dword [ebp - 0x31394]
test eax, eax
je 0x42c534
mov eax, dword [eax + 0x20]
push 0x40
push ecx
mov ecx, dword [ebp - 0x31390]
push ecx
push eax
mov ecx, 0x5f60b0
call fcn.0040aed0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3137c]
call fcn.005685da
mov edx, dword [esi + 8]
push 0
push 0
push 0x417
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x31390]
call fcn.004023c0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x31380]
call fcn.004023c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x31378]
call fcn.005685da
jmp 0x42c0d1
mov ecx, esi
call fcn.00425a50
mov eax, dword [esi + 8]
push 0
push 0
push 0x417
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42c579
mov ecx, esi
call fcn.00425a50
mov ecx, dword [esi + 8]
push 0
push 0
push 0x417
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42c579
push ecx
mov edi, esp
cmp eax, 1
mov eax, dword [ebp - 0x31374]
mov dword [ebp - 0x31398], esp
mov dword [ebp - 0x3137c], edi
jne 0x42c6b4
add eax, 0xfffffff0
push eax
call fcn.00401e80
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x33
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00425810
test eax, eax
je 0x42c7c8
push 0x587f8c
lea ecx, [ebp - 0x31378]
call fcn.00404420
mov bl, 0x34
mov byte [ebp - 4], bl
push 0x2a57
push ecx
mov ecx, esp
mov dword [ebp - 0x31398], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.00567811
mov byte [ebp - 4], 0x35
lea edx, [ebp - 0x3137c]
push edx
mov byte [ebp - 4], bl
call fcn.004337e0
add esp, 0xc
mov byte [ebp - 4], 0x36
mov eax, dword [eax]
test eax, eax
je 0x42c66e
add eax, 0xc
jmp 0x42c673
mov eax, 0x587f8c
push eax
lea ecx, [ebp - 0x31378]
call fcn.00403dd0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3137c]
call fcn.005685da
lea eax, [ebp - 0x3137c]
push eax
mov ecx, 0x5f60b0
call fcn.004085d0
mov byte [ebp - 4], 0x37
mov eax, dword [eax]
test eax, eax
je 0x42c76f
add eax, 0xc
jmp 0x42c774
add eax, 0xfffffff0
push eax
call fcn.00401e80
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x39
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00425810
test eax, eax
je 0x42c7c8
push 0x587f8c
lea ecx, [ebp - 0x31378]
call fcn.00404420
mov bl, 0x3a
mov byte [ebp - 4], bl
push 0x2a5e
push ecx
mov ecx, esp
mov dword [ebp - 0x31398], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.00567811
mov byte [ebp - 4], 0x3b
lea edx, [ebp - 0x3137c]
push edx
mov byte [ebp - 4], bl
call fcn.004337e0
add esp, 0xc
mov byte [ebp - 4], 0x3c
mov eax, dword [eax]
test eax, eax
je 0x42c730
add eax, 0xc
jmp 0x42c735
mov eax, 0x587f8c
push eax
lea ecx, [ebp - 0x31378]
call fcn.00403dd0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3137c]
call fcn.005685da
lea eax, [ebp - 0x3137c]
push eax
mov ecx, 0x5f60b0
call fcn.004085d0
mov byte [ebp - 4], 0x3d
mov eax, dword [eax]
test eax, eax
je 0x42c76f
add eax, 0xc
jmp 0x42c774
mov eax, 0x587f8c
mov ecx, dword [ebp - 0x31394]
test ecx, ecx
je 0x42c781
mov ecx, dword [ecx + 0x20]
mov edx, dword [ebp - 0x31378]
push 0x40
push eax
push edx
push ecx
mov ecx, 0x5f60b0
call fcn.0040aed0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3137c]
call fcn.005685da
mov eax, dword [esi + 8]
push 0
push 0
push 0x417
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x31378]
call fcn.004023c0
jmp 0x42c7e2
mov ecx, esi
call fcn.00425a50
mov ecx, dword [esi + 8]
push 0
push 0
push 0x417
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x3138c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c808
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x31370]
call fcn.0043db70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x31374]
jmp 0x42cb8a
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esi + 8]
push edi
push 0x28
push 0x415
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00543b50
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.0044184e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x42c886
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x31380], eax
mov dword [ebp - 4], 0x41
lea ecx, [ebp - 0x420]
push ecx
push edi
push 0x58d81c
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42c8c2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x31380]
call fcn.00402e30
lea ecx, [ebp - 0x313b8]
call fcn.00442ca1
mov byte [ebp - 4], 0x42
push 0x587f8c
lea ecx, [ebp - 0x3139c]
call fcn.00404420
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 0x5e4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov ecx, dword [ebp - 0x5e4]
mov eax, 0x77777777
imul ecx
sub edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push 0x29
lea ecx, [ebp - 0x3139c]
cmp eax, 8
jne 0x42c941
push str.http:__cn_request.foxitservice.com_addons
jmp 0x42c946
push str.http:__us_request.foxitservice.com_addons
call fcn.00402e30
cmp dword [ebx + 0x14], 0x10
jb 0x42c955
mov eax, dword [ebx]
jmp 0x42c957
mov eax, ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x31398], esp
push 0xffffffffffffffff
push eax
call fcn.00567811
mov byte [ebp - 4], 0x44
lea edx, [ebp - 0x313a0]
push edx
mov byte [ebp - 4], 0x43
mov ecx, esi
call fcn.00428a00
mov byte [ebp - 4], 0x45
mov eax, dword [ebp - 0x313a0]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x3139c]
call fcn.00409220
push edi
xor eax, eax
mov ebx, 7
push 0x587f8c
lea ecx, [ebp - 0x458]
mov dword [esi + 0x98], 1
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x448], edi
mov word [ebp - 0x458], ax
call fcn.00403be0
mov byte [ebp - 4], 0x46
mov eax, dword [ebp - 0x31380]
xor ecx, ecx
mov word [ebp - 0x474], cx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x464], edi
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x42c9f0
mov edx, dword [ebp - 0x31380]
sub eax, ecx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x474]
call fcn.00403be0
mov byte [ebp - 4], 0x47
mov edx, dword [ebp - 0x3139c]
xor eax, eax
mov word [ebp - 0x490], ax
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x480], edi
mov dword [ebp - 0x3137c], ecx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42ca40
sub eax, dword [ebp - 0x3137c]
lea ecx, [ebp - 0x490]
sar eax, 1
push eax
push edx
call fcn.00403be0
mov byte [ebp - 4], 0x48
mov eax, dword [esi + 8]
lea edx, [ebp - 0x458]
push edx
push eax
push esi
lea ecx, [ebp - 0x474]
push ecx
lea edx, [ebp - 0x490]
push edx
call fcn.00418180
add esp, 0x14
mov dword [esi + 0x90], eax
mov byte [ebp - 4], 0x47
cmp dword [ebp - 0x47c], 8
jb 0x42caa8
mov eax, dword [ebp - 0x490]
push eax
call fcn.00440737
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x480], edi
mov word [ebp - 0x490], cx
mov byte [ebp - 4], 0x46
mov esi, 8
cmp dword [ebp - 0x460], esi
jb 0x42cadd
mov edx, dword [ebp - 0x474]
push edx
call fcn.00440737
add esp, 4
xor eax, eax
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x464], edi
mov word [ebp - 0x474], ax
mov byte [ebp - 4], 0x45
cmp dword [ebp - 0x444], esi
jb 0x42cb0d
mov ecx, dword [ebp - 0x458]
push ecx
call fcn.00440737
add esp, 4
xor edx, edx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x448], edi
mov word [ebp - 0x458], dx
mov byte [ebp - 4], 0x43
mov eax, dword [ebp - 0x313a0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cb48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x42
mov eax, dword [ebp - 0x3139c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cb6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x313b8]
call fcn.00442ff2
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x31380]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cba6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005437e5
mov esp, ebp
pop ebp
ret 4