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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b3b5
mov eax, dword fs:[0]
push eax
mov eax, 0x313a8
call fcn.00542e40
mov eax, dword [0x5f6998]
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 edi, dword [ebp + 8]
push 8
push 0
mov esi, ecx
push str.mts_lang
mov ecx, edi
call fcn.00401760
test eax, eax
jne 0x42f8dd
call fcn.0044dab2
mov eax, dword [eax + 4]
add eax, 0xb8
mov dword [ebp - 0x3138c], 0
je 0x42e7c6
mov ebx, dword [eax + 0x40]
test ebx, ebx
je 0x42e7c6
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42e7c6
push ebx
call fcn.004470e0
mov dword [ebp - 0x3138c], eax
mov ebx, 0x10
cmp dword [edi + 0x14], ebx
jb 0x42e7d4
mov eax, dword [edi]
jmp 0x42e7d6
mov eax, edi
push ecx
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push eax
call fcn.00403900
mov dword [ebp - 4], 0
lea eax, [ebp - 0x31378]
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00425930
mov dword [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x42e813
add eax, 0xc
jmp 0x42e818
mov eax, 0x58df78
push eax
lea ecx, [ebp - 0x31374]
call fcn.00403d90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x31378]
call fcn.00567cb8
lea ecx, [ebp - 0x31370]
call fcn.0043cd20
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], ebx
jb 0x42e84b
mov eax, dword [edi]
jmp 0x42e84d
mov eax, edi
push ecx
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push 0xffffffffffffffff
push eax
call fcn.00567cd2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x31394]
push ecx
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.0042b300
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x31394]
push str.Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_6.0_
push 1
push edx
lea ecx, [ebp - 0x31370]
call fcn.0043d640
cmp eax, 2
jne 0x42f688
lea ecx, [ebp - 0x31370]
call fcn.0043c6e0
push eax
lea ecx, [ebp - 0x31384]
call fcn.00403900
mov ebx, 7
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x31384]
call fcn.00403130
mov ecx, eax
call fcn.004031b0
mov ecx, dword [ebp - 0x31384]
cmp dword [ecx - 4], 1
jle 0x42e8ec
mov eax, dword [ecx - 0xc]
push eax
lea ecx, [ebp - 0x31384]
call fcn.00401370
mov ecx, dword [ebp - 0x31384]
xor edx, edx
mov eax, ecx
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x480], 0
mov word [ebp - 0x490], dx
lea edi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e910
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x490]
call fcn.004037c0
mov byte [ebp - 4], 8
push 2
xor eax, eax
xor edi, edi
push 0x58e138
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x448], edi
mov word [ebp - 0x458], ax
call fcn.004037c0
mov byte [ebp - 4], 9
xor ecx, ecx
push edi
mov word [ebp - 0x4ac], cx
push 0x58df78
lea ecx, [ebp - 0x4ac]
mov dword [ebp - 0x498], ebx
mov dword [ebp - 0x49c], edi
call fcn.004037c0
mov byte [ebp - 4], 0xa
push edi
xor edx, edx
push 0x58df78
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x464], edi
mov word [ebp - 0x474], dx
call fcn.004037c0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x444], 8
mov eax, dword [ebp - 0x458]
jae 0x42e9c6
lea eax, [ebp - 0x458]
mov ecx, dword [ebp - 0x448]
push ecx
push 0
push eax
lea ecx, [ebp - 0x490]
call fcn.00401810
mov edi, eax
push edi
push 0
lea edx, [ebp - 0x43c]
push edx
lea ecx, [ebp - 0x490]
call fcn.00403b40
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x4ac]
call fcn.00403c40
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x428], 8
jb 0x42ea1e
mov eax, dword [ebp - 0x43c]
push eax
call fcn.0043f967
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.00403b40
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x474]
call fcn.00403c40
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x428], 8
jb 0x42ea7e
mov eax, dword [ebp - 0x43c]
push eax
call fcn.0043f967
add esp, 4
xor edi, edi
xor ecx, ecx
push edi
mov word [ebp - 0x43c], cx
xor edx, edx
push 0x58df78
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.004037c0
mov byte [ebp - 4], 0xe
push edi
xor eax, eax
push 0x58df78
lea ecx, [ebp - 0x4e4]
mov dword [ebp - 0x4d0], ebx
mov dword [ebp - 0x4d4], edi
mov word [ebp - 0x4e4], ax
call fcn.004037c0
mov byte [ebp - 4], 0xf
xor ecx, ecx
push 1
mov word [ebp - 0x500], cx
push 0x590d50
lea ecx, [ebp - 0x500]
mov dword [ebp - 0x4ec], ebx
mov dword [ebp - 0x4f0], edi
call fcn.004037c0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x4ec], 8
mov eax, dword [ebp - 0x500]
jae 0x42eb29
lea eax, [ebp - 0x500]
mov edx, dword [ebp - 0x4f0]
push edx
push 0
push eax
lea ecx, [ebp - 0x474]
call fcn.00401810
mov edi, eax
push edi
push 0
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x474]
call fcn.00403b40
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x4c8]
call fcn.00403c40
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x428], 8
jb 0x42eb81
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.0043f967
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.00403b40
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x4e4]
call fcn.00403c40
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x428], 8
jb 0x42ebe1
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.0043f967
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.00542f3a
add esp, 8
test eax, eax
jne 0x42ec16
or edi, 0xffffffff
mov eax, edi
jmp 0x42ec21
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.00405910
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x31388]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ec5f
push eax
mov eax, dword [ebp - 0x31388]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42ee2c
mov ecx, dword [ebp - 0x31374]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
jne 0x42efd2
mov edx, dword [ebp - 0x31374]
cmp dword [edx - 0xc], 0
je 0x42eee4
cmp dword [ebp - 0x4b8], 0
je 0x42eee4
cmp dword [ebp - 0x4d4], 0
je 0x42eee4
mov ecx, esi
call fcn.004229b0
test eax, eax
je 0x42ee19
push 0x58df78
lea ecx, [ebp - 0x538]
call fcn.00403ac0
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 0x42ece9
push 0
lea ecx, [ebp - 0x31374]
call fcn.004019c0
mov edx, dword [ebp - 0x31374]
push edx
lea ecx, [ebp - 0x51c]
call fcn.00403ac0
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x498], 8
mov eax, dword [ebp - 0x4ac]
jae 0x42ed0e
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00403ac0
mov bl, 0x1a
mov byte [ebp - 4], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push 0x58df78
call fcn.00403ac0
mov byte [ebp - 4], 0x1b
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
mov byte [ebp - 4], bl
call fcn.00417b10
add esp, 0x30
mov dword [esi + 0x78], eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x43c]
call fcn.004027c0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x51c]
call fcn.004027c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x538]
call fcn.004027c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x31388]
call fcn.00401f60
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x500]
call fcn.004027c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4e4]
call fcn.004027c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4c8]
call fcn.004027c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x474]
call fcn.004027c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4ac]
call fcn.004027c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x458]
call fcn.004027c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x490]
call fcn.004027c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x31384]
call fcn.00401f60
jmp 0x42f896
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.00401f60
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x500]
call fcn.004027c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4e4]
call fcn.004027c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4c8]
call fcn.004027c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x474]
call fcn.004027c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4ac]
call fcn.004027c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x458]
call fcn.004027c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x490]
call fcn.004027c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x31384]
call fcn.00401f60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x31394]
call fcn.00401f60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x31370]
call fcn.0043cda0
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x31374]
call fcn.00401f60
jmp 0x42fc82
push 0x58df78
lea ecx, [ebp - 0x31380]
call fcn.00403d90
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.00567cd2
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x31378]
push edx
mov byte [ebp - 4], bl
call fcn.00571a50
add esp, 0xc
mov byte [ebp - 4], 0x16
mov eax, dword [eax]
test eax, eax
je 0x42ef37
add eax, 0xc
jmp 0x42ef3c
mov eax, 0x58df78
push eax
lea ecx, [ebp - 0x31380]
call fcn.004039b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x31378]
call fcn.00567cb8
lea eax, [ebp - 0x31378]
push eax
mov ecx, 0x5fc290
call fcn.00407370
mov byte [ebp - 4], 0x17
mov ecx, dword [eax]
test ecx, ecx
je 0x42ef76
add ecx, 0xc
jmp 0x42ef7b
mov ecx, 0x58df78
mov eax, dword [ebp - 0x3138c]
test eax, eax
je 0x42ef88
mov eax, dword [eax + 0x20]
push 0x40
push ecx
mov ecx, dword [ebp - 0x31380]
push ecx
push eax
mov ecx, 0x5fc290
call fcn.00409a40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x31378]
call fcn.00567cb8
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.00401f60
jmp 0x42ee2c
cmp dword [ebp - 0x4b4], 8
mov eax, dword [ebp - 0x4c8]
jae 0x42efe7
lea eax, [ebp - 0x4c8]
push ecx
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push eax
call fcn.00403d90
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x31374]
push ecx
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x31378], esp
push eax
mov dword [ebp - 0x31380], edi
call fcn.00401a20
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x13
mov ecx, esi
call fcn.00425d10
test eax, eax
je 0x42f310
mov eax, dword [ebp - 0x31374]
cmp dword [eax - 0xc], 0
je 0x42f221
cmp dword [ebp - 0x4b8], 0
je 0x42f221
cmp dword [ebp - 0x4d4], 0
je 0x42f221
mov ecx, esi
call fcn.004229b0
test eax, eax
je 0x42f152
push 0x58df78
lea ecx, [ebp - 0x43c]
call fcn.00403ac0
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x31374]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42f0ac
push 0
lea ecx, [ebp - 0x31374]
call fcn.004019c0
mov edx, dword [ebp - 0x31374]
push edx
lea ecx, [ebp - 0x51c]
call fcn.00403ac0
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0x498], 8
mov eax, dword [ebp - 0x4ac]
jae 0x42f0d1
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x538]
call fcn.00403ac0
mov bl, 0x25
mov byte [ebp - 4], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push 0x58df78
call fcn.00403ac0
mov byte [ebp - 4], 0x26
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
mov byte [ebp - 4], bl
call fcn.00417b10
add esp, 0x30
mov dword [esi + 0x78], eax
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x538]
call fcn.004027c0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x51c]
call fcn.004027c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x43c]
call fcn.004027c0
jmp 0x42f165
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.00401f60
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x500]
call fcn.004027c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4e4]
call fcn.004027c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4c8]
call fcn.004027c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x474]
call fcn.004027c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4ac]
call fcn.004027c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x458]
call fcn.004027c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x490]
call fcn.004027c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x31384]
call fcn.00401f60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x31394]
call fcn.00401f60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x31370]
call fcn.0043cda0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31374]
call fcn.00401f60
jmp 0x42fc82
push 0x58df78
lea ecx, [ebp - 0x31380]
call fcn.00403d90
mov bl, 0x1f
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.00567cd2
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x31378]
push eax
mov byte [ebp - 4], bl
call fcn.00571a50
add esp, 0xc
mov byte [ebp - 4], 0x21
mov eax, dword [eax]
test eax, eax
je 0x42f275
add eax, 0xc
jmp 0x42f27a
mov eax, 0x58df78
push eax
lea ecx, [ebp - 0x31380]
call fcn.004039b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x31378]
call fcn.00567cb8
lea ecx, [ebp - 0x31378]
push ecx
mov ecx, 0x5fc290
call fcn.00407370
mov byte [ebp - 4], 0x22
mov ecx, dword [eax]
test ecx, ecx
je 0x42f2b4
add ecx, 0xc
jmp 0x42f2b9
mov ecx, 0x58df78
mov eax, dword [ebp - 0x3138c]
test eax, eax
je 0x42f2c6
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x31380]
push 0x40
push ecx
push edx
push eax
mov ecx, 0x5fc290
call fcn.00409a40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x31378]
call fcn.00567cb8
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.00401f60
jmp 0x42f165
call fcn.0044dab2
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x31378]
push ecx
mov ecx, eax
call fcn.00407370
mov byte [ebp - 4], 0x27
push 0x58df78
lea ecx, [ebp - 0x31380]
call fcn.00403d90
mov byte [ebp - 4], 0x28
push 0x2a55
push ecx
mov ecx, esp
mov dword [ebp - 0x31390], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.00567cd2
mov byte [ebp - 4], 0x29
lea edx, [ebp - 0x3137c]
push edx
mov byte [ebp - 4], 0x28
call fcn.00571a50
add esp, 0xc
mov byte [ebp - 4], 0x2a
mov eax, dword [eax]
test eax, eax
je 0x42f37e
add eax, 0xc
jmp 0x42f383
mov eax, 0x58df78
push eax
lea ecx, [ebp - 0x31380]
call fcn.004039b0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x3137c]
call fcn.00567cb8
mov eax, dword [ebp - 0x4e4]
mov ebx, 8
cmp dword [ebp - 0x4d0], ebx
jae 0x42f3b7
lea eax, [ebp - 0x4e4]
push ecx
mov ecx, esp
mov dword [ebp - 0x31390], esp
push eax
call fcn.00403d90
mov byte [ebp - 4], 0x2b
push ecx
lea eax, [ebp - 0x31374]
mov ecx, esp
mov dword [ebp - 0x3137c], esp
push eax
call fcn.004025f0
mov byte [ebp - 4], 0x2c
mov byte [ebp - 4], 0x28
mov ecx, esi
call fcn.00425af0
test eax, eax
je 0x42f66c
mov eax, dword [ebp - 0x31378]
lea ecx, [eax + 0xc]
test eax, eax
jne 0x42f408
mov ecx, 0x58df78
mov edi, dword [ebp - 0x3138c]
test edi, edi
jne 0x42f416
xor eax, eax
jmp 0x42f419
mov eax, dword [edi + 0x20]
push 4
push ecx
mov ecx, dword [ebp - 0x31380]
push ecx
push eax
mov ecx, 0x5fc290
call fcn.00409a40
cmp eax, 6
jne 0x42f650
mov edx, dword [ebp - 0x31374]
cmp dword [edx - 0xc], 0
je 0x42f545
cmp dword [ebp - 0x4b8], 0
je 0x42f545
cmp dword [ebp - 0x4d4], 0
je 0x42f545
push 0x58df78
lea ecx, [ebp - 0x43c]
call fcn.00403ac0
mov byte [ebp - 4], 0x31
mov edx, dword [ebp - 0x31374]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42f49d
push 0
lea ecx, [ebp - 0x31374]
call fcn.004019c0
mov edx, dword [ebp - 0x31374]
push edx
lea ecx, [ebp - 0x51c]
call fcn.00403ac0
mov byte [ebp - 4], 0x32
mov eax, dword [ebp - 0x4ac]
cmp dword [ebp - 0x498], ebx
jae 0x42f4c1
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x538]
call fcn.00403ac0
mov bl, 0x33
mov byte [ebp - 4], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x31390], esp
push 0x58df78
call fcn.00403ac0
mov byte [ebp - 4], 0x34
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
mov byte [ebp - 4], bl
call fcn.00417b10
add esp, 0x30
mov dword [esi + 0x78], eax
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x538]
call fcn.004027c0
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x51c]
call fcn.004027c0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x43c]
call fcn.004027c0
jmp 0x42f62d
push 0x58df78
lea ecx, [ebp - 0x3138c]
call fcn.00403d90
mov bl, 0x2d
mov byte [ebp - 4], bl
push 0x2a57
push ecx
mov ecx, esp
mov dword [ebp - 0x31390], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.00567cd2
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x3137c]
push ecx
mov byte [ebp - 4], bl
call fcn.00571a50
add esp, 0xc
mov byte [ebp - 4], 0x2f
mov eax, dword [eax]
test eax, eax
je 0x42f599
add eax, 0xc
jmp 0x42f59e
mov eax, 0x58df78
push eax
lea ecx, [ebp - 0x3138c]
call fcn.004039b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3137c]
call fcn.00567cb8
lea edx, [ebp - 0x3137c]
push edx
mov ecx, 0x5fc290
call fcn.00407370
mov byte [ebp - 4], 0x30
mov ecx, dword [eax]
test ecx, ecx
je 0x42f5d8
add ecx, 0xc
jmp 0x42f5dd
mov ecx, 0x58df78
test edi, edi
jne 0x42f5e5
xor eax, eax
jmp 0x42f5e8
mov eax, dword [edi + 0x20]
push 0x40
push ecx
mov ecx, dword [ebp - 0x3138c]
push ecx
push eax
mov ecx, 0x5fc290
call fcn.00409a40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3137c]
call fcn.00567cb8
mov edx, dword [esi + 8]
push 0
push 0
push 0x417
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x3138c]
call fcn.00401f60
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x31380]
call fcn.00401f60
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x31378]
call fcn.00567cb8
jmp 0x42f165
mov ecx, esi
call fcn.004261b0
mov eax, dword [esi + 8]
push 0
push 0
push 0x417
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42f62d
mov ecx, esi
call fcn.004261b0
mov ecx, dword [esi + 8]
push 0
push 0
push 0x417
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42f62d
push ecx
mov ebx, esp
cmp eax, 1
mov eax, dword [ebp - 0x31374]
mov dword [ebp - 0x31390], esp
mov dword [ebp - 0x3137c], ebx
jne 0x42f768
add eax, 0xfffffff0
push eax
call fcn.00401a20
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov byte [ebp - 4], 0x36
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00425f30
test eax, eax
je 0x42f87c
push 0x58df78
lea ecx, [ebp - 0x31378]
call fcn.00403d90
mov bl, 0x37
mov byte [ebp - 4], bl
push 0x2a57
push ecx
mov ecx, esp
mov dword [ebp - 0x31390], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.00567cd2
mov byte [ebp - 4], 0x38
lea edx, [ebp - 0x3137c]
push edx
mov byte [ebp - 4], bl
call fcn.00571a50
add esp, 0xc
mov byte [ebp - 4], 0x39
mov eax, dword [eax]
test eax, eax
je 0x42f722
add eax, 0xc
jmp 0x42f727
mov eax, 0x58df78
push eax
lea ecx, [ebp - 0x31378]
call fcn.004039b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3137c]
call fcn.00567cb8
lea eax, [ebp - 0x3137c]
push eax
mov ecx, 0x5fc290
call fcn.00407370
mov byte [ebp - 4], 0x3a
mov eax, dword [eax]
test eax, eax
je 0x42f823
add eax, 0xc
jmp 0x42f828
add eax, 0xfffffff0
push eax
call fcn.00401a20
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov byte [ebp - 4], 0x3c
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00425f30
test eax, eax
je 0x42f87c
push 0x58df78
lea ecx, [ebp - 0x31378]
call fcn.00403d90
mov bl, 0x3d
mov byte [ebp - 4], bl
push 0x2a5e
push ecx
mov ecx, esp
mov dword [ebp - 0x31390], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.00567cd2
mov byte [ebp - 4], 0x3e
lea edx, [ebp - 0x3137c]
push edx
mov byte [ebp - 4], bl
call fcn.00571a50
add esp, 0xc
mov byte [ebp - 4], 0x3f
mov eax, dword [eax]
test eax, eax
je 0x42f7e4
add eax, 0xc
jmp 0x42f7e9
mov eax, 0x58df78
push eax
lea ecx, [ebp - 0x31378]
call fcn.004039b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3137c]
call fcn.00567cb8
lea eax, [ebp - 0x3137c]
push eax
mov ecx, 0x5fc290
call fcn.00407370
mov byte [ebp - 4], 0x40
mov eax, dword [eax]
test eax, eax
je 0x42f823
add eax, 0xc
jmp 0x42f828
mov eax, 0x58df78
mov ecx, dword [ebp - 0x3138c]
test ecx, ecx
je 0x42f835
mov ecx, dword [ecx + 0x20]
mov edx, dword [ebp - 0x31378]
push 0x40
push eax
push edx
push ecx
mov ecx, 0x5fc290
call fcn.00409a40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3137c]
call fcn.00567cb8
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.00401f60
jmp 0x42f896
mov ecx, esi
call fcn.004261b0
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 - 0x31394]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f8bc
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.0043cda0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x31374]
jmp 0x42fc66
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esi + 8]
push 0
push 0x28
push 0x415
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00542dc0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00440a7e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f93c
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 - 0x31378], eax
mov dword [ebp - 4], 0x44
lea ecx, [ebp - 0x420]
push ecx
push 0
push 0x592f0c
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f980
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x31378]
call fcn.00402a10
lea ecx, [ebp - 0x313b4]
call fcn.00441ea7
mov byte [ebp - 4], 0x45
push 0x58df78
lea ecx, [ebp - 0x31398]
call fcn.00403d90
mov bl, 0x46
mov byte [ebp - 4], bl
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 - 0x31398]
cmp eax, 8
jne 0x42fa00
push str.http:__cn_request.foxitservice.com_addons
jmp 0x42fa05
push str.http:__us_request.foxitservice.com_addons
call fcn.00402a10
cmp dword [edi + 0x14], 0x10
jb 0x42fa14
mov eax, dword [edi]
jmp 0x42fa16
mov eax, edi
push ecx
mov ecx, esp
mov dword [ebp - 0x31390], esp
push 0xffffffffffffffff
push eax
call fcn.00567cd2
mov byte [ebp - 4], 0x47
lea edx, [ebp - 0x3139c]
push edx
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.0042b4e0
mov byte [ebp - 4], 0x48
mov eax, dword [ebp - 0x3139c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x31398]
call fcn.004066d0
xor ebx, ebx
push ebx
xor eax, eax
mov edi, 7
push 0x58df78
lea ecx, [ebp - 0x458]
mov dword [esi + 0x80], 1
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x448], ebx
mov word [ebp - 0x458], ax
call fcn.004037c0
mov byte [ebp - 4], 0x49
mov edx, dword [ebp - 0x31378]
xor ecx, ecx
mov eax, edx
mov word [ebp - 0x474], cx
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x464], ebx
lea ecx, [eax + 2]
mov bx, word [eax]
add eax, 2
test bx, bx
jne 0x42fab1
sub eax, ecx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x474]
call fcn.004037c0
mov byte [ebp - 4], 0x4a
mov ecx, dword [ebp - 0x31398]
xor edx, edx
mov eax, ecx
mov word [ebp - 0x490], dx
mov dword [ebp - 0x47c], edi
mov dword [ebp - 0x480], 0
lea edx, [eax + 2]
mov bx, word [eax]
add eax, 2
test bx, bx
jne 0x42faf5
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x490]
call fcn.004037c0
mov bl, 0x4b
mov byte [ebp - 4], bl
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ebp - 0x31390], esp
push eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], 0
push 0x58df78
mov word [ecx], ax
call fcn.004037c0
mov byte [ebp - 4], 0x4c
mov edx, dword [esi + 8]
lea ecx, [ebp - 0x458]
push ecx
push edx
push esi
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x490]
push ecx
mov byte [ebp - 4], bl
call fcn.00417b10
add esp, 0x30
mov dword [esi + 0x78], eax
mov byte [ebp - 4], 0x4a
mov esi, 8
cmp dword [ebp - 0x47c], esi
jb 0x42fb87
mov edx, dword [ebp - 0x490]
push edx
call fcn.0043f967
add esp, 4
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x47c], edi
mov dword [ebp - 0x480], ebx
mov word [ebp - 0x490], ax
mov byte [ebp - 4], 0x49
cmp dword [ebp - 0x460], esi
jb 0x42fbb9
mov ecx, dword [ebp - 0x474]
push ecx
call fcn.0043f967
add esp, 4
xor edx, edx
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x464], ebx
mov word [ebp - 0x474], dx
mov byte [ebp - 4], 0x48
cmp dword [ebp - 0x444], esi
jb 0x42fbe9
mov eax, dword [ebp - 0x458]
push eax
call fcn.0043f967
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x448], ebx
mov word [ebp - 0x458], cx
mov byte [ebp - 4], 0x46
mov eax, dword [ebp - 0x3139c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42fc24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x45
mov eax, dword [ebp - 0x31398]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0x313b4]
call fcn.004421f8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x31378]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc82
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.00542c3e
mov esp, ebp
pop ebp
ret 4